Skip to content

Commit

Permalink
chore: release v3.0.0-beta.6
Browse files Browse the repository at this point in the history
  • Loading branch information
regnerisch committed Jul 21, 2022
1 parent 189ad41 commit a52f06d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@


# [3.0.0-beta.6](https://github.com/regnerisch/laravel-beyond/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2022-07-21)

# [3.0.0-beta.5](https://github.com/regnerisch/laravel-beyond/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2022-07-21)


Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "regnerisch/laravel-beyond",
"type": "library",
"license": "ISC",
"version": "3.0.0-beta.5",
"version": "3.0.0-beta.6",
"autoload": {
"psr-4": {
"Regnerisch\\LaravelBeyond\\": "src/"
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Commands/MakeModelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function handle(): void
'migration.stub',
base_path() . '/database/migrations' . $fileName . '.php',
[
'{{ tableName }}' => $tableName
'{{ tableName }}' => $tableName,
],
$overwrite
);
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/MakePolicyCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function handle(): void
'{{ namespace }}' => $schema->namespace(),
'{{ className }}' => $schema->className(),
'{{ modelName }}' => $model,
'{{ modelVariable }}' => $model === 'User' ? 'object' : mb_strtolower($model),
'{{ modelVariable }}' => 'User' === $model ? 'object' : mb_strtolower($model),
],
$overwrite
);
Expand Down
1 change: 0 additions & 1 deletion src/Exceptions/FileAlreadyExistsException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class FileAlreadyExistsException extends \Exception
{

}

0 comments on commit a52f06d

Please sign in to comment.