@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * @param array $args as a variadic to catch all arguments. |
| 22 | 22 | * |
| 23 | 23 | * @throws Anax\Route\Exception\NotFoundException when route is not found. |
| 24 | - |
|
| 25 | 24 | * @return object as the response. |
| 26 | 25 | * |
| 27 | 26 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | $latitude = $userPosition['latitude']; |
| 29 | 29 | $longitude = $userPosition['longitude']; |
| 30 | 30 | $city = $userPosition['city']; |
| 31 | - $coordinates = 'Latitude: '.$latitude . ' ' . 'Longitude: ' . $longitude; |
|
| 31 | + $coordinates = 'Latitude: ' . $latitude . ' ' . 'Longitude: ' . $longitude; |
|
| 32 | 32 | |
| 33 | 33 | $ipv4 = $ip->ipv4($userIp); |
| 34 | 34 | $ipv6 = $ip->ipv6($userIp); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $latitude = $ipPosition['latitude']; |
| 42 | 42 | $longitude = $ipPosition['longitude']; |
| 43 | 43 | $city = $ipPosition['city']; |
| 44 | - $coordinates = 'Latitude: '.$latitude . ' ' . 'Longitude: ' . $longitude; |
|
| 44 | + $coordinates = 'Latitude: ' . $latitude . ' ' . 'Longitude: ' . $longitude; |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | $page->add("ip/location", [ |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | * @param string $message with details. |
| 23 | 23 | * |
| 24 | 24 | * @throws Anax\Route\Exception\NotFoundException |
| 25 | - |
|
| 26 | 25 | * @return object as the response. |
| 27 | 26 | */ |
| 28 | 27 | public function catchAll(...$args) : object |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $latitude = $ipPosition['latitude']; |
| 48 | 48 | $longitude = $ipPosition['longitude']; |
| 49 | 49 | $city = $ipPosition['city']; |
| 50 | - $coordinates = 'Latitude: '.$latitude . ' ' . 'Longitude: ' . $longitude; |
|
| 50 | + $coordinates = 'Latitude: ' . $latitude . ' ' . 'Longitude: ' . $longitude; |
|
| 51 | 51 | |
| 52 | 52 | if ($searchIP) { |
| 53 | 53 | $contentText = "Dagens väder"; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | namespace TheSeer\Tokenizer; |
| 3 | 3 | |
| 4 | 4 | class NamespaceUriException extends Exception { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | namespace TheSeer\Tokenizer; |
| 3 | 3 | |
| 4 | 4 | class Tokenizer { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | namespace TheSeer\Tokenizer; |
| 3 | 3 | |
| 4 | 4 | class TokenCollection implements \ArrayAccess, \Iterator, \Countable { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | namespace TheSeer\Tokenizer; |
| 3 | 3 | |
| 4 | 4 | class Token { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | namespace TheSeer\Tokenizer; |
| 3 | 3 | |
| 4 | 4 | class TokenCollectionException extends Exception { |