Passed
Push — developer ( 8b3d0c...489e91 )
by Mariusz
27:21
created
modules/Settings/WooCommerce/models/Activation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
 	 */
319 319
 	protected static function getWebserviceApps(): array
320 320
 	{
321
-		$row = (new \App\Db\Query())->from('w_#__servers')->where(['type' => 'WooCommerce',  'status' => 1])
321
+		$row = (new \App\Db\Query())->from('w_#__servers')->where(['type' => 'WooCommerce', 'status' => 1])
322 322
 			->one(\App\Db::getInstance('webservice')) ?: [];
323 323
 		if (!$row) {
324 324
 			return [];
Please login to merge, or discard this patch.
api/webservice/WooCommerce/Auth/Basic.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	{
22 22
 		$this->api->app = [];
23 23
 		$type = $this->api->request->getByType('_container', \App\Purifier::STANDARD);
24
-		$query = (new \App\Db\Query())->from('w_#__servers')->where(['type' => $type,  'status' => 1]);
24
+		$query = (new \App\Db\Query())->from('w_#__servers')->where(['type' => $type, 'status' => 1]);
25 25
 		if ($row = $query->one()) {
26 26
 			$row['id'] = (int) $row['id'];
27 27
 			$this->api->app = $row;
Please login to merge, or discard this patch.