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) |
||
59 | |||
60 | /** |
||
61 | * @param string $msg |
||
62 | */ |
||
63 | protected function log($msg) |
||
67 | } |
||
68 |
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@property
annotation 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.