We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1787aee commit a041994Copy full SHA for a041994
Controller/Category/View.php
@@ -25,14 +25,15 @@ class View extends \Magefan\Blog\App\Action\Action
25
protected $url;
26
27
/**
28
+ * View constructor.
29
* @param \Magento\Framework\App\Action\Context $context
30
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
- * @param \Magefan\Blog\Model\Url $url
31
+ * @param \Magefan\Blog\Model\Url|null $url
32
*/
33
public function __construct(
34
\Magento\Framework\App\Action\Context $context,
35
\Magento\Store\Model\StoreManagerInterface $storeManager,
- \Magefan\Blog\Model\Url $url
36
+ \Magefan\Blog\Model\Url $url = null
37
) {
38
parent::__construct($context);
39
$this->_storeManager = $storeManager;
0 commit comments