Completed
Branch master (62b982)
by Kristoffer
13:04 queued 10:46
created
config/di/darksky.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
         "darksky" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $cfg = $this->get("configuration");
12 12
                 $config = $cfg->load("api_sample.php");
13 13
                 $obj = new \Linder\Model\DarkSky($config["config"]["darksky"]);
Please login to merge, or discard this patch.
config/di/ipverifier.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
         "ipverifier" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $cfg = $this->get("configuration");
12 12
                 $config = $cfg->load("api_sample.php");
13 13
                 $obj = new \Linder\Model\IpVerifier($config["config"]["ipstack"]);
Please login to merge, or discard this patch.
config/di/geocoder.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
         "geocoder" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $cfg = $this->get("configuration");
12 12
                 $config = $cfg->load("api_sample.php");
13 13
                 $obj = new \OpenCage\Geocoder\Geocoder($config["config"]["opencage"]);
Please login to merge, or discard this patch.
src/Controller/APIMockController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
         $darksky = new \Linder\Mock\DarkSkyMock();
37 37
         $url = $this->di->request->getCurrentUrl();
38 38
         $res = (strpos($url, "?exclude=currently,flags") || $this->di->request->getGet("type") == "past") ?
39
-            $darksky->getWeatherPast() :
40
-            $darksky->getWeatherComing();
39
+            $darksky->getWeatherPast() : $darksky->getWeatherComing();
41 40
         return $res;
42 41
     }
43 42
 }
Please login to merge, or discard this patch.