优化模型代码生成
This commit is contained in:
parent
5face1c077
commit
b57d7f95c3
@ -28,7 +28,7 @@ class Model extends Factory
|
||||
* @param $params
|
||||
* @return string|string[]
|
||||
*/
|
||||
public function getContent(&$params)
|
||||
public function getContent($params)
|
||||
{
|
||||
// TODO: Implement done() method.
|
||||
$template = new Template();
|
||||
|
@ -57,7 +57,8 @@ TMP;
|
||||
{
|
||||
if ($name) {
|
||||
return <<<TMP
|
||||
protected \$name = '{$name}';
|
||||
|
||||
protected \$name = '{$name}';
|
||||
|
||||
|
||||
TMP;
|
||||
|
Loading…
x
Reference in New Issue
Block a user