Skip to content

Commit

Permalink
qa: remove redundant check as !empty already ensures that key doe…
Browse files Browse the repository at this point in the history
…s not return `null`

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Oct 17, 2022
1 parent 7f35bff commit eb6bbfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/TypeReconciliation/EmptyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ function contains(array $data, array $needle): bool {
while (!empty($needle)) {
$key = key($needle);
if ($key === null) continue;
$val = $needle[$key];
unset($needle[$key]);
Expand Down

0 comments on commit eb6bbfb

Please sign in to comment.