update doc

This commit is contained in:
Jacson Passold 2018-04-16 16:28:46 -03:00
parent 9b0ad2520d
commit 0358fd758a
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ namespace Tainacan\Repositories;
use Tainacan\Entities;
use \Respect\Validation\Validator as v;
use Tainacan\Entities\Item;
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
@ -243,7 +244,7 @@ class Items extends Repository {
* @param array $collections Array Entities\Collection || Array int collections IDs || int collection id || Entities\Collection collection object
* @param string $output The desired output format (@see \Tainacan\Repositories\Repository::fetch_output() for possible values)
*
* @return \WP_Query|Array an instance of wp query OR array of entities;
* @return \WP_Query|Array|Item an instance of wp query OR array of entities OR a Item;
*/
public function fetch( $args = [], $collections = [], $output = null ) {