This commit is contained in:
2021-01-19 20:23:31 +08:00
parent a06182ef5b
commit e58ab63a24
+1 -4
View File
@@ -120,14 +120,11 @@ class ' . $managerName . ' extends ActiveRecord
} else {
$debug = 'public';
}
if ($property->hasType()) {
$type = $property->getType() . ' $' . $key . ' = ' . $val . ';' . "\n";
$type = ' ' . $property->getType() . ' $' . $key . ' = ' . $val . ';' . "\n";
} else {
$type = ' $' . $key . ' = ' . $val . ';' . "\n";
}
if ($property->isStatic()) {
$html .= '
' . $debug . ' static' . $type;