1 | <?php |
||
9 | class Snapshot |
||
10 | { |
||
11 | /** @var \Spatie\EventProjector\EventProjectionist */ |
||
12 | protected $eventProjectionist; |
||
13 | |||
14 | /** @var \Illuminate\Contracts\Filesystem\Filesystem */ |
||
15 | protected $disk; |
||
16 | |||
17 | /** @var string */ |
||
18 | protected $fileName; |
||
19 | |||
20 | public function __construct(EventProjectionist $eventProjectionist, Filesystem $disk, string $fileName) |
||
28 | |||
29 | public function getLastProcessedEventId(): int |
||
33 | |||
34 | public function getProjectorName(): string |
||
38 | |||
39 | public function getProjector(): Projector |
||
45 | |||
46 | public function getName(): string |
||
50 | |||
51 | /** |
||
52 | * @param string|resource $contents |
||
53 | */ |
||
54 | public function write($contents) |
||
58 | |||
59 | public function read(): ?string |
||
63 | |||
64 | public function readStream() |
||
68 | |||
69 | protected function getNameParts(): array |
||
83 | |||
84 | public function delete() |
||
88 | } |
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.