1 | <?php |
||||||
2 | |||||||
3 | namespace App\Notifications; |
||||||
4 | |||||||
5 | use Illuminate\Contracts\Queue\ShouldQueue; |
||||||
6 | use Illuminate\Notifications\Notification; |
||||||
7 | |||||||
8 | class H5pNotification extends Notification implements ShouldQueue |
||||||
9 | { |
||||||
10 | public function handle(OrderShipped $event) |
||||||
0 ignored issues
–
show
The type
App\Notifications\OrderShipped was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||||||
11 | { |
||||||
12 | // |
||||||
13 | } |
||||||
14 | |||||||
15 | public function failed(OrderShipped $event, $exception) |
||||||
0 ignored issues
–
show
The parameter
$event 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. ![]() The parameter
$exception 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. ![]() |
|||||||
16 | { |
||||||
17 | // |
||||||
18 | } |
||||||
19 | } |
||||||
20 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.