| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | 4 | } |
|
| 18 | |||
| 19 | 4 | public static function getModelTable($instance) |
|
| 20 | 4 | { |
|
| 21 | 4 | return Container::singleton(interfaces\TableNameResolverInterface::class)->getTableName($instance); |
|
| 22 | 4 | } |
|
| 23 | 4 | ||
| 24 | 4 | public static function getClassName($model, $context = null) |
|
| 25 | { |
||
| 26 | return Container::singleton(interfaces\ClassResolverInterface::class)->getClassName($model, $context); |
||
| 34 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.