| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 17 | 1 | public static function radiansToDegrees($radians) |
|
| 18 | { |
||
| 19 | 1 | $radians = Numbers::makeOrDont(Numbers::IMMUTABLE, $radians); |
|
| 20 | 1 | $pi = Numbers::makePi($radians->getPrecision() + 2); |
|
| 21 | |||
| 22 | 1 | return $radians->multiply(180)->divide($pi)->round($radians->getPrecision()-2)->getValue(); |
|
| 23 | } |
||
| 39 | } |
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.