This commit is contained in:
2021-03-29 17:29:39 +08:00
parent c112fc839c
commit 9e54e20dae
6 changed files with 512 additions and 496 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ if (!function_exists('annotation')) {
*/
function annotation(): Annotation
{
return Snowflake::app()->getAttributes();
return Snowflake::getAnnotation();
}
@@ -81,7 +81,7 @@ if (!function_exists('recursive_directory')) {
*/
function recursive_callback(DirectoryIterator $file)
{
$attributes = Snowflake::app()->getAttributes();
$attributes = Snowflake::getAnnotation();
$annotations = $attributes->getFilename($file->getRealPath());
if (empty($annotations)) {