Skip to content

Commit

Permalink
Reverted PHPStan changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdmat committed Apr 24, 2024
1 parent 1faf439 commit feada61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Collection/AuditedCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,14 @@ public function containsKey($key)
}

/**
* @param string|int $key
*
* @return object
*
* @phpstan-return T
*/
#[\ReturnTypeWillChange]
public function get(mixed $key)
public function get($key)
{
return $this->offsetGet($key);
}
Expand Down

0 comments on commit feada61

Please sign in to comment.