@@ -52,7 +52,7 @@ |
||
52 | 52 | $resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE); |
53 | 53 | $resultPage->setActiveMenu('Mageprince_Faq::menu'); |
54 | 54 | |
55 | - if ($faqGroupId = (int)$this->getRequest()->getParam('faqgroup_id')) { |
|
55 | + if ($faqGroupId = (int) $this->getRequest()->getParam('faqgroup_id')) { |
|
56 | 56 | try { |
57 | 57 | $faqGroup = $this->faqGroupRepository->getById($faqGroupId); |
58 | 58 | $resultPage->getConfig()->getTitle()->prepend(__($faqGroup->getGroupName())); |
@@ -103,7 +103,7 @@ |
||
103 | 103 | $this->logger = $logger; |
104 | 104 | $this->baseTmpPath = "faq/tmp/icon"; |
105 | 105 | $this->basePath = "faq/icon"; |
106 | - $this->allowedExtensions= ['jpg', 'jpeg', 'gif', 'png']; |
|
106 | + $this->allowedExtensions = ['jpg', 'jpeg', 'gif', 'png']; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |