Skip to content

Commit 5f2cf41

Browse files
committed
Tiny changes to add the type of a variable.
1 parent 23d616d commit 5f2cf41

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
@@ -238,7 +238,7 @@ protected function _beforeToHtml()
238238
$this->_tabs = $this->reorderTabs();
239239

240240
if ($this->_activeTab === null) {
241-
/** @var $tab */
241+
/** @var TabInterface $tab */
242242
foreach ($this->_tabs as $tab) {
243243
$this->_activeTab = $tab->getId();
244244
break;
@@ -309,7 +309,7 @@ protected function reorderTabs()
309309

310310
$ordered = [];
311311

312-
/** @var $tab */
312+
/** @var TabInterface $tab */
313313
foreach ($orderByPosition as $tab) {
314314
$ordered[$tab->getId()] = $tab;
315315
}

0 commit comments

Comments
 (0)