| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 54 | public function isOrderInProgress(Article $articles, ObjectManager $etm)  | 
            ||
| 55 |     { | 
            ||
| 56 | $return = false;  | 
            ||
| 57 |         $orders = $etm->getRepository('AppBundle:Orders')->findAll(); | 
            ||
| 58 | // This provider already has an order in progress!  | 
            ||
| 59 |         foreach ($orders as $order) { | 
            ||
| 60 |             if ($order->getSupplier() === $articles->getSupplier()) { | 
            ||
| 61 | $return = true;  | 
            ||
| 62 | }  | 
            ||
| 63 | }  | 
            ||
| 64 | return $return;  | 
            ||
| 65 | }  | 
            ||
| 66 | }  | 
            ||
| 67 | 
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.