Skip to content

Commit

Permalink
Tiny changes to add the type of a variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosampaio committed Jun 26, 2018
1 parent 447667f commit 0dd4268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Backend/Block/Widget/Tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected function _beforeToHtml()
$this->_tabs = $this->reorderTabs();

if ($this->_activeTab === null) {
/** @var $tab */
/** @var TabInterface $tab */
foreach ($this->_tabs as $tab) {
$this->_activeTab = $tab->getId();
break;
Expand Down Expand Up @@ -309,7 +309,7 @@ protected function reorderTabs()

$ordered = [];

/** @var $tab */
/** @var TabInterface $tab */
foreach ($orderByPosition as $tab) {
$ordered[$tab->getId()] = $tab;
}
Expand Down

0 comments on commit 0dd4268

Please sign in to comment.