Double "for" in comment.
This commit is contained in:
parent
2a5697c12c
commit
0000ffc8c2
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue