Skip to content

Commit

Permalink
Merge pull request #291 from mageplaza/2.3-develop
Browse files Browse the repository at this point in the history
Clean code
  • Loading branch information
haitv282 authored Oct 21, 2020
2 parents 20b2022 + 54819a9 commit 416c762
Show file tree
Hide file tree
Showing 23 changed files with 6,832 additions and 6,832 deletions.
768 changes: 384 additions & 384 deletions Api/BlogRepositoryInterface.php

Large diffs are not rendered by default.

84 changes: 42 additions & 42 deletions Api/Data/SearchResult/CategorySearchResultInterface.php
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);
}
84 changes: 42 additions & 42 deletions Api/Data/SearchResult/CommentSearchResultInterface.php
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);
}
84 changes: 42 additions & 42 deletions Api/Data/SearchResult/PostSearchResultInterface.php
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);
}
84 changes: 42 additions & 42 deletions Api/Data/SearchResult/TagSearchResultInterface.php
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);
}
Loading

0 comments on commit 416c762

Please sign in to comment.