Skip to content

Commit ad54db9

Browse files
committed
fixing php 5.4 support for building meta
1 parent 2690b88 commit ad54db9

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)