Skip to content

Commit 585f3ed

Browse files
committed
minor #10895 Update micro_kernel_trait.rst (guillaumesmo)
This PR was merged into the 4.1 branch. Discussion ---------- 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 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 337c59c Update micro_kernel_trait.rst
2 parents 8e9bba2 + 337c59c commit 585f3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/micro_kernel_trait.rst

+1-1
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)