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

Commit

Permalink
fix wrong method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Sep 7, 2019
1 parent c1f5d1b commit 78638ad
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 78638ad

Please sign in to comment.