Skip to content

Commit

Permalink
fix translated stub
Browse files Browse the repository at this point in the history
  • Loading branch information
MoamenEltouny authored Dec 25, 2021
1 parent e63bdce commit 8c10651
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Core/Commands/Packages/MakeTranslatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ private function generateTranslatableModel()

$content = str_replace('{{ class }}', $this->name, file_get_contents(__DIR__ . '/../stubs/mode.translatabled.stub'));
$content = str_replace('{{ namespace }}', $this->getNamespace('Models'), $content);
$content = str_replace('use HasFactory;', 'use HasFactory, Translatable;', $content);
$content = str_replace('{{ table }}', $this->table, $content);
$content = str_replace('{{ id }}', $this->id, $content);

Expand Down

0 comments on commit 8c10651

Please sign in to comment.