Total Complexity | 6 |
Total Lines | 61 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class AlbumObserver |
||
11 | { |
||
12 | use FileTraits; |
||
13 | |||
14 | /** |
||
15 | * Handle the album "created" event. |
||
16 | * |
||
17 | * @param \App\Models\Ministry\Album $album |
||
|
|||
18 | * @return void |
||
19 | */ |
||
20 | public function created(Album $album) |
||
21 | { |
||
22 | //event(new Created($album)); |
||
23 | MessageFollowers::dispatch(); |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Handle the album "updated" event. |
||
28 | * |
||
29 | * @param \App\Models\Ministry\Album $album |
||
30 | * @return void |
||
31 | */ |
||
32 | public function updated(Album $album) |
||
33 | { |
||
34 | // |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Handle the album "deleted" event. |
||
39 | * |
||
40 | * @param \App\Models\Ministry\Album $album |
||
41 | * @return void |
||
42 | */ |
||
43 | public function deleted(Album $album) |
||
49 | } |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * Handle the album "restored" event. |
||
54 | * |
||
55 | * @param \App\Models\Ministry\Album $album |
||
56 | * @return void |
||
57 | */ |
||
58 | public function restored(Album $album) |
||
60 | // |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * Handle the album "force deleted" event. |
||
65 | * |
||
66 | * @param \App\Models\Ministry\Album $album |
||
67 | * @return void |
||
68 | */ |
||
69 | public function forceDeleted(Album $album) |
||
74 |
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