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 lastProcessedEventId(): int |
||
34 | |||
35 | public function projectorName(): string |
||
39 | |||
40 | public function getProjector(): Projector |
||
46 | |||
47 | public function name(): string |
||
51 | |||
52 | /** |
||
53 | * @param string|resource $contents |
||
54 | */ |
||
55 | public function write($contents) |
||
59 | |||
60 | public function read(): ?string |
||
64 | |||
65 | public function readStream() |
||
69 | |||
70 | public function delete() |
||
74 | |||
75 | public function createdAt(): Carbon |
||
81 | |||
82 | protected function getNameParts(): array |
||
96 | } |
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.