Total Complexity | 9 |
Total Lines | 71 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class DocumentFactory extends BaseFactory |
||
10 | { |
||
11 | use HasData; |
||
12 | use HasErrors; |
||
13 | use HasLinks; |
||
14 | use HasMeta; |
||
15 | |||
16 | /** |
||
17 | * Undocumented variable |
||
18 | * |
||
19 | * @var CollectionFactory |
||
20 | */ |
||
21 | public $included; |
||
22 | |||
23 | /** |
||
24 | * Undocumented variable |
||
25 | * |
||
26 | * @var JsonapiFactory |
||
27 | */ |
||
28 | public $jsonapi; |
||
29 | |||
30 | /** |
||
31 | * Undocumented function |
||
32 | * |
||
33 | * @param CollectionFactory $included |
||
34 | * @return static |
||
35 | */ |
||
36 | public function setIncluded($included) |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Undocumented function |
||
45 | * |
||
46 | * @param JsonapiFactory $jsonapi |
||
47 | * @return static |
||
48 | */ |
||
49 | public function setJsonapi($jsonapi) |
||
54 | } |
||
55 | |||
56 | public function toArray(): array |
||
82 |
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.