Skip to content

Commit 759bd12

Browse files
committed
Rector changes after merge
1 parent a23dbb4 commit 759bd12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Iterator/NestIterator.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function hasChildren(): bool
7272
$children = $property($this->current());
7373

7474
if (is_array($children)) {
75-
return !empty($children);
75+
return $children !== [];
7676
}
7777

7878
return $children instanceof Traversable;

0 commit comments

Comments
 (0)