改名
This commit is contained in:
@@ -70,10 +70,10 @@ namespace ' . $namespace . ';
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!str_contains($imports, 'Database\Annotation\Set')) {
|
if (!str_contains($imports, 'Database\Annotation\Set')) {
|
||||||
$html .= 'use Annotation\Model\Set;' . PHP_EOL;
|
$html .= 'use Database\Annotation\Set;' . PHP_EOL;
|
||||||
}
|
}
|
||||||
if (!str_contains($imports, 'Database\Annotation\Get')) {
|
if (!str_contains($imports, 'Database\Annotation\Get')) {
|
||||||
$html .= 'use Annotation\Model\Get;' . PHP_EOL;
|
$html .= 'use Database\Annotation\Get;' . PHP_EOL;
|
||||||
}
|
}
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
logger()->addError($e, 'throwable');
|
logger()->addError($e, 'throwable');
|
||||||
@@ -90,8 +90,8 @@ use Exception;
|
|||||||
use Annotation\Target;
|
use Annotation\Target;
|
||||||
use Kiri\Core\Json;
|
use Kiri\Core\Json;
|
||||||
use Database\Connection;
|
use Database\Connection;
|
||||||
use Annotation\Model\Get;
|
use Database\Annotation\Get;
|
||||||
use Annotation\Model\Set;
|
use Database\Annotation\Set;
|
||||||
use Annotation\Model\Relation;
|
use Annotation\Model\Relation;
|
||||||
use Database\Model;
|
use Database\Model;
|
||||||
' . PHP_EOL;
|
' . PHP_EOL;
|
||||||
|
|||||||
Reference in New Issue
Block a user