Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
33 | public function assemble() |
||
34 | { |
||
35 | /** |
||
36 | * Create a new database record |
||
37 | */ |
||
38 | self::create($this->user, $this->content, Notifications::SYSTEM, $this->systemModule); |
||
1 ignored issue
–
show
|
|||
39 | |||
40 | return $this->content . " From System"; |
||
41 | } |
||
43 |
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..