@@ -113,7 +113,7 @@ discard block |
||
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 |
||
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 | ); |