Skip to content

Commit 4bb8466

Browse files
ENGCOM-3846: Magento widgets source models forced to use deprecated interface #20064 #20248
- Merge Pull Request #20248 from cedcommerce/magento2:2.3-develop-issue-fix-20064 - Merged commits: 1. a958f5b 2. f7275c5
2 parents 55ee43e + f7275c5 commit 4bb8466

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Option/ArrayPool.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public function get($model)
3434
{
3535
$modelInstance = $this->_objectManager->get($model);
3636
if (false == $modelInstance instanceof \Magento\Framework\Data\OptionSourceInterface) {
37-
throw new \InvalidArgumentException($model . 'doesn\'t implement \Magento\Framework\Data\OptionSourceInterface');
37+
throw new \InvalidArgumentException($model
38+
. 'doesn\'t implement \Magento\Framework\Data\OptionSourceInterface');
3839
}
3940
return $modelInstance;
4041
}

0 commit comments

Comments
 (0)