Completed
Push — master ( 836beb...de328f )
by AJ
06:03
created
src/Controller/Component/ShopifyDatabaseComponent.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $query = $query->contain(['Shops']);
114 114
         $query = $query->where(['api_key' => $apiKey, 'token' => $accessToken]);
115 115
         $query = $query->where(
116
-            function ($exp, $q) {
116
+            function($exp, $q) {
117 117
                 return $exp->isNull('expired_at');
118 118
             }
119 119
         );
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $query = $query->contain(['Shops']);
134 134
         $query = $query->where(['api_key' => $apiKey, 'Shops.myshopify_domain' => $shopDomain]);
135 135
         $query = $query->where(
136
-            function ($exp, $q) {
136
+            function($exp, $q) {
137 137
                 return $exp->isNull('expired_at');
138 138
             }
139 139
         );
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,8 @@  discard block
 block discarded – undo
113 113
         $query = $query->contain(['Shops']);
114 114
         $query = $query->where(['api_key' => $apiKey, 'token' => $accessToken]);
115 115
         $query = $query->where(
116
-            function ($exp, $q) {
116
+            function ($exp, $q)
117
+            {
117 118
                 return $exp->isNull('expired_at');
118 119
             }
119 120
         );
@@ -133,7 +134,8 @@  discard block
 block discarded – undo
133 134
         $query = $query->contain(['Shops']);
134 135
         $query = $query->where(['api_key' => $apiKey, 'Shops.myshopify_domain' => $shopDomain]);
135 136
         $query = $query->where(
136
-            function ($exp, $q) {
137
+            function ($exp, $q)
138
+            {
137 139
                 return $exp->isNull('expired_at');
138 140
             }
139 141
         );
Please login to merge, or discard this patch.
src/Shell/ShopifyInstallShell.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
                 $scope = array_map('trim', $scope);
66 66
                 $scope = array_map('strtolower', $scope);
67 67
                 array_walk(
68
-                    $scope, function (&$value) {
68
+                    $scope, function(&$value) {
69 69
                         $value = str_replace(" ", "_", $value);
70 70
                     }
71 71
                 );
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,8 @@
 block discarded – undo
65 65
                 $scope = array_map('trim', $scope);
66 66
                 $scope = array_map('strtolower', $scope);
67 67
                 array_walk(
68
-                    $scope, function (&$value) {
68
+                    $scope, function (&$value)
69
+                    {
69 70
                         $value = str_replace(" ", "_", $value);
70 71
                     }
71 72
                 );
Please login to merge, or discard this patch.