Skip to content

Commit d5112f7

Browse files
committed
Php Inspections (EA Ultimate): address some of one-time used local variables
1 parent 5ca496b commit d5112f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Crawler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,8 +1039,6 @@ private function findNamespacePrefixes($xpath)
10391039
*/
10401040
private function createSubCrawler($nodes)
10411041
{
1042-
$crawler = new static($nodes, $this->uri, $this->baseHref);
1043-
1044-
return $crawler;
1042+
return new static($nodes, $this->uri, $this->baseHref);
10451043
}
10461044
}

0 commit comments

Comments
 (0)