Completed
Branch master (f13a02)
by Sebastian
05:28
created
Category
src/Controller/JsonWeatherController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         }
40 40
 
41 41
         if ($boolean == 1) {
42
-            for ($i=0; $i < 8; $i++) {
42
+            for ($i = 0; $i < 8; $i++) {
43 43
                 $timestamp = $weatherResult->{'daily'}->{'data'}[$i]->{'time'};
44 44
                 $jsoninfo = [
45 45
                     "day" . ($i + 1) => [
Please login to merge, or discard this patch.
src/Navigation/Navbar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         // Create the ul li menu from the array, use an anonomous recursive
86 86
         // function that returns an array of values.
87
-        $createMenu = function (
87
+        $createMenu = function(
88 88
             $items,
89 89
             $ulId = null,
90 90
             $ulClass = null
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                 }
129 129
 
130 130
                 // Is there a class set for this item, then use it
131
-                $class = isset($item["class"]) && ! is_null($item["class"])
131
+                $class = isset($item["class"]) && !is_null($item["class"])
132 132
                     ? $item["class"]
133 133
                     : null;
134 134
 
Please login to merge, or discard this patch.
config/di/keys.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "keys" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $key = new \Anax\Keys\Keys();
13 13
                 return $key;
14 14
             }
Please login to merge, or discard this patch.
config/di/page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "page" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $page = new \Anax\Page\Page();
13 13
                 $page->setDI($this);
14 14
 
Please login to merge, or discard this patch.
config/di/url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     "services" => [
7 7
         "url" => [
8 8
             "shared" => true,
9
-            "callback" => function () {
9
+            "callback" => function() {
10 10
                 $url = new \Anax\Url\Url();
11 11
                 $request = $this->get("request");
12 12
                 $url->setSiteUrl($request->getSiteUrl());
Please login to merge, or discard this patch.
config/di/router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     "services" => [
7 7
         "router" => [
8 8
             "shared" => true,
9
-            "callback" => function () {
9
+            "callback" => function() {
10 10
                 $router = new \Anax\Route\Router();
11 11
                 $router->setDI($this);
12 12
 
Please login to merge, or discard this patch.
config/di/view.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
         "view" => [
8 8
             "active" => false,
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $view = new \Anax\View\ViewCollection();
12 12
                 $view->setDI($this);
13 13
 
Please login to merge, or discard this patch.
config/di/cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     "services" => [
9 9
         "cache" => [
10 10
             "shared" => true,
11
-            "callback" => function () {
11
+            "callback" => function() {
12 12
                 $cache = new \Anax\Cache\FileCache();
13 13
 
14 14
                 // Load the configuration files
Please login to merge, or discard this patch.
config/di/request.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
         "request" => [
9 9
             "shared" => true,
10
-            "callback" => function () {
10
+            "callback" => function() {
11 11
                 $obj = new \Anax\Request\Request();
12 12
                 $obj->init();
13 13
                 return $obj;
Please login to merge, or discard this patch.