Skip to content

Commit

Permalink
Adjust methods return types.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cintra committed Aug 24, 2024
1 parent 36c558b commit 902ef16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Console/InstallerTraits/CoreModules.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ protected function dumpAutoload(): void
});
}

protected function installMiddleware($names, $group = 'web', $modifier = 'append')
protected function installMiddleware($names, $group = 'web', $modifier = 'append'): void
{
$bootstrapApp = file_get_contents(base_path('bootstrap/app.php'));

Expand All @@ -187,7 +187,7 @@ protected function installMiddleware($names, $group = 'web', $modifier = 'append
});
}

protected function installMiddlewareAliases($aliases)
protected function installMiddlewareAliases($aliases): void
{
$bootstrapApp = file_get_contents(base_path('bootstrap/app.php'));

Expand Down
2 changes: 1 addition & 1 deletion src/Console/MakeFactoryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class MakeFactoryCommand extends Command

protected string $resourceName;

public function handle(): ?int
public function handle(): int
{
$this->moduleName = Str::studly($this->argument('moduleName'));
$this->resourceName = Str::studly($this->argument('resourceName'));
Expand Down

0 comments on commit 902ef16

Please sign in to comment.