Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #18 from Naoray/dev
Browse files Browse the repository at this point in the history
fix wrong method call
  • Loading branch information
Naoray authored Sep 7, 2019
2 parents 81fb5b2 + 78638ad commit f608ff1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Commands/PrefillFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ public function handle()
return $this->getPropertiesFromTable($column, $tableName, $tableIndexes);
})->merge(
$this->getPropertiesFromMethods()
)->filter(function ($data) {
return (bool) $data;
})
)->filter(function ($data) {
return (bool) $data;
})
->unique()
->values()
->all();
Expand Down Expand Up @@ -369,7 +369,7 @@ protected function qualifyClass($name)

$rootNamespace = app()->getNamespace();

if ($this->option('own-namespace') || starts_with($name, $rootNamespace)) {
if ($this->option('own-namespace') || Str::startsWith($name, $rootNamespace)) {
return $name;
}

Expand Down

0 comments on commit f608ff1

Please sign in to comment.