Skip to content

Commit

Permalink
Fix wrong @throws annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 4, 2024
1 parent 78466e8 commit 00c43a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runtime/EscaperRuntime.php
Expand Up @@ -83,7 +83,7 @@ public function addSafeClass(string $class, array $strategies)
* @param string|null $charset The charset
* @param bool $autoescape Whether the function is called by the auto-escaping feature (true) or by the developer (false)
*
* @throws RuntimeException
* @throws RuntimeError
*/
public function escape($string, string $strategy = 'html', ?string $charset = null, bool $autoescape = false)
{
Expand Down

0 comments on commit 00c43a9

Please sign in to comment.