Skip to content

Commit 59ef90c

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: CS: Apply ternary_to_null_coalescing fixer
2 parents 2cf8ab6 + 49ebbf2 commit 59ef90c

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
@@ -1083,7 +1083,7 @@ private function relativize(string $xpath): string
10831083
*/
10841084
public function getNode(int $position)
10851085
{
1086-
return isset($this->nodes[$position]) ? $this->nodes[$position] : null;
1086+
return $this->nodes[$position] ?? null;
10871087
}
10881088

10891089
/**

0 commit comments

Comments
 (0)