Completed
Push — develop ( 532ce1...0c86ee )
by Francisco
03:11
created

ExchangeWasDeclined::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace App\Events;
4
5
use App\Judite\Models\Exchange;
6
use Illuminate\Queue\SerializesModels;
7
use Illuminate\Foundation\Events\Dispatchable;
8
9
class ExchangeWasDeclined
10
{
11
    use Dispatchable, SerializesModels;
12
13
    /**
14
     * The declined exchange.
15
     * @var \App\Judite\Models\Exchange.
0 ignored issues
show
Bug introduced by
The type App\Judite\Models\Exchange. 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
16
     */
17
    public $exchange;
18
19
    /**
20
     * Create a new event instance.
21
     */
22
    public function __construct(Exchange $exchange)
23
    {
24
        $this->exchange = $exchange;
0 ignored issues
show
Documentation Bug introduced by
It seems like $exchange of type App\Judite\Models\Exchange is incompatible with the declared type App\Judite\Models\Exchange. of property $exchange.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
25
    }
26
}
27