@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | public function __construct(WeatherAlert $alert = null) |
| 46 | 46 | { |
| 47 | - $this->alerts = ($alert != null) ? $alert->toArray() : []; |
|
| 47 | + $this->alerts = ($alert != null) ? $alert->toArray() : []; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * file that was distributed with this source code. |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -spl_autoload_register(function ($className) { |
|
| 8 | +spl_autoload_register(function($className) { |
|
| 9 | 9 | if (class_exists($className) === true) { |
| 10 | 10 | return; |
| 11 | 11 | } |