Skip to content

Commit c321537

Browse files
committed
CS: Apply ternary_to_null_coalescing fixer
1 parent d44fbb0 commit c321537

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
@@ -1134,7 +1134,7 @@ private function relativize(string $xpath): string
11341134
*/
11351135
public function getNode($position)
11361136
{
1137-
return isset($this->nodes[$position]) ? $this->nodes[$position] : null;
1137+
return $this->nodes[$position] ?? null;
11381138
}
11391139

11401140
/**

0 commit comments

Comments
 (0)