diff --git a/template/web/wp-content/themes/<%= slug %>/app/Repositories/Repository.php b/template/web/wp-content/themes/<%= slug %>/app/Repositories/Repository.php index baa6a29..92e78b0 100644 --- a/template/web/wp-content/themes/<%= slug %>/app/Repositories/Repository.php +++ b/template/web/wp-content/themes/<%= slug %>/app/Repositories/Repository.php @@ -1,7 +1,7 @@ result_set; @@ -73,6 +73,8 @@ protected function query( array $params ) { * * @param array $params Query params. * @return mixed + * + * @example ./app/Repositories/PostRepository.php How to implement do_query(). */ abstract protected function do_query( $params ); @@ -89,7 +91,7 @@ protected function reset() { /** * Returns current result set * - * @param array|PostCollection $result_set Result set. + * @param array $result_set Result set. * * @return Repository */ diff --git a/template/web/wp-content/themes/<%= slug %>/app/Repositories/TermRepository.php b/template/web/wp-content/themes/<%= slug %>/app/Repositories/TermRepository.php index 59d8792..f01ec73 100644 --- a/template/web/wp-content/themes/<%= slug %>/app/Repositories/TermRepository.php +++ b/template/web/wp-content/themes/<%= slug %>/app/Repositories/TermRepository.php @@ -17,7 +17,7 @@ final class TermRepository extends Repository { * Set what the Query will return * * @param array $params Query params. - * @return Timber\Term + * @return \Timber\Term */ public function do_query( $params ) { return TermGetter::get_terms( $params, array(), static::CLASS_TYPE );