Skip to content

Commit

Permalink
fixed mismatching psalm assert variables (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosprotung committed May 24, 2021
1 parent edf5ba8 commit 0a2149e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Psl/Class/defined.php
Expand Up @@ -11,7 +11,7 @@
*
* @param string $class_name
*
* @psalm-assert-if-true class-string $classname
* @psalm-assert-if-true class-string $class_name
*
* @pure
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Psl/Class/exists.php
Expand Up @@ -11,7 +11,7 @@
*
* @param string $class_name
*
* @psalm-assert-if-true class-string $classname
* @psalm-assert-if-true class-string $class_name
*/
function exists(string $class_name): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/Psl/Iter/is_empty.php
Expand Up @@ -7,7 +7,7 @@
/**
* Check whether an iterable is empty.
*
* @psalm-assert-if-true empty $value
* @psalm-assert-if-true empty $iterable
*/
function is_empty(iterable $iterable): bool
{
Expand Down

0 comments on commit 0a2149e

Please sign in to comment.