faithgen /
laravel-sdk
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace FaithGen\SDK\Observers; |
||||
| 4 | |||||
| 5 | use FaithGen\SDK\Models\Image; |
||||
| 6 | |||||
| 7 | class ImageObserver |
||||
| 8 | { |
||||
| 9 | /** |
||||
| 10 | * Handle the image "created" event. |
||||
| 11 | * |
||||
| 12 | * @param \App\Models\Image $image |
||||
|
0 ignored issues
–
show
|
|||||
| 13 | * @return void |
||||
| 14 | */ |
||||
| 15 | public function created(Image $image) |
||||
|
0 ignored issues
–
show
The parameter
$image 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...
|
|||||
| 16 | { |
||||
| 17 | // |
||||
| 18 | } |
||||
| 19 | |||||
| 20 | /** |
||||
| 21 | * Handle the image "updated" event. |
||||
| 22 | * |
||||
| 23 | * @param \App\Models\Image $image |
||||
| 24 | * @return void |
||||
| 25 | */ |
||||
| 26 | public function updated(Image $image) |
||||
|
0 ignored issues
–
show
The parameter
$image 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 image "deleted" event. |
||||
| 33 | * |
||||
| 34 | * @param \App\Models\Image $image |
||||
| 35 | * @return void |
||||
| 36 | */ |
||||
| 37 | public function deleted(Image $image) |
||||
|
0 ignored issues
–
show
The parameter
$image 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 image "restored" event. |
||||
| 44 | * |
||||
| 45 | * @param \App\Models\Image $image |
||||
| 46 | * @return void |
||||
| 47 | */ |
||||
| 48 | public function restored(Image $image) |
||||
|
0 ignored issues
–
show
The parameter
$image 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 image "force deleted" event. |
||||
| 55 | * |
||||
| 56 | * @param \App\Models\Image $image |
||||
| 57 | * @return void |
||||
| 58 | */ |
||||
| 59 | public function forceDeleted(Image $image) |
||||
|
0 ignored issues
–
show
The parameter
$image 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 |
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