Double "for" in comment.

This commit is contained in:
Daniel Anechitoaie 2011-11-21 23:07:12 +02:00
parent 2a5697c12c
commit 0000ffc8c2
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ public static function load($class)
protected static function find($class)
{
// After PHP namespaces were introduced, most libaries ditched underscores for
// for namespaces to indicate the class directory hierarchy. We will check for
// the presence of namespace slashes to determine the directory separator.
// namespaces to indicate the class directory hierarchy. We will check for the
// presence of namespace slashes to determine the directory separator.
$separator = (strpos($class, '\\') !== false) ? '\\' : '_';
$library = substr($class, 0, strpos($class, $separator));