| 1 | <?php |
||
| 10 | class Flip extends BaseManipulator |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Perform flip image manipulation. |
||
| 14 | * @param Image $image The source image. |
||
| 15 | * @return Image The manipulated image. |
||
| 16 | */ |
||
| 17 | public function run(Image $image) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Resolve flip. |
||
| 28 | * @return string The resolved flip. |
||
| 29 | */ |
||
| 30 | public function getFlip() |
||
| 36 | } |
||
| 37 |
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.