| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function behaviors() |
||
| 22 | { |
||
| 23 | return [ |
||
| 24 | 'access' => [ |
||
| 25 | 'class' => AccessControl::class, |
||
| 26 | 'rules' => [ |
||
| 27 | [ |
||
| 28 | 'allow' => true, |
||
| 29 | 'roles' => ['managerRbac'], |
||
| 30 | ], |
||
| 31 | ], |
||
| 32 | ], |
||
| 33 | 'verbs' => [ |
||
| 34 | 'class' => VerbFilter::class, |
||
| 35 | 'actions' => [ |
||
| 36 | 'init' => YII_ENV_TEST ? ['GET'] : ['POST'], |
||
| 37 | ], |
||
| 66 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.