[stable25] fix: expect interface, not a specific implementation #27741
Annotations
3 errors
lib/private/Files/Node/Node.php#L289
lib/private/Files/Node/Node.php:289:13: LessSpecificImplementedReturnType: The inherited return type 'OCP\Files\Folder' for OCP\Files\Node::getParent is more specific than the implemented return type for OC\Files\Node\Node::getparent 'OCP\Files\IRootFolder|OCP\Files\Node' (see https://psalm.dev/166)
|
lib/private/Files/Node/Root.php#L339
lib/private/Files/Node/Root.php:339:13: LessSpecificImplementedReturnType: The inherited return type 'OCP\Files\Folder' for OCP\Files\Node::getParent is more specific than the implemented return type for OC\Files\Node\Root::getparent 'OCP\Files\IRootFolder|OCP\Files\Node' (see https://psalm.dev/166)
|
|
The logs for this run have expired and are no longer available.
Loading