From e0ce970b58f9dd778aa34416733165ef0299fdef Mon Sep 17 00:00:00 2001 From: Zach Zeller <119019778+Zachzeller37@users.noreply.github.com> Date: Thu, 26 Jan 2023 14:18:08 -0600 Subject: [PATCH] typo fix --- src/NodeTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NodeTrait.php b/src/NodeTrait.php index 0b985ab..82d551c 100644 --- a/src/NodeTrait.php +++ b/src/NodeTrait.php @@ -1179,7 +1179,7 @@ protected function assertNotDescendant(self $node) protected function assertNodeExists(self $node) { if ( ! $node->getLft() || ! $node->getRgt()) { - throw new LogicException('Node must exists.'); + throw new LogicException('Node must exist.'); } return $this;