Passed
Pull Request — master (#17)
by Ylva
02:14
created
a/src/Controller/DevelopmentController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
a/src/Controller/GeotagController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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", [
Please login to merge, or discard this patch.
a/src/Controller/ErrorHandlerController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
a/src/Controller/WeatherController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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";
Please login to merge, or discard this patch.