mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update system/Entity/Cast/URICast.php
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
This commit is contained in:
parent
038a1578bb
commit
d91ae4f069
@ -21,7 +21,7 @@ class URICast extends BaseCast
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public static function get($value, array $params = []): object
|
||||
public static function get($value, array $params = []): URI
|
||||
{
|
||||
return $value instanceof URI ? $value : new URI($value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user