| 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 | 1 | public function run(Image $image) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Resolve flip. |
||
| 32 | * @return string The resolved flip. |
||
| 33 | */ |
||
| 34 | 2 | public function getFlip() |
|
| 40 | } |
||
| 41 |
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.