-
Notifications
You must be signed in to change notification settings - Fork 16
IBX-4929: ChangeOwnerLimitationMapper: Fix phpDoc #685
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Kudos, SonarCloud Quality Gate passed!
|
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.
Looks like a base branch has a different branch-alias than PR.
Pull Request: 4.4.x-dev
Base branch: 4.5.x-dev
Fix ChangeOwnerLimitationMapper::getSelectionChoices phpDoc Unable to parse file "vendor/ibexa/admin-ui/src/lib/Limitation/Mapper/ChangeOwnerLimitationMapper.php", an error was detected: An array can have only integers or strings as keys When used as key, `null` is casted to an empty string. `ChangeOwnerLimitation::LIMITATION_VALUE_SELF` should never be `null`.
8805316
to
e087df9
Compare
@mikadamczyk I rebased on |
Kudos, SonarCloud Quality Gate passed!
|
Fix ChangeOwnerLimitationMapper::getSelectionChoices phpDoc by removing the possibility for the key to be
null
.From phpDocumentor v3.3.1:
Unable to parse file "vendor/ibexa/admin-ui/src/lib/Limitation/Mapper/ChangeOwnerLimitationMapper.php", an error was detected: An array can have only integers or strings as keys
null
is casted to an empty string so it can't be a key.ChangeOwnerLimitation::LIMITATION_VALUE_SELF
should never benull
.Checklist:
$ composer fix-cs
)