🏡 index : ~doyle/koselig.git

author Jordan Doyle <jordan@doyle.wf> 2016-11-01 10:40:13.0 +00:00:00
committer Jordan Doyle <jordan@doyle.wf> 2016-11-01 10:40:13.0 +00:00:00
commit
50769aa50e8a17b0e99b4d8883e8f9bcead5490a [patch]
tree
c97ea8ea238fb06aa4de29afc6fccc4a39b4173b
parent
8fe07d8cd59b87700d686c33f5841176c5500f5e
parent
46aa1b3439b18487749b438d5b770df4d540bd56
download
50769aa50e8a17b0e99b4d8883e8f9bcead5490a.tar.gz

Merge branch 'master' of https://github.com/koselig/library



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 43840a3..ab7c420 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)