From 46aa1b3439b18487749b438d5b770df4d540bd56 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Tue, 1 Nov 2016 10:32:11 +0000 Subject: [PATCH] Applied fixes from StyleCI (#15) [ci skip] [skip ci] --- src/Proxy/Query.php | 1 + src/helpers.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Proxy/Query.php b/src/Proxy/Query.php index 678648b..448376a 100644 --- a/src/Proxy/Query.php +++ b/src/Proxy/Query.php @@ -29,6 +29,7 @@ use WP_Query; * @property int $foundPosts The amount of found posts for the current query. * @property int $maxNumPages The amount of pages. * @property int $maxNumCommentPages The amount of comment pages. + * * @method static void init Initiates object properties and sets default values. * @method static void parseQueryVars Reparse the query vars. * @method static array fillQueryVars(array $array) Fills in the query variables, which do not exist within the diff --git a/src/helpers.php b/src/helpers.php index d190228..a362755 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -8,6 +8,7 @@ if (!function_exists('query')) { * Get the main query or convert a query to a {@link \Koselig\Proxy\Query} proxy instance. * * @param WP_Query|null $query + * * @return \Koselig\Proxy\Query */ function query(\WP_Query $query = null) @@ -22,6 +23,7 @@ if (!function_exists('post')) { * post. * * @param WP_Post|null $post + * * @return Post|null */ function post(WP_Post $post = null) -- libgit2 1.7.2