From 710049794fb59ad5e2b24034389868a371ad04d2 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 26 Jul 2023 11:54:49 +0000 Subject: [PATCH] Fixed typo that would cause things to fail. --- src/Users/ModNotes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Users/ModNotes.php b/src/Users/ModNotes.php index 289487b..c3927ae 100644 --- a/src/Users/ModNotes.php +++ b/src/Users/ModNotes.php @@ -149,7 +149,7 @@ class ModNotes { foreach($noteInfos as $noteInfo) { if($noteInfo instanceof ModNoteInfo) $noteInfo = $noteInfo->getId(); - elseif(!is_string($noteInfos)) + elseif(!is_string($noteInfo)) throw new InvalidArgumentException('$noteInfos must be strings of instances of ModNoteInfo'); $stmt->addParameter(++$args, $noteInfo);