public function setsArgument($indexOrValue = null, $value = null) { if (func_num_args() > 1) { $this->stub->setsArgument($indexOrValue, $value); } else { $this->stub->setsArgument($indexOrValue); } return $this; }