Skip to content

Commit ff576e2

Browse files
Merge pull request #17412 to #17410
2 parents f63a181 + 8237f4f commit ff576e2

File tree

8 files changed

+13
-5
lines changed

8 files changed

+13
-5
lines changed

app/code/Magento/Search/Block/Adminhtml/Dashboard/Last.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ protected function _construct()
6363

6464
/**
6565
* @return $this
66+
* @throws \Magento\Framework\Exception\LocalizedException
6667
*/
6768
protected function _prepareCollection()
6869
{
@@ -86,6 +87,7 @@ protected function _prepareCollection()
8687

8788
/**
8889
* @return $this
90+
* @throws \Exception
8991
*/
9092
protected function _prepareColumns()
9193
{

app/code/Magento/Search/Block/Adminhtml/Term/Edit/Form.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ protected function _construct()
5151
* Prepare form fields
5252
*
5353
* @return $this
54+
* @throws \Magento\Framework\Exception\LocalizedException
55+
* @throws \Magento\Framework\Exception\NoSuchEntityException
5456
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
5557
*/
5658
protected function _prepareForm()

app/code/Magento/Search/Block/Term.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function __construct(
7171
* Load terms and try to sort it by names
7272
*
7373
* @return $this
74+
* @throws \Magento\Framework\Exception\NoSuchEntityException
7475
*/
7576
protected function _loadTerms()
7677
{
@@ -109,6 +110,7 @@ protected function _loadTerms()
109110

110111
/**
111112
* @return array
113+
* @throws \Magento\Framework\Exception\NoSuchEntityException
112114
*/
113115
public function getTerms()
114116
{

app/code/Magento/Search/Controller/Adminhtml/Synonyms/Edit.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ class Edit extends \Magento\Backend\App\Action
3333
/**
3434
* Edit constructor.
3535
*
36-
* @param \Magento\Backend\App\Action\Context $context
37-
* @param \Magento\Backend\Model\Session $session
38-
* @param \Magento\Framework\Registry $registry
36+
* @param \Magento\Backend\App\Action\Context $context
37+
* @param \Magento\Framework\Registry $registry
3938
* @param \Magento\Search\Controller\Adminhtml\Synonyms\ResultPageBuilder $pageBuilder
40-
* @param \Magento\Search\Api\SynonymGroupRepositoryInterface $synGroupRepository
39+
* @param \Magento\Search\Api\SynonymGroupRepositoryInterface $synGroupRepository
4140
*/
4241
public function __construct(
4342
\Magento\Backend\App\Action\Context $context,

app/code/Magento/Search/Controller/Adminhtml/Term/ExportSearchCsv.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function __construct(
3434
* Export search report grid to CSV format
3535
*
3636
* @return \Magento\Framework\App\ResponseInterface
37+
* @throws \Exception
3738
*/
3839
public function execute()
3940
{

app/code/Magento/Search/Controller/Adminhtml/Term/ExportSearchExcel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function __construct(
3434
* Export search report to Excel XML format
3535
*
3636
* @return \Magento\Framework\App\ResponseInterface
37+
* @throws \Exception
3738
*/
3839
public function execute()
3940
{

app/code/Magento/Search/Controller/Term/Popular.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function __construct(Context $context, ScopeConfigInterface $scopeConfig)
3434
*
3535
* @param \Magento\Framework\App\RequestInterface $request
3636
* @return \Magento\Framework\App\ResponseInterface
37+
* @throws \Magento\Framework\Exception\NotFoundException
3738
*/
3839
public function dispatch(RequestInterface $request)
3940
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"Search Engine","Search Engine"
1+
"Search Engine","Mecanismo de Busca"

0 commit comments

Comments
 (0)