Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after review: fix deprecated functions #4566

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

bozana
Copy link
Contributor

@bozana bozana commented Dec 19, 2024

s. pkp/pkp-lib#10653

additionally fixed getStoredPubId() calls on submission object -- it should be publication

@bozana
Copy link
Contributor Author

bozana commented Dec 19, 2024

Hi @kaitlinnewson, could you please take a look at this PR -- today I found and hopefully fixed a few more things...
Thanks a lot!

@kaitlinnewson kaitlinnewson self-requested a review December 23, 2024 15:55
Copy link
Member

@kaitlinnewson kaitlinnewson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment to address, otherwise looks good!

*/
public function createCreatorsNode($doc, $issue, $publication, $galley, $galleyFile, $publisher, $objectLocalePrecedence)
public function createCreatorsNode(DOMDocument $doc, Issue $issue, Publication $publication, Galley $galley, SubmissionFile $galleyFile, string $publisher, array $objectLocalePrecedence): DOMNode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In testing I encountered many cases of Argument #4 ($galley) must be of type PKP\galley\Galley, null given (and same for SubmissionFile) - should these be adjusted to take null values as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants