We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7ecc9 commit 7bc9162Copy full SHA for 7bc9162
system/BaseModel.php
@@ -785,9 +785,10 @@ public function getInsertID()
785
* Validates that the primary key values are valid for update/delete/insert operations.
786
* Throws exception if invalid.
787
*
788
- * @param bool $allowArray Whether to allow array of IDs (true for update/delete, false for insert)
+ * @param bool $allowArray Whether to allow array of IDs (true for update/delete, false for insert)
789
+ *
790
* @phpstan-assert non-zero-int|non-empty-list<int|string>|RawSql|non-falsy-string $id
- * @throws InvalidArgumentException
791
+ * @throws InvalidArgumentException
792
*/
793
protected function validateID(mixed $id, bool $allowArray = true): void
794
{
0 commit comments