Commit 1b8bea92 authored by Fabien Potencier's avatar Fabien Potencier

minor #1061 Fix: Add missing method visibility in interface excerpts (localheinz)

This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1061).

Discussion
----------

Fix: Add missing method visibility in interface excerpts

PSR-2, that's why.

Commits
-------

fc9c1b7d Fix: Add missing method visibility in interface excerpts
parents 2114f0d9 fc9c1b7d
......@@ -84,9 +84,9 @@ Providers must implement the ``Silex\ServiceProviderInterface``::
interface ServiceProviderInterface
{
function register(Application $app);
public function register(Application $app);
function boot(Application $app);
public function boot(Application $app);
}
This is very straight forward, just create a new class that implements the two
......@@ -165,7 +165,7 @@ Providers must implement the ``Silex\ControllerProviderInterface``::
interface ControllerProviderInterface
{
function connect(Application $app);
public function connect(Application $app);
}
Here is an example of such a provider::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment