-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-31118: Introduced strict types for ContentService #2866
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docblocks in eZ/Publish/API/Repository/ContentService.php
should be improved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from mentioned phpdocs inconsistencies.
PR updated according to @mikadamczyk code review suggestions. |
eZ/Publish/Core/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php
Outdated
Show resolved
Hide resolved
PR updated according to @alongosz code review suggestions. |
668285f
to
aaccb4f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error when editing/hiding content
Argument 1 passed to eZ\Publish\SPI\Repository\Decorator\ContentServiceDecorator::loadContentInfo() must be of the type int, string given, called in /home/vagrant/master/vendor/ezsystems/ezplatform-admin-ui/src/lib/Form/DataTransformer/ContentInfoTransformer.php on line 78
Adding translation:
Argument 1 passed to eZ\Publish\SPI\Repository\Decorator\ContentServiceDecorator::loadContent() must be of the type int, string given, called in /home/vagrant/master/vendor/ezsystems/ezplatform-admin-ui/src/lib/View/Filter/ContentTranslateViewFilter.php on line 100
aaccb4f
to
137d014
Compare
c4b9d02
to
cca42de
Compare
master
This PR introduces strict types for the
\eZ\Publish\API\Repository\ContentService
TODO:
$ composer fix-cs
).