1 | <?php |
||
29 | class MessengerThread extends Model |
||
30 | { |
||
31 | use \Venturecraft\Revisionable\RevisionableTrait; |
||
32 | public $timestamps = true; |
||
|
|||
33 | protected $table = 'messenger_threads'; |
||
34 | protected $fillable = [ |
||
35 | 'subject', |
||
36 | ]; |
||
37 | |||
38 | protected $guarded = []; |
||
39 | |||
40 | public function participants() |
||
44 | } |
||
45 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.