| Conditions | 3 |
| Paths | 3 |
| Total Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public function hasMethod(ClassReflection $classReflection, string $methodName): bool |
||
| 43 | { |
||
| 44 | return ($classReflection->isSubclassOf(BelongsToMany::class) || $classReflection->getName() === BelongsToMany::class) && $this->broker->getClass(BelongsToMany::class) |
||
| 45 | ->hasNativeMethod($methodName); |
||
| 46 | } |
||
| 57 |