@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | { |
| 57 | 57 | $apiKey = config('open-weather.api_token'); |
| 58 | 58 | |
| 59 | - if (! is_string($apiKey) || empty($apiKey)) { |
|
| 59 | + if (!is_string($apiKey) || empty($apiKey)) { |
|
| 60 | 60 | throw new \InvalidArgumentException('You must provide valid API key.'); |
| 61 | 61 | } |
| 62 | 62 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @param \Illuminate\Config\Repository|\Illuminate\Contracts\Foundation\Application|mixed $unitType |
| 94 | 94 | */ |
| 95 | 95 | public |
| 96 | - function setUnitType( $unitType ) |
|
| 96 | + function setUnitType($unitType) |
|
| 97 | 97 | : void |
| 98 | 98 | { |
| 99 | 99 | $this->unitType = $unitType; |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @param \Illuminate\Config\Repository|\Illuminate\Contracts\Foundation\Application|mixed $language |
| 104 | 104 | */ |
| 105 | 105 | public |
| 106 | - function setLanguage( $language ) |
|
| 106 | + function setLanguage($language) |
|
| 107 | 107 | : void |
| 108 | 108 | { |
| 109 | 109 | $this->language = $language; |