Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 14, 2024
1 parent 367bfc5 commit 017e44e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/BatchesTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function __construct(Filesystem $files, Composer $composer)
* @param string $table
* @return string
*/
#[\Override]
protected function createBaseMigration($table = 'job_batches')
{
return $this->createBaseMigrationUsingCanvas($table);
Expand Down
5 changes: 5 additions & 0 deletions src/Console/UserModelMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class UserModelMakeCommand extends GeneratorCommand
*
* @return string
*/
#[\Override]
protected function getStub()
{
return $this->resolveStubPath('/stubs/user-model.stub');
Expand All @@ -35,6 +36,7 @@ protected function getStub()
* @param string $stub
* @return string
*/
#[\Override]
protected function resolveDefaultStubPath($stub)
{
return __DIR__.$stub;
Expand All @@ -43,6 +45,7 @@ protected function resolveDefaultStubPath($stub)
/**
* Get the default namespace for the class.
*/
#[\Override]
public function getDefaultNamespace($rootNamespace)
{
return rtrim($this->generatorPreset()->modelNamespace(), '\\');
Expand All @@ -53,6 +56,7 @@ public function getDefaultNamespace($rootNamespace)
*
* @return string
*/
#[\Override]
protected function getNameInput()
{
return 'User';
Expand All @@ -63,6 +67,7 @@ protected function getNameInput()
*
* @return array
*/
#[\Override]
protected function getArguments()
{
return [];
Expand Down

0 comments on commit 017e44e

Please sign in to comment.