Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
merged 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 25, 2012
2 parents 4e509e3 + 6329e84 commit e3a3ef9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ApcUniversalClassLoader.php
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
2 changes: 1 addition & 1 deletion ClassCollectionLoader.php
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 UniversalClassLoader.php
Expand Up @@ -216,8 +216,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 e3a3ef9

Please sign in to comment.