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 Jan 10, 2024
1 parent beb3af0 commit c6d0d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundation/TestbenchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function register(): void
{
$workingPath = \defined('TESTBENCH_WORKING_PATH') ? TESTBENCH_WORKING_PATH : null;

AboutCommand::add('Testbench', fn () => array_filter([
AboutCommand::add('Testbench', static fn () => array_filter([
'Core Version' => InstalledVersions::getPrettyVersion('orchestra/testbench-core'),
'Dusk Version' => InstalledVersions::isInstalled('orchestra/testbench-dusk') ? InstalledVersions::getPrettyVersion('orchestra/testbench-dusk') : null,
'Skeleton Path' => AboutCommand::format($this->app->basePath(), console: fn ($value) => str_replace($workingPath, '', $value)),

Check failure on line 24 in src/Foundation/TestbenchServiceProvider.php

View workflow job for this annotation

GitHub Actions / PHP8.2 PHPStan & Pint

Undefined variable: $this
Expand Down

0 comments on commit c6d0d85

Please sign in to comment.