You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This concerns the method updateNode of Nested strategy (src/Tree/Strategy/ORM/Nested.php).
According to the PHPDoc, we expect $parent parameter to be Node|object, but we accept/handle the case of a null parent inside this method.
This is problematic for PHPStan.
Could you please fix
Thank you
The text was updated successfully, but these errors were encountered:
dt-haithem-bouassida
changed the title
$parent parameter typing in updateNode method (Nested strategy)
[Tree] $parent parameter typing in updateNode method (Nested strategy)
Jun 11, 2024
dt-haithem-bouassida
changed the title
[Tree] $parent parameter typing in updateNode method (Nested strategy)
[Tree] parent parameter typing in updateNode method (Nested strategy)
Jun 11, 2024
Feature Request
This concerns the method
updateNode
ofNested strategy
(src/Tree/Strategy/ORM/Nested.php).According to the PHPDoc, we expect
$parent
parameter to beNode|object
, but we accept/handle the case of a null parent inside this method.This is problematic for PHPStan.
Could you please fix
Thank you
The text was updated successfully, but these errors were encountered: