Skip to content

Commit 49ebbf2

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: CS: Apply ternary_to_null_coalescing fixer
2 parents ee7cf31 + c321537 commit 49ebbf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Crawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ private function relativize(string $xpath): string
10741074
*/
10751075
public function getNode(int $position)
10761076
{
1077-
return isset($this->nodes[$position]) ? $this->nodes[$position] : null;
1077+
return $this->nodes[$position] ?? null;
10781078
}
10791079

10801080
/**

0 commit comments

Comments
 (0)