@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | |
21 | 21 | public function __construct() |
22 | 22 | { |
23 | - if (! extension_loaded('simplexml') || config('testing.mock_disabled_extensions', false) === true) { |
|
23 | + if (!extension_loaded('simplexml') || config('testing.mock_disabled_extensions', false) === true) { |
|
24 | 24 | throw new \Exception('The ext-simplexml extension is not installed, but is required to generate RSS feeds.'); |
25 | 25 | } |
26 | 26 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | |
106 | 106 | protected static function xmlEscape(string $string): string |
107 | 107 | { |
108 | - return htmlspecialchars($string, ENT_XML1 | ENT_COMPAT, 'UTF-8'); |
|
108 | + return htmlspecialchars($string, ENT_XML1|ENT_COMPAT, 'UTF-8'); |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | public static function getDescription(): string |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | public function __construct() |
27 | 27 | { |
28 | - if (! extension_loaded('simplexml') || config('testing.mock_disabled_extensions', false) === true) { |
|
28 | + if (!extension_loaded('simplexml') || config('testing.mock_disabled_extensions', false) === true) { |
|
29 | 29 | throw new \Exception('The ext-simplexml extension is not installed, but is required to generate RSS feeds.'); |
30 | 30 | } |
31 | 31 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | public function generate(): static |
39 | 39 | { |
40 | - Route::all()->each(function ($route) { |
|
40 | + Route::all()->each(function($route) { |
|
41 | 41 | $this->addRoute($route); |
42 | 42 | }); |
43 | 43 |