| 1 | <?php namespace EmailLog\Core\Request;  | 
            ||
| 13 | class OverridePluginAPI implements Loadie { | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * Setup actions.  | 
            ||
| 17 | *  | 
            ||
| 18 | * @inheritdoc  | 
            ||
| 19 | */  | 
            ||
| 20 | 	public function load() { | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Inject add-on install resource into WordPress plugin API.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @param object|bool $res Plugin resource object or boolean false.  | 
            ||
| 28 | * @param string $action The API call being performed.  | 
            ||
| 29 | * @param object $args Arguments for the API call being performed.  | 
            ||
| 30 | *  | 
            ||
| 31 | * @return \stdClass Processed resource.  | 
            ||
| 32 | */  | 
            ||
| 33 | 	public function inject_addon_install_resource( $res, $action, $args ) { | 
            ||
| 53 | }  | 
            ||
| 54 | 
Since your code implements the magic setter
_set, this function will be called for any write access on an undefined variable. You can add the@propertyannotation to your class or interface to document the existence of this variable.Since the property has write access only, you can use the @property-write 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.