Skip to content

Commit 9f36942

Browse files
authored
fix typo in function name "getLangugaes"
incorrect spelling of "languages" word in "getLangugaes"
1 parent a29ffc1 commit 9f36942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/ResourceFileFromDatabaseCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected function getParser()
124124

125125
$class = sprintf('CrestApps\CodeGenerator\DatabaseParsers\%sParser', ucfirst($driver));
126126

127-
return new $class($this->getTableName(), $this->getDatabaseName(), $this->getLangugaes());
127+
return new $class($this->getTableName(), $this->getDatabaseName(), $this->getLanguages());
128128
}
129129

130130
/**
@@ -184,7 +184,7 @@ protected function getTableName()
184184
*
185185
* @return array
186186
*/
187-
protected function getLangugaes()
187+
protected function getLanguages()
188188
{
189189
return Helpers::convertStringToArray($this->option('translation-for'));
190190
}

0 commit comments

Comments
 (0)