Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class Notification implements NotificationServiceContract |
||
16 | { |
||
17 | public function find($id): ?Machine |
||
20 | } |
||
21 | |||
22 | public function update($id, $data): Machine |
||
23 | { |
||
24 | $user = $this->find($id); |
||
25 | $user->update($data); |
||
26 | |||
27 | return $user; |
||
28 | } |
||
29 | |||
30 | public function create($data): Machine |
||
31 | { |
||
32 | $machine = Machine::create($data); |
||
33 | event(new MachineRegisteredEvent($machine)); |
||
34 | |||
35 | return $machine; |
||
36 | } |
||
37 | |||
38 | public function delete($id): bool |
||
41 | } |
||
42 | } |
||
43 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths