@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use KrzysiekPiasecki\BurzeDzisNet\BurzeDzisNet; |
| 11 | 11 | use KrzysiekPiasecki\BurzeDzisNet\Endpoint; |
| 12 | 12 | use Symfony\Component\Console\Application; |
| 13 | -use Symfony\Component\Console\Input\InputInterface; |
|
| 14 | 13 | |
| 15 | 14 | /** |
| 16 | 15 | * BurzeDzisNet CLI application |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace KrzysiekPiasecki\BurzeDzisNet\CLI; |
| 13 | 13 | |
| 14 | -use KrzysiekPiasecki\BurzeDzisNet\Point; |
|
| 15 | 14 | use Symfony\Component\Console\Command\Command; |
| 16 | 15 | use Symfony\Component\Console\Input\InputArgument; |
| 17 | 16 | use Symfony\Component\Console\Input\InputInterface; |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | ); |
| 79 | 79 | |
| 80 | 80 | } |
| 81 | - } catch(Throwable $e) { |
|
| 81 | + } catch (Throwable $e) { |
|
| 82 | 82 | var_dump($e->getMessage()); |
| 83 | 83 | $output->writeln( |
| 84 | 84 | '<error>Runtime exception</error>' |
@@ -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 | } |