Skip to content

Commit

Permalink
style: update Pint
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Aug 27, 2024
1 parent e6f98d3 commit 14ef830
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"nunomaduro/laravel-console-task": "^1.9"
},
"require-dev": {
"laravel/pint": "^1.15.1"
"laravel/pint": "^1.17"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/Chrome.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function afterClass(Closure $callback): void

public function getDriver()
{
$options = (new ChromeOptions())->addArguments(
$options = (new ChromeOptions)->addArguments(
array_filter(array_merge(
config('laravel-console-dusk.driver.chrome.options', []),
[$this->runHeadless()]
Expand Down
2 changes: 1 addition & 1 deletion src/LaravelConsoleDuskServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function register(): void
$this->mergeConfigFrom(__DIR__.'/../config/laravel-console-dusk.php', 'laravel-console-dusk');

$this->app->bind(ManagerContract::class, function ($app) {
return new Manager();
return new Manager;
});

$this->commands([
Expand Down
4 changes: 2 additions & 2 deletions src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class Manager implements ManagerContract

public function __construct(?DriverContract $driver = null, ?ConsoleBrowserFactoryContract $browserFactory = null)
{
$this->driver = $driver ?: new Chrome();
$this->browserFactory = $browserFactory ?: new ConsoleBrowserFactory();
$this->driver = $driver ?: new Chrome;
$this->browserFactory = $browserFactory ?: new ConsoleBrowserFactory;
}

public function browse(Command $command, Closure $callback): void
Expand Down

0 comments on commit 14ef830

Please sign in to comment.