Skip to content

Commit fefb64e

Browse files
authored
Fix misleading docblocks (#33111)
1 parent d821e64 commit fefb64e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Collections/EnumeratesValues.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function where($key, $operator = null, $value = null)
518518
}
519519

520520
/**
521-
* Filter items where the given key is not null.
521+
* Filter items where the value for the given key is null.
522522
*
523523
* @param string|null $key
524524
* @return static
@@ -529,7 +529,7 @@ public function whereNull($key = null)
529529
}
530530

531531
/**
532-
* Filter items where the given key is null.
532+
* Filter items where the value for the given key is not null.
533533
*
534534
* @param string|null $key
535535
* @return static

0 commit comments

Comments
 (0)