Skip to content

Commit 8a745b1

Browse files
committed
Add @phpstan-assert-if-true
1 parent 5aedd89 commit 8a745b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ScalarValues.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class ScalarValues
1717
{
1818
/**
1919
* @param array<mixed> $array
20+
*
21+
* @phpstan-assert-if-true array<scalar> $array
2022
*/
2123
public static function containsOnlyScalarValues(array $array): bool
2224
{

0 commit comments

Comments
 (0)