From 0dd4268c9c2a4398d54cf9c71cd5272ffe2f9e73 Mon Sep 17 00:00:00 2001 From: Tiago Sampaio Date: Wed, 20 Jun 2018 12:35:07 -0300 Subject: [PATCH] Tiny changes to add the type of a variable. --- app/code/Magento/Backend/Block/Widget/Tabs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Backend/Block/Widget/Tabs.php b/app/code/Magento/Backend/Block/Widget/Tabs.php index 91bdc0bf967d2..cece1033b88b1 100644 --- a/app/code/Magento/Backend/Block/Widget/Tabs.php +++ b/app/code/Magento/Backend/Block/Widget/Tabs.php @@ -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; @@ -309,7 +309,7 @@ protected function reorderTabs() $ordered = []; - /** @var $tab */ + /** @var TabInterface $tab */ foreach ($orderByPosition as $tab) { $ordered[$tab->getId()] = $tab; }