Code Duplication    Length = 3-3 lines in 2 locations

src/voku/helper/HtmlDomParser.php 1 location

@@ 138-140 (lines=3) @@
135
  {
136
    $name = strtolower($name);
137
138
    if (isset(self::$functionAliases[$name])) {
139
      return call_user_func_array(array($this, self::$functionAliases[$name]), $arguments);
140
    }
141
142
    throw new BadMethodCallException('Method does not exist: ' . $name);
143
  }

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
  }