mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Dev: Add the param type.
This commit is contained in:
parent
336a86a9b0
commit
a9328774d1
@ -29,6 +29,9 @@ class SecurityException extends FrameworkException implements HTTPExceptionInter
|
|||||||
/**
|
/**
|
||||||
* Throws when the source string contains invalid UTF-8 characters.
|
* Throws when the source string contains invalid UTF-8 characters.
|
||||||
*
|
*
|
||||||
|
* @param string $source The source string
|
||||||
|
* @param string $string The invalid string
|
||||||
|
*
|
||||||
* @return static
|
* @return static
|
||||||
*/
|
*/
|
||||||
public static function forInvalidUTF8Chars(string $source, string $string)
|
public static function forInvalidUTF8Chars(string $source, string $string)
|
||||||
@ -42,6 +45,9 @@ class SecurityException extends FrameworkException implements HTTPExceptionInter
|
|||||||
/**
|
/**
|
||||||
* Throws when the source string contains invalid control characters.
|
* Throws when the source string contains invalid control characters.
|
||||||
*
|
*
|
||||||
|
* @param string $source The source string
|
||||||
|
* @param string $string The invalid string
|
||||||
|
*
|
||||||
* @return static
|
* @return static
|
||||||
*/
|
*/
|
||||||
public static function forInvalidControlChars(string $source, string $string)
|
public static function forInvalidControlChars(string $source, string $string)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user