app/Handlers/GoogleInfoBoxHandler.php
Showing 4 of 4 total issues
The method getText() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. Open
Open
private function getText(Crawler $node) { return $node->filter('._o0d')->each(function ($div) { $left = $right = "";
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid using undefined variables such as '$result' which will lead to PHP notices. Open
Open
$result['images'] = $this->getImages($block);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid using undefined variables such as '$result' which will lead to PHP notices. Open
Open
return $result;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid using undefined variables such as '$result' which will lead to PHP notices. Open
Open
$result['message'] = implode("\n", $this->tuning($message));
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks