| 1 | <?php |
||
| 20 | class OpenStack extends Remote |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var Container |
||
| 24 | */ |
||
| 25 | protected $container; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * OpenStack constructor. |
||
| 29 | * |
||
| 30 | * @param Container $container |
||
| 31 | * @param StorageObject $object |
||
| 32 | */ |
||
| 33 | 2 | public function __construct($container, $object) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Deletes the file. |
||
| 44 | * |
||
| 45 | * @throws \phpbu\App\Exception |
||
| 46 | */ |
||
| 47 | 1 | public function unlink() |
|
| 55 | } |
||
| 56 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.