Skip to content

Commit

Permalink
Update Manager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
railken committed Apr 6, 2024
1 parent 7333d1b commit 9891b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataSchema/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function reloadByDataSchema(DataSchema $dataSchema)

public function newEntity(array $parameters = [])
{
$aliasName = ucfirst($this->dataSchema->name);
$aliasName = ucfirst(str_replace("-","_", $this->dataSchema->name));
$namespace = "App\Models\DataSchema";
$fullAliasName = "\\".$namespace."\\".$aliasName;

Expand Down

0 comments on commit 9891b4b

Please sign in to comment.