Skip to content

Commit

Permalink
Update model-extended.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mootensai committed Mar 5, 2016
1 parent 52f2831 commit d328308
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions model/default/model-extended.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class <?= $className ?> extends Base<?= $className . "\n" ?>
public function rules()
{
return array_replace_recursive(parent::rules(),
[<?= "\n " . implode(",\n ", $rules) . "\n " ?>
]);
[<?= "\n " . implode(",\n ", $rules) . "\n " ?>]);
}

<?php if ($generator->generateAttributeHints): ?>
Expand Down

0 comments on commit d328308

Please sign in to comment.