@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | return tap( |
| 24 | 24 | static::getForUrl(app('request')->getUri()), |
| 25 | - function ($id) { |
|
| 25 | + function($id) { |
|
| 26 | 26 | app()->instance(static::IDENTIFIER_KEY, $id); |
| 27 | 27 | } |
| 28 | 28 | ); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $pattern = '#^https?://'.preg_quote($root, '#').'([\?/].*)?$#'; |
| 54 | 54 | if (preg_match($pattern, $url)) { |
| 55 | 55 | $len = strlen($root); |
| 56 | - if (! isset($length) || $length < $len) { |
|
| 56 | + if (!isset($length) || $length < $len) { |
|
| 57 | 57 | $length = $len; |
| 58 | 58 | $identifier = $id; |
| 59 | 59 | } |