| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ToggleActiveContact extends Component |
||
| 9 | { |
||
| 10 | public $contact; |
||
| 11 | |||
| 12 | public $active = true; |
||
| 13 | |||
| 14 | protected $listeners = ['active_toggle' => 'activeToggle']; |
||
| 15 | |||
| 16 | public function mount(Contact $contact) |
||
| 17 | { |
||
| 18 | $this->contact = $contact; |
||
| 19 | $this->active = $contact->active; |
||
| 20 | } |
||
| 21 | |||
| 22 | |||
| 23 | public function activeToggle($id) |
||
| 34 | } |
||
| 35 | } |
||
| 36 | public function render() |
||
| 41 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths