Skip to content

Commit 9c7687a

Browse files
tiagosampaiomage2pratik
authored andcommitted
Tiny changes to add the type of a variable.
1 parent ff94075 commit 9c7687a

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Backend/Block/Widget

1 file changed

+2
-2
lines changed

app/code/Magento/Backend/Block/Widget/Tabs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ protected function _beforeToHtml()
235235
$this->_tabs = $this->reorderTabs();
236236

237237
if ($this->_activeTab === null) {
238-
/** @var $tab */
238+
/** @var TabInterface $tab */
239239
foreach ($this->_tabs as $tab) {
240240
$this->_activeTab = $tab->getId();
241241
break;
@@ -306,7 +306,7 @@ protected function reorderTabs()
306306

307307
$ordered = [];
308308

309-
/** @var $tab */
309+
/** @var TabInterface $tab */
310310
foreach ($orderByPosition as $tab) {
311311
$ordered[$tab->getId()] = $tab;
312312
}

0 commit comments

Comments
 (0)