minor #13054 [2.3] CS Fixes (GrahamCampbell)

This PR was squashed before being merged into the 2.3 branch (closes #13054).

Discussion
----------

[2.3] CS Fixes

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

##### This pull request provides some cs fixes.

Commits
-------

b521c20 [2.3] CS Fixes
This commit is contained in:
Fabien Potencier 2014-12-21 15:56:19 +01:00
commit ff52a9f928
12 changed files with 19 additions and 21 deletions

View File

@ -10,7 +10,6 @@ class DummyProvider implements UserProviderFactoryInterface
{ {
public function create(ContainerBuilder $container, $id, $config) public function create(ContainerBuilder $container, $id, $config)
{ {
} }
public function getKey() public function getKey()
@ -20,6 +19,5 @@ class DummyProvider implements UserProviderFactoryInterface
public function addConfiguration(NodeDefinition $node) public function addConfiguration(NodeDefinition $node)
{ {
} }
} }

View File

@ -44,10 +44,9 @@ class ApcClassLoader
private $prefix; private $prefix;
/** /**
* The class loader object being decorated. * A class loader object that implements the findFile() method.
* *
* @var object * @var object
* A class loader object that implements the findFile() method.
*/ */
protected $decorated; protected $decorated;

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\ClassLoader; namespace Symfony\Component\ClassLoader;
/** /**
* ClassLoader implements an PSR-0 class loader * ClassLoader implements an PSR-0 class loader.
* *
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
* *
@ -76,7 +76,7 @@ class ClassLoader
} }
/** /**
* Registers a set of classes * Registers a set of classes.
* *
* @param string $prefix The classes prefix * @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes * @param array|string $paths The location(s) of the classes

View File

@ -20,14 +20,14 @@ if (!defined('SYMFONY_TRAIT')) {
} }
/** /**
* ClassMapGenerator * ClassMapGenerator.
* *
* @author Gyula Sallai <salla016@gmail.com> * @author Gyula Sallai <salla016@gmail.com>
*/ */
class ClassMapGenerator class ClassMapGenerator
{ {
/** /**
* Generate a class map file * Generate a class map file.
* *
* @param array|string $dirs Directories or a single path to search in * @param array|string $dirs Directories or a single path to search in
* @param string $file The name of the class map file * @param string $file The name of the class map file
@ -45,7 +45,7 @@ class ClassMapGenerator
} }
/** /**
* Iterate over all files in the given directory searching for classes * Iterate over all files in the given directory searching for classes.
* *
* @param \Iterator|string $dir The directory to search in or an iterator * @param \Iterator|string $dir The directory to search in or an iterator
* *
@ -81,7 +81,7 @@ class ClassMapGenerator
} }
/** /**
* Extract the classes in the given file * Extract the classes in the given file.
* *
* @param string $path The file to check * @param string $path The file to check
* *

View File

@ -70,7 +70,7 @@ class DebugClassLoader
} }
/** /**
* Finds a file by class name * Finds a file by class name.
* *
* @param string $class A class name to resolve to file * @param string $class A class name to resolve to file
* *

View File

@ -68,7 +68,7 @@ class UniversalClassLoader
/** /**
* Turns on searching the include for class files. Allows easy loading * Turns on searching the include for class files. Allows easy loading
* of installed PEAR packages * of installed PEAR packages.
* *
* @param bool $useIncludePath * @param bool $useIncludePath
*/ */
@ -173,7 +173,7 @@ class UniversalClassLoader
} }
/** /**
* Registers an array of namespaces * Registers an array of namespaces.
* *
* @param array $namespaces An array of namespaces (namespaces as keys and locations as values) * @param array $namespaces An array of namespaces (namespaces as keys and locations as values)
* *

View File

@ -43,10 +43,9 @@ class WinCacheClassLoader
private $prefix; private $prefix;
/** /**
* The class loader object being decorated.
*
* @var \Symfony\Component\ClassLoader\ClassLoader
* A class loader object that implements the findFile() method. * A class loader object that implements the findFile() method.
*
* @var object
*/ */
protected $decorated; protected $decorated;

View File

@ -45,7 +45,9 @@ class XcacheClassLoader
private $prefix; private $prefix;
/** /**
* @var object A class loader object that implements the findFile() method * A class loader object that implements the findFile() method.
*
* @var object
*/ */
private $decorated; private $decorated;