| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 32 | public function testCallInvalid() |
||
| 33 | { |
||
| 34 | $this->setExpectedException( '\Aimeos\Controller\Frontend\Exception' ); |
||
| 35 | $this->object->invalidMethod(); |
||
|
1 ignored issue
–
show
|
|||
| 36 | } |
||
| 37 | |||
| 49 | } |
If you implement
__calland you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__callis implemented by a parent class and only the child class knows which methods exist: