We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee9931 commit 7973428Copy full SHA for 7973428
src/Generators/DataTablesMakeCommand.php
@@ -122,7 +122,7 @@ protected function replaceAction(&$stub)
122
*/
123
protected function getAction()
124
{
125
- return $this->option('action') ? $this->option('action') : Str::lower($this->getNameInput()) . '.action';
+ return $this->option('action') ?: Str::lower($this->getNameInput()) . '.action';
126
}
127
128
/**
0 commit comments