Completed
Push — main ( c972b7...67f393 )
by Heidi
02:14
created
view/ip-geo/result.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,14 +18,17 @@
 block discarded – undo
18 18
             </div>
19 19
         </div>
20 20
 
21
-    <?php else : ?>
21
+    <?php else {
22
+    : ?>
22 23
         <div class="ip-results invalid">
23 24
             <div class="ip-div">
24 25
                 <span class="ip-label">Validerar inte</span>
25 26
                 <i class="fas fa-times"></i>
26 27
             </div>
27 28
         </div>
28
-    <?php endif; ?>
29
+    <?php endif;
30
+}
31
+?>
29 32
 
30 33
 
31 34
     <?php if ($protocol) : ?>
Please login to merge, or discard this patch.
config/api_ip_config_sample.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Input your own key and change file name to "api_ip_config.php"
5 5
  */
6 6
 
7
- return [
8
-     "apiKey" => "putyourownkeyhere",
9
-     "baseUrl" => "http://api.ipstack.com/"
10
- ];
7
+    return [
8
+        "apiKey" => "putyourownkeyhere",
9
+        "baseUrl" => "http://api.ipstack.com/"
10
+    ];
Please login to merge, or discard this patch.
config/di/weather_prog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "weather_prog" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $weatherProg = new \Hepa19\Weather\WeatherModel();
12 12
                 $curl = new \Hepa19\Curl\Curl();
13 13
                 $cfg = $this->get("configuration");
Please login to merge, or discard this patch.
config/di/ipstack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "ipstack" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $ipstack = new \Hepa19\IPGeo\IPStack();
12 12
                 $curl = new \Hepa19\Curl\Curl();
13 13
                 $cfg = $this->get("configuration");
Please login to merge, or discard this patch.
config/di/validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "validator" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $validator = new \Hepa19\IPGeo\IPGeoValidator();
12 12
                 return $validator;
13 13
             }
Please login to merge, or discard this patch.
config/di/curl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "curl" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $curl = new \Hepa19\Curl\Curl();
12 12
                 return $curl;
13 13
             }
Please login to merge, or discard this patch.
config/di/ipgetcurrent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "ipgetcurrent" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $ipgetcurrent = new \Hepa19\IPGeo\IPGetCurrent();
12 12
                 return $ipgetcurrent;
13 13
             }
Please login to merge, or discard this patch.
config/di/weather.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "weather" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $weather = new \Hepa19\Weather\WeatherModel();
12 12
                 $curl = new \Hepa19\Curl\Curl();
13 13
                 $cfg = $this->get("configuration");
Please login to merge, or discard this patch.
config/di/map.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     "services" => [
8 8
         "map" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $map = new \Hepa19\IPGeo\OpenStreetMap();
12 12
                 return $map;
13 13
             }
Please login to merge, or discard this patch.