Skip to content

Commit

Permalink
Optimize method name (#6006)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanyanwow authored Aug 8, 2023
1 parent 340fdf9 commit 7021cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Watcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(protected ContainerInterface $container, protected O

public function run()
{
$this->dumpautoload();
$this->dumpAutoload();
$this->restart(true);

$channel = new Channel(999);
Expand Down Expand Up @@ -84,7 +84,7 @@ public function run()
}
}

public function dumpautoload()
public function dumpAutoload()
{
$ret = exec('composer dump-autoload -o --no-scripts -d ' . BASE_PATH);
$this->output->writeln($ret['output'] ?? '');
Expand Down

0 comments on commit 7021cc9

Please sign in to comment.