Passed
Push — master ( 166bfd...8fa19b )
by Aimeos
17:42
created
src/Admin/JQAdm/Product/Selection/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -381,8 +381,7 @@
 block discarded – undo
381 381
 				$list['product.code'] = $list['product.code'] . '_' . substr( md5( microtime( true ) ), -5 );
382 382
 
383 383
 				$list['stock.stocklevel'] = 0;
384
-			}
385
-			else
384
+			} else
386 385
 			{
387 386
 				$list = array_merge( $list, $refItem->getStockItems( 'default' )->first( map() )->toArray() );
388 387
 			}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Attribute/Price/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
316 316
 			{
317 317
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
318
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
318
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
319 319
 				}
320 320
 			}
321 321
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Attribute/Media/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@
 block discarded – undo
360 360
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
361 361
 			{
362 362
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
363
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
363
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
364 364
 				}
365 365
 			}
366 366
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Attribute/Text/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
309 309
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
310 310
 			{
311 311
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
312
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
312
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
313 313
 				}
314 314
 			}
315 315
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Catalog/Media/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
359 359
 			{
360 360
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
361
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
361
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
362 362
 				}
363 363
 			}
364 364
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Catalog/Text/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
309 309
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
310 310
 			{
311 311
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
312
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
312
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
313 313
 				}
314 314
 			}
315 315
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Supplier/Media/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
359 359
 			{
360 360
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
361
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
361
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
362 362
 				}
363 363
 			}
364 364
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Supplier/Text/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
309 309
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
310 310
 			{
311 311
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
312
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
312
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
313 313
 				}
314 314
 			}
315 315
 
Please login to merge, or discard this patch.
src/Admin/JQAdm/Product/Characteristic/Attribute/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
 			foreach( (array) $this->val( $entry, 'config', [] ) as $cfg )
267 267
 			{
268 268
 				if( ( $key = trim( $cfg['key'] ?? '' ) ) !== '' && ( $val = trim( $cfg['val'] ?? '' ) ) !== '' ) {
269
-					$listItem->setConfigValue( $key, json_decode( $val, true ) ??  $val );
269
+					$listItem->setConfigValue( $key, json_decode( $val, true ) ?? $val );
270 270
 				}
271 271
 			}
272 272
 
Please login to merge, or discard this patch.