Completed
Push — master ( 57b3c6...836beb )
by AJ
05:38
created
src/Controller/Component/ShopifyDatabaseComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         $query = $this->access_tokens->find();
111 111
         $query = $query->contain(['Shops']);
112 112
         $query = $query->where(['api_key' => $apiKey, 'token' => $accessToken]);
113
-        $query = $query->where(function ($exp, $q)
113
+        $query = $query->where(function($exp, $q)
114 114
         {
115 115
             return $exp->isNull('expired_at');
116 116
         });
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $query = $this->access_tokens->find();
130 130
         $query = $query->contain(['Shops']);
131 131
         $query = $query->where(['api_key' => $apiKey, 'Shops.myshopify_domain' => $shopDomain]);
132
-        $query = $query->where(function ($exp, $q)
132
+        $query = $query->where(function($exp, $q)
133 133
         {
134 134
             return $exp->isNull('expired_at');
135 135
         });
Please login to merge, or discard this patch.