public function addExcludedFromDiffMethod($method) { if (!is_array($method)) { $method = [$method]; } foreach ($method as $m) { $this->no_diff_methods[] = $this->getUnifiedMethodName($m); } }