Skip to content

Commit a932877

Browse files
committed
Dev: Add the param type.
1 parent 336a86a commit a932877

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

system/Security/Exceptions/SecurityException.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ public static function forDisallowedAction()
2929
/**
3030
* Throws when the source string contains invalid UTF-8 characters.
3131
*
32+
* @param string $source The source string
33+
* @param string $string The invalid string
34+
*
3235
* @return static
3336
*/
3437
public static function forInvalidUTF8Chars(string $source, string $string)
@@ -42,6 +45,9 @@ public static function forInvalidUTF8Chars(string $source, string $string)
4245
/**
4346
* Throws when the source string contains invalid control characters.
4447
*
48+
* @param string $source The source string
49+
* @param string $string The invalid string
50+
*
4551
* @return static
4652
*/
4753
public static function forInvalidControlChars(string $source, string $string)

0 commit comments

Comments
 (0)