From b4dedd9c31fa270757357edc6fc7159f8e1b6cbe Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 26 Sep 2013 20:43:06 +0200 Subject: [PATCH] CS fixes --- components/dependency_injection/definitions.rst | 2 +- components/filesystem.rst | 4 ++-- cookbook/configuration/apache_router.rst | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/dependency_injection/definitions.rst b/components/dependency_injection/definitions.rst index 2b1dbac6d43..6c930edf95c 100644 --- a/components/dependency_injection/definitions.rst +++ b/components/dependency_injection/definitions.rst @@ -66,7 +66,7 @@ To get an array of the constructor arguments for a definition you can use:: or to get a single argument by its position:: $definition->getArgument($index); - //e.g. $definition->getArgument(0) for the first argument + // e.g. $definition->getArgument(0) for the first argument You can add a new argument to the end of the arguments array using:: diff --git a/components/filesystem.rst b/components/filesystem.rst index 5b1dc701217..44e010b88d1 100644 --- a/components/filesystem.rst +++ b/components/filesystem.rst @@ -178,9 +178,9 @@ Rename :method:`Symfony\\Component\\Filesystem\\Filesystem::rename` is used to rename files and directories:: - //rename a file + // rename a file $fs->rename('/tmp/processed_video.ogg', '/path/to/store/video_647.ogg'); - //rename a directory + // rename a directory $fs->rename('/tmp/files', '/path/to/store/files'); symlink diff --git a/cookbook/configuration/apache_router.rst b/cookbook/configuration/apache_router.rst index beac6121416..451596d3540 100644 --- a/cookbook/configuration/apache_router.rst +++ b/cookbook/configuration/apache_router.rst @@ -129,11 +129,11 @@ to ``ApacheRequest`` in ``web/app.php``:: require_once __DIR__.'/../app/bootstrap.php.cache'; require_once __DIR__.'/../app/AppKernel.php'; - //require_once __DIR__.'/../app/AppCache.php'; + // require_once __DIR__.'/../app/AppCache.php'; use Symfony\Component\HttpFoundation\ApacheRequest; $kernel = new AppKernel('prod', false); $kernel->loadClassCache(); - //$kernel = new AppCache($kernel); + // $kernel = new AppCache($kernel); $kernel->handle(ApacheRequest::createFromGlobals())->send();