Skip to content

Commit

Permalink
fix: access before initialization
Browse files Browse the repository at this point in the history
Closes #100
  • Loading branch information
regnerisch committed Jan 23, 2024
1 parent ba3075b commit db72f1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,12 +469,11 @@ php artisan beyond:setup
- `beyond:make:exception`
- `beyond:make:state`
- `beyond:make:value-object`
- `beyond:make:factory`
- `beyond:make:migration`
- `beyond:make:seeder`
- `beyond:make:test`
- `beyond:make:factory` (?)
- `beyond:make:migration` (?)
- `beyond:make:seeder` (?)
- `beyond:make:test` (?)
### Other
- Auto register module service provider inside `app.php`
- Update command documentation

## Contributors
Expand Down
2 changes: 1 addition & 1 deletion src/NameResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class NameResolver

private string $namespace;

private string $directory;
private ?string $directory = null;

private string $className;

Expand Down

0 comments on commit db72f1e

Please sign in to comment.