Skip to content

Commit

Permalink
false => null
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Apr 9, 2019
1 parent fcf1b00 commit c3564a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/Doctrine/Common/Collections/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function toArray();
*
* @return mixed
*
* @psalm-return T|false
* @psalm-return T|null
*/
public function first();

Expand All @@ -171,7 +171,7 @@ public function first();
*
* @return mixed
*
* @psalm-return T|false
* @psalm-return T|null
*/
public function last();

Expand All @@ -189,7 +189,7 @@ public function key();
*
* @return mixed
*
* @psalm-return T|false
* @psalm-return T|null
*/
public function current();

Expand All @@ -198,7 +198,7 @@ public function current();
*
* @return mixed
*
* @psalm-return T|false
* @psalm-return T|null
*/
public function next();

Expand Down Expand Up @@ -271,10 +271,10 @@ public function partition(Closure $p);
*
* @param mixed $element The element to search for.
*
* @return int|string|bool The key/index of the element or FALSE if the element was not found.
* @return int|string|null The key/index of the element or NULL if the element was not found.
*
* @psalm-param T $element
* @psalm-return TKey|false
* @psalm-return TKey|null
*/
public function indexOf($element);

Expand Down

0 comments on commit c3564a6

Please sign in to comment.