Passed
Pull Request — master (#194)
by
unknown
04:14
created
admin/jqadm/src/Admin/JQAdm/Common/Decorator/Page.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@
 block discarded – undo
48 48
 			] ) )->slice( 0, 1 );
49 49
 
50 50
 			$siteItem = $siteManager->search( $search )->first();
51
-		}
52
-		else
51
+		} else
53 52
 		{
54 53
 			$siteItem = $siteManager->find( $view->param( 'site', 'default' ) );
55 54
 		}
Please login to merge, or discard this patch.
admin/jqadm/templates/settings/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,8 @@  discard block
 block discarded – undo
92 92
 								<?php if( $logos = $this->get( 'itemData/locale.site.logo' ) ) : ?>
93 93
 									<img class="item-preview"
94 94
 										src="<?= $enc->attr( $this->content( $this->config( 'resource/fs/baseurl' ) . '/' . end( $logos ) ) ) ?>" />
95
-								<?php else : ?>
95
+								<?php else {
96
+	: ?>
96 97
 									<p class="item-preview">
97 98
 										<?= $enc->html( $this->translate( 'admin', 'Upload shop logo' ) ) ?>
98 99
 									</p>
@@ -106,7 +107,9 @@  discard block
 block discarded – undo
106 107
 						<div class="box">
107 108
 
108 109
 							<div class="form-group media-preview">
109
-								<input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 ); ?>"
110
+								<input class="fileupload" type="file" tabindex="<?= $this->get( 'tabindex', 1 );
111
+}
112
+?>"
110 113
 									name="media[icon]" />
111 114
 								<?php if( $icon = $this->get( 'itemData/locale.site.icon' ) ) : ?>
112 115
 									<img class="item-preview"
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Settings/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
 		$item = $this->fromArrayIcon( $item, $files );
257 257
 		$item = $this->fromArrayLogo( $item, $files );
258 258
 
259
-		return $item->setConfig( array_merge($item->getConfig(), $config) )
259
+		return $item->setConfig( array_merge( $item->getConfig(), $config ) )
260 260
 			->setTheme( $data['locale.site.theme'] ?? '' )
261 261
 			->setLabel( $data['locale.site.label'] ?? '' )
262 262
 			->setCode( $data['locale.site.code'] ?? '' );
Please login to merge, or discard this patch.