1 | <?php |
||
8 | class Backup |
||
9 | { |
||
10 | /** @var \Illuminate\Contracts\Filesystem\Filesystem */ |
||
11 | protected $disk; |
||
12 | |||
13 | /** @var string */ |
||
14 | protected $path; |
||
15 | |||
16 | public function __construct(Filesystem $disk, string $path) |
||
22 | |||
23 | public function path(): string |
||
27 | |||
28 | public function exists(): bool |
||
32 | |||
33 | public function date(): Carbon |
||
37 | |||
38 | /** |
||
39 | * Get the size in bytes. |
||
40 | */ |
||
41 | public function size(): int |
||
49 | |||
50 | public function stream() |
||
54 | |||
55 | public function delete() |
||
61 | } |
||
62 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.