Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carono committed Dec 27, 2017
1 parent 2685573 commit 0145c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/model/Model.php
Expand Up @@ -167,7 +167,7 @@ public function attributeLabels($method)
{
$labels = $this->params['labels'];
$method->addComment('@inheritdoc');
$strings = '';
$strings = [];
foreach ($labels as $name => $label) {
$strings[] = " '$name' => " . $this->generator->generateString($label);
}
Expand Down

0 comments on commit 0145c0e

Please sign in to comment.