From 0abde0d71bef9b84c162df86e96a13cfe0b4ffaf Mon Sep 17 00:00:00 2001 From: Ludovic Janot Date: Mon, 5 Jul 2021 10:58:20 +0200 Subject: [PATCH] Update Docblock comments --- .../<%= slug %>/app/Repositories/Repository.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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 */