Skip to content

Commit

Permalink
Fix php stan issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed Nov 9, 2024
1 parent da4ab42 commit 968ed92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands/PublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class PublishCommand extends Command
{
public $signature = 'ddd:publish';
public $name = 'ddd:publish';

protected $description = 'Publish package resources';

Expand Down Expand Up @@ -38,8 +38,8 @@ protected function askForThingsToPublish()
public function handle(): int
{
$thingsToPublish = [
...$this->hasOption('config') ? ['config'] : [],
...$this->hasOption('stubs') ? ['stubs'] : [],
...$this->option('config') ? ['config'] : [],
...$this->option('stubs') ? ['stubs'] : [],
] ?: $this->askForThingsToPublish();

if (in_array('config', $thingsToPublish)) {
Expand Down

0 comments on commit 968ed92

Please sign in to comment.