| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ScriptWasReviewedEvent extends Event |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * The listeners that will be fired when the event is dispatched. |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | public $listeners = []; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var Script |
||
| 20 | */ |
||
| 21 | public $scriptReview; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new event instance. |
||
| 25 | * |
||
| 26 | */ |
||
| 27 | public function __construct(ScriptReview $scriptReview) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get the channels the event should be broadcast on. |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function broadcastOn() |
||
| 42 |
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..