| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | public function frmAction(){ |
||
| 15 | $typesUser = TypeUser::find(); |
||
| 16 | $operations = Operation::find(); |
||
| 17 | $ressources = Ressource::find(); |
||
| 18 | |||
| 19 | $this->view->setVar("operations",$operations); |
||
| 20 | $this->view->setVar("ressources",$ressources); |
||
| 21 | $this->view->setVar("typesUser",$typesUser); |
||
| 22 | |||
| 23 | } |
||
| 24 | |||
| 29 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.