1 | <?php |
||
8 | class OpenStack extends Remote |
||
9 | { |
||
10 | /** |
||
11 | * @var Container |
||
12 | */ |
||
13 | protected $container; |
||
14 | |||
15 | /** |
||
16 | * OpenStack constructor. |
||
17 | * |
||
18 | * @param Container $container |
||
19 | * @param StorageObject $object |
||
20 | */ |
||
21 | 2 | public function __construct($container, $object) |
|
29 | |||
30 | /** |
||
31 | * Deletes the file. |
||
32 | * |
||
33 | * @throws \phpbu\App\Exception |
||
34 | */ |
||
35 | 1 | public function unlink() |
|
43 | } |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.