改名
This commit is contained in:
+1
-4
@@ -120,14 +120,11 @@ class ' . $managerName . ' extends ActiveRecord
|
|||||||
} else {
|
} else {
|
||||||
$debug = 'public';
|
$debug = 'public';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($property->hasType()) {
|
if ($property->hasType()) {
|
||||||
$type = $property->getType() . ' $' . $key . ' = ' . $val . ';' . "\n";
|
$type = ' ' . $property->getType() . ' $' . $key . ' = ' . $val . ';' . "\n";
|
||||||
} else {
|
} else {
|
||||||
$type = ' $' . $key . ' = ' . $val . ';' . "\n";
|
$type = ' $' . $key . ' = ' . $val . ';' . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($property->isStatic()) {
|
if ($property->isStatic()) {
|
||||||
$html .= '
|
$html .= '
|
||||||
' . $debug . ' static' . $type;
|
' . $debug . ' static' . $type;
|
||||||
|
|||||||
Reference in New Issue
Block a user