Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2 into ZF2-377
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-mabe committed Jul 17, 2012
6 parents 660eb19 + 587b0dd + 4daeba0 + 13e8cbe + 7100033 + 50b1c92 commit 86e6515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AutoloaderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ protected static function getStandardAutoloader()
*/
protected static function isSubclassOf($className, $type)
{
if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
return is_subclass_of($className, $type);
}
if (is_subclass_of($className, $type)) {
return true;
}
if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
return false;
}
if (!interface_exists($type)) {
return false;
}
Expand Down

0 comments on commit 86e6515

Please sign in to comment.