Skip to content

Commit 9ecfa49

Browse files
committed
AC-5933 Magento Admin stores functionality improvements
1 parent 9909f92 commit 9ecfa49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Store/Model/Group.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010
namespace Magento\Store\Model;
1111

12+
use Laminas\Validator\ValidatorInterface;
1213
use Magento\Framework\App\ObjectManager;
1314
use Magento\Framework\MessageQueue\PoisonPill\PoisonPillPutInterface;
1415
use Magento\Store\Model\Validation\StoreValidator;
@@ -178,10 +179,9 @@ protected function _construct()
178179
/**
179180
* Validation rules for store
180181
*
181-
* @return \Zend_Validate_Interface|null
182-
* @throws \Zend_Validate_Exception
182+
* @return ValidatorInterface|null
183183
*/
184-
protected function _getValidationRulesBeforeSave(): ?\Zend_Validate_Interface
184+
protected function _getValidationRulesBeforeSave()
185185
{
186186
return $this->modelValidator;
187187
}

0 commit comments

Comments
 (0)