Skip to content

Commit

Permalink
Merge pull request #55 from AcoustickSan/master
Browse files Browse the repository at this point in the history
Fixes #54. Removed {{date}} from model’s template
  • Loading branch information
CristianLlanos authored Dec 11, 2017
2 parents adfd7f7 + 4c2fcad commit a7e0c19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Coders/Model/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ protected function prepareTemplate(Model $model, $name)
*/
protected function fillTemplate($template, Model $model)
{
$template = str_replace('{{date}}', Carbon::now()->toRssString(), $template);
$template = str_replace('{{namespace}}', $model->getBaseNamespace(), $template);
$template = str_replace('{{parent}}', $model->getParentClass(), $template);
$template = str_replace('{{properties}}', $this->properties($model), $template);
Expand Down
1 change: 0 additions & 1 deletion src/Coders/Model/Templates/model
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

/**
* Created by Reliese Model.
* Date: {{date}}.
*/

namespace {{namespace}};
Expand Down

0 comments on commit a7e0c19

Please sign in to comment.