Skip to content

Commit

Permalink
Linter must not return null when type is void
Browse files Browse the repository at this point in the history
  • Loading branch information
ralflang committed Nov 8, 2023
1 parent 6ddc5d8 commit 4ea0535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Component/DependencyList.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function next(): void
{
$res = next($this->_dependencies);
if ($res === false) {
return null;
return;
}
}

Expand Down

0 comments on commit 4ea0535

Please sign in to comment.