| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 31 | public function init()  | 
            ||
| 32 |     { | 
            ||
| 33 | $this->toggleButtonOptions = ArrayHelper::remove($this->ajaxModalOptions, 'toggleButton');  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 34 | $this->ajaxModalOptions['toggleButton'] = false;  | 
            ||
| 35 |         $this->view->on(View::EVENT_END_BODY, function ($event) { | 
            ||
| 36 | echo AjaxModal::widget($this->ajaxModalOptions);  | 
            ||
| 37 | });  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 62 | 
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..