File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2222 CodeQuality \BooleanNot \SimplifyDeMorganBinaryRector::class,
2323 CodeQuality \If_ \SimplifyIfReturnBoolRector::class,
2424 __DIR__ . '/shell/translations.php ' ,
25- __DIR__ . '/shell/update-copyright.php.php '
25+ __DIR__ . '/shell/update-copyright.php.php ' ,
2626 ])
2727 ->withRules ([
2828 CodeQuality \BooleanNot \ReplaceMultipleBooleanNotRector::class,
5959 false ,
6060 false ,
6161 true ,
62- );
62+ );
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ public function getLayout()
225225 /**
226226 * Load layout by handles(s)
227227 *
228- * @param string|null|bool $handles
228+ * @param array| string|null|bool $handles
229229 * @param bool $generateBlocks
230230 * @param bool $generateXml
231231 * @return $this
Original file line number Diff line number Diff line change @@ -142,14 +142,14 @@ public function resetHandles()
142142 }
143143
144144 /**
145- * @param string $handle
145+ * @param array| string $handle
146146 * @return $this
147147 */
148148 public function addHandle ($ handle )
149149 {
150150 if (is_array ($ handle )) {
151- foreach ($ handle as $ h ) {
152- $ this ->_handles [$ h ] = 1 ;
151+ foreach ($ handle as $ item ) {
152+ $ this ->_handles [$ item ] = 1 ;
153153 }
154154 } else {
155155 $ this ->_handles [$ handle ] = 1 ;
You can’t perform that action at this time.
0 commit comments