🏡 index : ~doyle/koselig.git

author Jordan Doyle <w4@users.noreply.github.com> 2016-11-01 10:32:11.0 +00:00:00
committer GitHub <noreply@github.com> 2016-11-01 10:32:11.0 +00:00:00
commit
46aa1b3439b18487749b438d5b770df4d540bd56 [patch]
tree
fc680bb5057b89897e3c4022b1cbf6805359f2e0
parent
bfda4a4e3f00ff11ef50db64ab21474da8775048
download
46aa1b3439b18487749b438d5b770df4d540bd56.tar.gz

Applied fixes from StyleCI (#15)

[ci skip] [skip ci]

Diff

 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)