Code Duplication    Length = 3-3 lines in 2 locations

Entity/EntityRepository.php 2 locations

@@ 63-65 (lines=3) @@
60
     */
61
    public function __call($name, $arguments)
62
    {
63
        if (method_exists($this->getRepository(), $name)) {
64
            return call_user_func_array([$this->getRepository(), $name], $arguments);
65
        }
66
67
        if (method_exists($this->manager, $name)) {
68
            return call_user_func_array([$this->manager, $name], $arguments);
@@ 67-69 (lines=3) @@
64
            return call_user_func_array([$this->getRepository(), $name], $arguments);
65
        }
66
67
        if (method_exists($this->manager, $name)) {
68
            return call_user_func_array([$this->manager, $name], $arguments);
69
        }
70
    }
71
72
    /**