Skip to content

Commit

Permalink
minor #10895 Update micro_kernel_trait.rst (guillaumesmo)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
javiereguiluz committed Jan 17, 2019
2 parents 8e9bba2 + 337c59c commit 585f3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 585f3ed

Please sign in to comment.