mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: add return type
This commit is contained in:
parent
1abb58b4a4
commit
d7b7fcdfcc
@ -17,7 +17,7 @@ use CodeIgniter\Controller;
|
||||
|
||||
class Errors extends Controller
|
||||
{
|
||||
public function show404(string $message)
|
||||
public function show404(string $message): string
|
||||
{
|
||||
return $message;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user