-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from mageplaza/2.3-develop
Clean code
- Loading branch information
Showing
23 changed files
with
6,832 additions
and
6,832 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface CategorySearchResultInterface | ||
* @package Mageplaza\Blog\Api\Data\SearchResult | ||
*/ | ||
interface CategorySearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\CategoryInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\CategoryInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface CategorySearchResultInterface | ||
* @package Mageplaza\Blog\Api\Data\SearchResult | ||
*/ | ||
interface CategorySearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\CategoryInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\CategoryInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface CommentSearchResultInterface | ||
* @api | ||
*/ | ||
interface CommentSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\CommentInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\CommentInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface CommentSearchResultInterface | ||
* @api | ||
*/ | ||
interface CommentSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\CommentInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\CommentInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface PostSearchResultInterface | ||
* @api | ||
*/ | ||
interface PostSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\PostInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\PostInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface PostSearchResultInterface | ||
* @api | ||
*/ | ||
interface PostSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\PostInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\PostInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface TagSearchResultInterface | ||
* @package Mageplaza\Blog\Api\Data\SearchResult | ||
*/ | ||
interface TagSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\TagInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\TagInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} | ||
<?php | ||
/** | ||
* Mageplaza | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Mageplaza.com license that is | ||
* available through the world-wide-web at this URL: | ||
* https://www.mageplaza.com/LICENSE.txt | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade this extension to newer | ||
* version in the future. | ||
* | ||
* @category Mageplaza | ||
* @package Mageplaza_Blog | ||
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | ||
* @license https://www.mageplaza.com/LICENSE.txt | ||
*/ | ||
|
||
namespace Mageplaza\Blog\Api\Data\SearchResult; | ||
|
||
use Magento\Framework\Api\SearchResultsInterface; | ||
|
||
/** | ||
* Interface TagSearchResultInterface | ||
* @package Mageplaza\Blog\Api\Data\SearchResult | ||
*/ | ||
interface TagSearchResultInterface extends SearchResultsInterface | ||
{ | ||
/** | ||
* @return \Mageplaza\Blog\Api\Data\TagInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* @param \Mageplaza\Blog\Api\Data\TagInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items = null); | ||
} |
Oops, something went wrong.