Code Duplication    Length = 3-3 lines in 2 locations

src/voku/helper/HtmlDomParser.php 1 location

@@ 161-163 (lines=3) @@
158
  {
159
    $name = strtolower($name);
160
161
    if (isset(self::$functionAliases[$name])) {
162
      return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments);
163
    }
164
165
    throw new BadMethodCallException('Method does not exist: ' . $name);
166
  }

src/voku/helper/SimpleHtmlDom.php 1 location

@@ 76-78 (lines=3) @@
73
   */
74
  public function __call($name, $arguments)
75
  {
76
    if (isset(self::$functionAliases[$name])) {
77
      return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments);
78
    }
79
80
    throw new BadMethodCallException('Method does not exist');
81
  }