| 1 | <?php |
||
| 8 | class BuildAddonsTask extends BuildTask |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritDoc} |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $title = 'Build Add-ons'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritDoc} |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $description = 'Downloads README and screenshots'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var AddonBuilder |
||
| 24 | */ |
||
| 25 | protected $builder; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param AddonBuilder $builder |
||
| 29 | */ |
||
| 30 | public function __construct(AddonBuilder $builder) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritDoc} |
||
| 37 | * @param SS_HTTPRequest $request |
||
| 38 | */ |
||
| 39 | public function run($request) |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $msg |
||
| 63 | */ |
||
| 64 | protected function log($msg) |
||
| 68 | } |
||
| 69 |
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.