Bug #23245 Bug Fixed

Incorrect doc block

Version: 3.5.11 Reporter: Brian Litzinger

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

/**
     * Apply a filter
     *
     * @param String  $property  Relationship.columnname
     * @param String  $operator  Comparison operator [default: ==]
     * @param Mixed   $value     Value to compare to
     * @return Query  $this
     */
    public function filter($property, $operator, $value = FALSE)
    {
     $this->addFilter($property, $operator, $value, 'and');
     return $this;
    }

Several methods in the Builder class have the wrong @return value, thus PhpStorm is lighting up and unable to correctly type hint. The instances of @return Query should be @return Builder.

There is also several instances of @return Array, which should be @return array.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases