Skip to content

Commit

Permalink
Update src/Tree/Entity/Repository/NestedTreeRepository.php
Browse files Browse the repository at this point in the history
Co-authored-by: Javier Spagnoletti <[email protected]>
  • Loading branch information
Jean-Beru and phansys authored Jul 31, 2023
1 parent 079cec2 commit 93f0f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tree/Entity/Repository/NestedTreeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ public function getNextNodesQueryBuilder($root, $node = null, ?int $limit = null
;
}
} else {
throw new InvalidArgumentException('Invalid traversal strategy.');
throw new InvalidArgumentException(\sprintf('Invalid traversal strategy "%s".', $traversalStrategy));
}

if (null !== $limit) {
Expand Down

0 comments on commit 93f0f2c

Please sign in to comment.