1 | <?php |
||
10 | class Snapshot |
||
11 | { |
||
12 | /** @var \Spatie\EventProjector\EventProjectionist */ |
||
13 | protected $eventProjectionist; |
||
14 | |||
15 | /** @var \Illuminate\Contracts\Filesystem\Filesystem */ |
||
16 | protected $disk; |
||
17 | |||
18 | /** @var string */ |
||
19 | protected $fileName; |
||
20 | |||
21 | public function __construct(EventProjectionist $eventProjectionist, Filesystem $disk, string $fileName) |
||
29 | |||
30 | public function isValid(): bool |
||
34 | |||
35 | public function lastProcessedEventId(): int |
||
39 | |||
40 | public function projectorName(): string |
||
44 | |||
45 | public function getProjector(): Projector |
||
51 | |||
52 | public function name(): string |
||
56 | |||
57 | /** |
||
58 | * @param string|resource $contents |
||
59 | */ |
||
60 | public function write($contents) |
||
64 | |||
65 | public function read(): ?string |
||
69 | |||
70 | public function readStream() |
||
74 | |||
75 | public function delete() |
||
79 | |||
80 | public function createdAt(): Carbon |
||
86 | |||
87 | protected function getNameParts(): array |
||
101 | } |
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.