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

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoloaderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ protected static function isSubclassOf($className, $type)
if (is_subclass_of($className, $type)) {
return true;
}
if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
if (PHP_VERSION_ID >= 50307) {
return false;
}
if (!interface_exists($type)) {
Expand Down

0 comments on commit 98ec3e0

Please sign in to comment.