1 | <?php |
||||
2 | |||||
3 | namespace VGirol\JsonApi\Commands; |
||||
4 | |||||
5 | trait InteractsWithResults |
||||
6 | { |
||||
7 | /** |
||||
8 | * Undocumented function |
||||
9 | * |
||||
10 | * @return array |
||||
11 | */ |
||||
12 | abstract public function collectResults(): array; |
||||
13 | |||||
14 | /** |
||||
15 | * Undocumented function |
||||
16 | * |
||||
17 | * @return string |
||||
18 | */ |
||||
19 | protected function getCompleteClassName(): string |
||||
20 | { |
||||
21 | return $this->qualifyClass($this->getNameInput()); |
||||
0 ignored issues
–
show
Bug
introduced
by
![]() It seems like
getNameInput() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
22 | } |
||||
23 | } |
||||
24 |