Skip to content

Commit

Permalink
merged branch gajdaw/2_0_component_classloader_cs (PR #4072)
Browse files Browse the repository at this point in the history
Commits
-------

54ec687 [2.0][Component][ClassLoader] cs

Discussion
----------

[2.0][Component][ClassLoader] CS

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
  • Loading branch information
fabpot committed Apr 23, 2012
2 parents 18e5482 + 54ec687 commit c0d2ca5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/ClassLoader/ApcUniversalClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public function __construct($prefix)
* Finds a file by class name while caching lookups to APC.
*
* @param string $class A class name to resolve to file
*
* @return string|null The path, if found
*/
public function findFile($class)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static public function fixNamespaceDeclarations($source)
/**
* Writes a cache file.
*
* @param string $file Filename
* @param string $file Filename
* @param string $content Temporary file content
*
* @throws \RuntimeException when a cache file cannot be written
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/ClassLoader/UniversalClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ public function registerPrefixes(array $classes)
/**
* Registers a set of classes using the PEAR naming convention.
*
* @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes
* @param string $prefix The classes prefix
* @param array|string $paths The location(s) of the classes
*
* @api
*/
Expand Down

0 comments on commit c0d2ca5

Please sign in to comment.