Skip to content

Commit 8906141

Browse files
authored
Adjust method signature in documentation example
1 parent 91cca7a commit 8906141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ such as portions of a controller action, service logic or view rendering::
331331

332332
use DebugKit\DebugTimer;
333333

334-
public function view($id): \Cake\Http\Response
334+
public function view($id)
335335
{
336336
DebugTimer::start('load_article', 'Fetching article from database');
337337
// Code to measure the execution time for

0 commit comments

Comments
 (0)