Code Duplication    Length = 4-4 lines in 2 locations

src/HookOverride_extend.php 2 locations

@@ 63-66 (lines=4) @@
60
  }
61
62
  public function __invoke() {
63
    if (method_exists($this->_hookObject, '__invoke')) {
64
      $args = func_get_args();
65
      return call_user_func_array(array($this->_hookObject, '__invoke'), $args);
66
    }
67
  }
68
69
  public function __set_state() {
@@ 70-73 (lines=4) @@
67
  }
68
69
  public function __set_state() {
70
    if (method_exists($this->_hookObject, '__set_state')) {
71
      $args = func_get_args();
72
      return call_user_func_array(array($this->_hookObject, '__set_state'), $args);
73
    }
74
  }
75
76
  public function __clone() {