1 | <?php |
||||
2 | |||||
3 | namespace App\Observers; |
||||
4 | |||||
5 | use App\Models\Service; |
||||
6 | |||||
7 | class ServiceObserver |
||||
8 | { |
||||
9 | /** |
||||
10 | * Handle the service "created" event. |
||||
11 | * |
||||
12 | * @param \App\Models\Service $service |
||||
13 | * @return void |
||||
14 | */ |
||||
15 | public function created(Service $service) |
||||
0 ignored issues
–
show
|
|||||
16 | { |
||||
17 | // |
||||
18 | } |
||||
19 | |||||
20 | /** |
||||
21 | * Handle the service "updated" event. |
||||
22 | * |
||||
23 | * @param \App\Models\Service $service |
||||
24 | * @return void |
||||
25 | */ |
||||
26 | public function updated(Service $service) |
||||
0 ignored issues
–
show
The parameter
$service is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
Loading history...
|
|||||
27 | { |
||||
28 | // |
||||
29 | } |
||||
30 | |||||
31 | /** |
||||
32 | * Handle the service "deleted" event. |
||||
33 | * |
||||
34 | * @param \App\Models\Service $service |
||||
35 | * @return void |
||||
36 | */ |
||||
37 | public function deleted(Service $service) |
||||
0 ignored issues
–
show
The parameter
$service is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
Loading history...
|
|||||
38 | { |
||||
39 | // |
||||
40 | } |
||||
41 | |||||
42 | /** |
||||
43 | * Handle the service "restored" event. |
||||
44 | * |
||||
45 | * @param \App\Models\Service $service |
||||
46 | * @return void |
||||
47 | */ |
||||
48 | public function restored(Service $service) |
||||
0 ignored issues
–
show
The parameter
$service is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
Loading history...
|
|||||
49 | { |
||||
50 | // |
||||
51 | } |
||||
52 | |||||
53 | /** |
||||
54 | * Handle the service "force deleted" event. |
||||
55 | * |
||||
56 | * @param \App\Models\Service $service |
||||
57 | * @return void |
||||
58 | */ |
||||
59 | public function forceDeleted(Service $service) |
||||
0 ignored issues
–
show
The parameter
$service is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
Loading history...
|
|||||
60 | { |
||||
61 | // |
||||
62 | } |
||||
63 | } |
||||
64 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.