Skip to content

Commit

Permalink
style: apply fixes from PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed May 14, 2021
1 parent 564a21b commit ea8ab88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Laravel/Commands/PestDatasetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ final class PestDatasetCommand extends Command
*/
public function handle(): void
{
TestSuite::getInstance(base_path(), $this->option('test-directory', 'tests'));
/* @phpstan-ignore-next-line */
TestSuite::getInstance(base_path(), $this->option('test-directory'));

/** @var string $name */
$name = $this->argument('name');
Expand Down
3 changes: 2 additions & 1 deletion src/Laravel/Commands/PestInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ final class PestInstallCommand extends Command
*/
public function handle(): void
{
TestSuite::getInstance(base_path(), $this->option('test-directory', 'tests'));
/* @phpstan-ignore-next-line */
TestSuite::getInstance(base_path(), $this->option('test-directory'));

/* @phpstan-ignore-next-line */
$pest = base_path(testDirectory('Pest.php'));
Expand Down
3 changes: 2 additions & 1 deletion src/Laravel/Commands/PestTestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ final class PestTestCommand extends Command
*/
public function handle(): void
{
TestSuite::getInstance(base_path(), $this->option('test-directory', 'tests'));
/* @phpstan-ignore-next-line */
TestSuite::getInstance(base_path(), $this->option('test-directory'));

/** @var string $name */
$name = $this->argument('name');
Expand Down

0 comments on commit ea8ab88

Please sign in to comment.