mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Style fixes.
This commit is contained in:
@ -4,13 +4,13 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace Pest\Repositories;
|
namespace Pest\Repositories;
|
||||||
|
|
||||||
use Pest\TestSuite;
|
|
||||||
use Pest\Support\Str;
|
|
||||||
use Pest\Factories\TestCaseFactory;
|
|
||||||
use Pest\Exceptions\ShouldNotHappen;
|
use Pest\Exceptions\ShouldNotHappen;
|
||||||
use Pest\Exceptions\TestAlreadyExist;
|
use Pest\Exceptions\TestAlreadyExist;
|
||||||
use Pest\Exceptions\TestCaseAlreadyInUse;
|
use Pest\Exceptions\TestCaseAlreadyInUse;
|
||||||
use Pest\Exceptions\TestCaseClassOrTraitNotFound;
|
use Pest\Exceptions\TestCaseClassOrTraitNotFound;
|
||||||
|
use Pest\Factories\TestCaseFactory;
|
||||||
|
use Pest\Support\Str;
|
||||||
|
use Pest\TestSuite;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
@ -107,7 +107,7 @@ final class TestRepository
|
|||||||
if (array_key_exists($path, $this->uses)) {
|
if (array_key_exists($path, $this->uses)) {
|
||||||
$this->uses[$path] = [
|
$this->uses[$path] = [
|
||||||
array_merge($this->uses[$path][0], $classOrTraits),
|
array_merge($this->uses[$path][0], $classOrTraits),
|
||||||
array_merge($this->uses[$path][1], $groups)
|
array_merge($this->uses[$path][1], $groups),
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$this->uses[$path] = [$classOrTraits, $groups];
|
$this->uses[$path] = [$classOrTraits, $groups];
|
||||||
|
|||||||
Reference in New Issue
Block a user