Skip to content

Commit 92574e4

Browse files
committed
Merge pull request #117 from AlexeyDsov/support54
ClassUtils fix for php 5.4 support
2 parents 2690b88 + ad54db9 commit 92574e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/Utils/ClassUtils.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ public static function checkStaticMethod($methodSignature)
223223
if (
224224
!class_exists($className)
225225
&& !interface_exists($className)
226+
&& !(function_exists('trait_exists') && trait_exists($className))
226227
) {
227228
include $file;
228229
}

0 commit comments

Comments
 (0)