Pretty simple fix here, but FlagServiceInterface::getFlagById($id) indicates that $id is an integer but it's actually expected to be a string.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | shameless-2943331-3.patch | 939 bytes | martin107 |
Pretty simple fix here, but FlagServiceInterface::getFlagById($id) indicates that $id is an integer but it's actually expected to be a string.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | shameless-2943331-3.patch | 939 bytes | martin107 |
Comments
Comment #2
rbayliss commentedComment #3
martin107 commentedYes I agree Id is string
In reviewing this patch I typed
phpcs --standard=Drupal src/FlagServiceInterface.php
... I want to fix another minor cs error.
I hope you don't mind me shamelessly expanding the scope of the issue.
Comment #4
rbayliss commentedLooks relevant to me.
Comment #5
socketwench commentedYep, agreed on both fixes.
Comment #7
socketwench commentedThanks!