Skip to content

Commit 337c59c

Browse files
authored
Update micro_kernel_trait.rst
Fixes #10858 this was previously (in 4.0) kernel:randomNumber, it was changed to Kernel::randomNumber but that doesn't work
1 parent 8e9bba2 commit 337c59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Next, create an ``index.php`` file that defines the kernel class and executes it
5555
{
5656
// kernel is a service that points to this class
5757
// optional 3rd argument is the route name
58-
$routes->add('/random/{limit}', 'Kernel::randomNumber');
58+
$routes->add('/random/{limit}', 'kernel::randomNumber');
5959
}
6060

6161
public function randomNumber($limit)

0 commit comments

Comments
 (0)