Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function __construct() |
||
31 | { |
||
32 | if (is_null(config("laravel-n11.api_key")) || is_null(config("laravel-n11.api_secret"))) { |
||
33 | { |
||
34 | throw new N11Exception("API KEY or API SECRET cannot be null"); |
||
35 | } |
||
36 | } |
||
37 | $this->_parameters = ['auth' => ['appKey' => config("laravel-n11.api_key"), 'appSecret' => config("laravel-n11.api_secret")]]; |
||
|
|||
38 | } |
||
39 | |||
51 |
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..