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.
isList
1 parent 51b0967 commit a8bbf05Copy full SHA for a8bbf05
app/Arr.php
@@ -28,6 +28,11 @@ final private function __construct()
28
* starting from 0 and increasing by 1 for each element).
29
*
30
* @param array<mixed> $array
31
+ *
32
+ * @phpstan-assert-if-true list<mixed> $array
33
+ * @phpstan-assert-if-false list<mixed> $array
34
+ * @psalm-assert-if-true array<string,mixed> $array
35
+ * @psalm-assert-if-false array<string,mixed> $array
36
*/
37
public static function isList(array $array): bool
38
{
0 commit comments