@@ -40,7 +40,6 @@ |
||
| 40 | 40 | * @param HttpClientInterface $client |
| 41 | 41 | * @param UrlFactory $factory |
| 42 | 42 | * @param HandlerInterface $handler |
| 43 | - * @param \Marek\OpenWeatherMap\Denormalizer\DenormalizerInterface $hydrator |
|
| 44 | 43 | */ |
| 45 | 44 | public function __construct(HttpClientInterface $client, UrlFactory $factory, HandlerInterface $handler, DenormalizerInterface $denormalizer) |
| 46 | 45 | { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | return $this->name; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - return $this->name . ',' . (string) $this->code; |
|
| 58 | + return $this->name . ',' . (string)$this->code; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public function getGetParameterValue(): string |
| 38 | 38 | { |
| 39 | - return (string) $this->count; |
|
| 39 | + return (string)$this->count; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function getGetParameterValue(): string |
| 30 | 30 | { |
| 31 | - return (string) $this->cnt; |
|
| 31 | + return (string)$this->cnt; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
@@ -51,9 +51,9 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | public function getUriParameterValue(): string |
| 53 | 53 | { |
| 54 | - return (string) $this->latitude->getLatitude() . |
|
| 54 | + return (string)$this->latitude->getLatitude() . |
|
| 55 | 55 | ',' . |
| 56 | - (string) $this->longitude->getLongitude(); |
|
| 56 | + (string)$this->longitude->getLongitude(); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -36,10 +36,10 @@ |
||
| 36 | 36 | public function getGetParameterValue(): string |
| 37 | 37 | { |
| 38 | 38 | if (null === $this->countryCode) { |
| 39 | - return (string) $this->zip; |
|
| 39 | + return (string)$this->zip; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - return (string) $this->zip . ',' . $this->countryCode; |
|
| 42 | + return (string)$this->zip . ',' . $this->countryCode; |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public function getGetParameterValue(): string |
| 38 | 38 | { |
| 39 | - return (string) $this->cityId; |
|
| 39 | + return (string)$this->cityId; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
@@ -56,11 +56,11 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | public function getGetParameterValue(): string |
| 58 | 58 | { |
| 59 | - return (string) $this->longitudeLeft |
|
| 60 | - . ',' . (string) $this->latitudeBottom |
|
| 61 | - . ',' . (string) $this->longitudeRight |
|
| 62 | - . ',' . (string) $this->latitudeTop |
|
| 63 | - . ',' . (string) $this->zoom; |
|
| 59 | + return (string)$this->longitudeLeft |
|
| 60 | + . ',' . (string)$this->latitudeBottom |
|
| 61 | + . ',' . (string)$this->longitudeRight |
|
| 62 | + . ',' . (string)$this->latitudeTop |
|
| 63 | + . ',' . (string)$this->zoom; |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
@@ -6,9 +6,9 @@ |
||
| 6 | 6 | |
| 7 | 7 | use Marek\OpenWeatherMap\Core\WeatherServices; |
| 8 | 8 | |
| 9 | -describe(WeatherServices::class, static function () { |
|
| 10 | - describe('->getWeatherService', static function () { |
|
| 11 | - it('it is ok', static function () { |
|
| 9 | +describe(WeatherServices::class, static function() { |
|
| 10 | + describe('->getWeatherService', static function() { |
|
| 11 | + it('it is ok', static function() { |
|
| 12 | 12 | expect(1)->toBe(1); |
| 13 | 13 | }); |
| 14 | 14 | }); |