Skip to content

Commit 59b2f36

Browse files
committed
Cleanup: update docblock
1 parent cbd47bc commit 59b2f36

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
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,
@@ -59,4 +59,4 @@
5959
false,
6060
false,
6161
true,
62-
);
62+
);

app/code/core/Mage/Core/Controller/Varien/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

app/code/core/Mage/Core/Model/Layout/Update.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)