This commit is contained in:
as2252258@163.com
2021-09-20 01:21:18 +08:00
parent 557bda6115
commit 3a596f34f8
+2 -4
View File
@@ -88,9 +88,9 @@ if (!function_exists('is_enable_file_modification_listening')) {
/**
* @return bool
*/
function is_enable_file_modification_listening(): bool
#[Pure] function is_enable_file_modification_listening(): bool
{
return env('enable_file_modification_listening', 'off') == 'off';
return env('enable_file_modification_listening', 'off') == 'on';
}
@@ -158,7 +158,6 @@ if (!function_exists('scan_directory')) {
* @param $dir
* @param $namespace
* @param array $exclude
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
@@ -179,7 +178,6 @@ if (!function_exists('injectRuntime')) {
/**
* @param string $path
* @param array $exclude
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/