Completed
Pull Request — master (#364)
by
unknown
01:47
created
src/default.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 		'checkout-confirm' => ['checkout/confirm'],
23 23
 		'checkout-index' => ['checkout/standard'],
24 24
 		'checkout-update' => ['checkout/update'],
25
-		'supplier-detail' => [ 'basket/mini','supplier/detail','catalog/lists' ],
25
+		'supplier-detail' => ['basket/mini', 'supplier/detail', 'catalog/lists'],
26 26
 	],
27 27
 
28 28
 	'resource' => [
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 				'charset' => config( 'database.connections.mysql.charset' ),
42 42
 				'collate' => config( 'database.connections.mysql.collation' ),
43 43
 			],
44
-			'driverOptions' => config('database.connections.mysql.options'),
44
+			'driverOptions' => config( 'database.connections.mysql.options' ),
45 45
 		],
46 46
 		'fs' => [
47 47
 			'adapter' => 'Standard',
Please login to merge, or discard this patch.
src/Aimeos/Shop/Base/Context.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -242,19 +242,19 @@
 block discarded – undo
242 242
 	protected function addUser( \Aimeos\MShop\Context\Item\Iface $context ) : \Aimeos\MShop\Context\Item\Iface
243 243
 	{
244 244
 		$guard = data_get(
245
-			$context->getConfig()->get('guards'),
246
-			collect($context->getConfig()->get('routes'))
247
-				->where('prefix', Route::getCurrentRoute()->getPrefix())
245
+			$context->getConfig()->get( 'guards' ),
246
+			collect( $context->getConfig()->get( 'routes' ) )
247
+				->where( 'prefix', Route::getCurrentRoute()->getPrefix() )
248 248
 				->keys()
249 249
 				->first(),
250 250
 			Auth::getDefaultDriver()
251 251
 		);
252 252
 
253
-		if( ( $userid = Auth::guard($guard)->id() ) !== null ) {
253
+		if( ( $userid = Auth::guard( $guard )->id() ) !== null ) {
254 254
 			$context->setUserId( $userid );
255 255
 		}
256 256
 
257
-		if( ( $user = Auth::guard($guard)->user() ) !== null ) {
257
+		if( ( $user = Auth::guard( $guard )->user() ) !== null ) {
258 258
 			$context->setEditor( $user->name );
259 259
 		} else {
260 260
 			$context->setEditor( \Request::ip() );
Please login to merge, or discard this patch.