This commit is contained in:
2023-04-18 11:52:02 +08:00
parent 8cb6305967
commit c3ce05ae06
+3 -3
View File
@@ -527,7 +527,7 @@ use Kiri\Router\Annotate\AutoController;
* ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . ' * ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . '
*/ */
#[Length(10)] #[Length(10)]
public ?' . $_key . ' $' . $val['Field'] . ' = null; public ?string $' . $val['Field'] . ' = null;
', ',
'time' => ' 'time' => '
@@ -535,7 +535,7 @@ use Kiri\Router\Annotate\AutoController;
* ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . ' * ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . '
*/ */
#[Length(5)] #[Length(5)]
public ?' . $_key . ' $' . $val['Field'] . ' = null; public ?string $' . $val['Field'] . ' = null;
', ',
default => ' default => '
@@ -543,7 +543,7 @@ use Kiri\Router\Annotate\AutoController;
* ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . ' * ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . '
*/ */
#[Length(16)] #[Length(16)]
public ?' . $_key . ' $' . $val['Field'] . ' = null; public ?string $' . $val['Field'] . ' = null;
', ',
}; };