| 1 | <?php |
||
| 21 | class BaseUserQuery extends BaseEntityQuery |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Specify active status. |
||
| 26 | * @param integer $active |
||
| 27 | * @return static |
||
| 28 | */ |
||
| 29 | 2 | public function active($active) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Specify source. |
||
| 40 | * @param null|string|array $source |
||
| 41 | * @return static |
||
| 42 | */ |
||
| 43 | 1 | public function source($source = null) |
|
| 55 | } |
||
| 56 |
Since your code implements the magic getter
_get, this function will be called for any read access on an undefined variable. You can add the@propertyannotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.