Skip to content

Commit

Permalink
idk what Codacy wants from me
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Dec 24, 2024
1 parent 81c9451 commit 71f91ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Discord/Repository/AbstractRepositoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ public function __call($name, $arguments): mixed
return $this->{"__Collection__{$name}"}(...$arguments);
}

throw new \BadMethodCallException("Method " . htmlspecialchars($name, ENT_QUOTES, 'UTF-8') . " does not exist.");
$name = htmlspecialchars($name, ENT_QUOTES, 'UTF-8');
throw new \BadMethodCallException("Method $name does not exist.");
}
}

0 comments on commit 71f91ff

Please sign in to comment.