From 337c59cac02dad7f3ddbfa193f44e3091e2917ea Mon Sep 17 00:00:00 2001 From: guillaumesmo Date: Thu, 17 Jan 2019 12:12:21 +0100 Subject: [PATCH] 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 --- configuration/micro_kernel_trait.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/micro_kernel_trait.rst b/configuration/micro_kernel_trait.rst index 625f7578f2c..f6b5eedf1f6 100644 --- a/configuration/micro_kernel_trait.rst +++ b/configuration/micro_kernel_trait.rst @@ -55,7 +55,7 @@ Next, create an ``index.php`` file that defines the kernel class and executes it { // kernel is a service that points to this class // optional 3rd argument is the route name - $routes->add('/random/{limit}', 'Kernel::randomNumber'); + $routes->add('/random/{limit}', 'kernel::randomNumber'); } public function randomNumber($limit)