Completed
Branch master (2f992b)
by Wissam
03:08
created
src/Weather/WeatherIp.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
  *
12 12
  * @SuppressWarnings(PHPMD.TooManyPublicMethods)
13 13
  */
14
- class WeatherIp implements ContainerInjectableInterface
15
- {
16
-     use ContainerInjectableTrait;
17
-     public function validateIp($ipAddress)
18
-     {
19
-         if (filter_var($ipAddress, FILTER_VALIDATE_IP)) {
20
-             return $ipAddress;
21
-         }
22
-         return null;
23
-     }
24
- }
14
+    class WeatherIp implements ContainerInjectableInterface
15
+    {
16
+        use ContainerInjectableTrait;
17
+        public function validateIp($ipAddress)
18
+        {
19
+            if (filter_var($ipAddress, FILTER_VALIDATE_IP)) {
20
+                return $ipAddress;
21
+            }
22
+            return null;
23
+        }
24
+    }
Please login to merge, or discard this patch.
config/router/100_sample-json-controller.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@
 block discarded – undo
5 5
 return [
6 6
     "routes" => [
7 7
         [
8
-             "info" => "Weather IP (JSON)",
9
-             "mount" => "weatherjson",
10
-             "handler" => "\Aisa\Weather\JsonWeather",
11
-         ],
8
+                "info" => "Weather IP (JSON)",
9
+                "mount" => "weatherjson",
10
+                "handler" => "\Aisa\Weather\JsonWeather",
11
+            ],
12 12
     ]
13 13
 ];
Please login to merge, or discard this patch.