This commit is contained in:
2021-04-12 15:54:43 +08:00
parent d949c9a83c
commit c590efb739
+2 -2
View File
@@ -69,10 +69,10 @@ namespace ' . $namespace . ';
}
if (!str_contains($imports, 'Annotation\Model\Set')) {
$html .= 'use Annotation\Model\Set' . PHP_EOL;
$html .= 'use Annotation\Model\Set;' . PHP_EOL;
}
if (!str_contains($imports, 'Annotation\Model\Get')) {
$html .= 'use Annotation\Model\Get' . PHP_EOL;
$html .= 'use Annotation\Model\Get;' . PHP_EOL;
}
} catch (\Throwable $e) {
logger()->addError($e, 'throwable');