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);