@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Goose\Traits; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Goose\Traits; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Goose\Traits; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Goose\Utils; |
4 | 4 | |
@@ -22,12 +22,12 @@ discard block |
||
22 | 22 | $parts = parse_url($urlToCrawl); |
23 | 23 | |
24 | 24 | if ($parts === false) { |
25 | - throw new MalformedURLException($urlToCrawl . ' - is a malformed URL and cannot be processed'); |
|
25 | + throw new MalformedURLException($urlToCrawl.' - is a malformed URL and cannot be processed'); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | $prefix = isset($parts['query']) && $parts['query'] ? '&' : '?'; |
29 | 29 | |
30 | - $finalUrl = str_replace('#!', $prefix . '_escaped_fragment_=', $urlToCrawl); |
|
30 | + $finalUrl = str_replace('#!', $prefix.'_escaped_fragment_=', $urlToCrawl); |
|
31 | 31 | |
32 | 32 | return (object)[ |
33 | 33 | 'url' => $urlToCrawl, |