Skip to content

Commit 24888d4

Browse files
committed
Fix CS
1 parent 408c853 commit 24888d4

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function getConfigTreeBuilder(): TreeBuilder
3939
}
4040

4141
/**
42-
* @param TreeBuilder $builder
4342
* @param string|null $name
4443
* @param string $type
4544
*

src/OverblogGraphiQLBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
final class OverblogGraphiQLBundle extends Bundle
1313
{
14-
public function build(ContainerBuilder $container) : void
14+
public function build(ContainerBuilder $container): void
1515
{
1616
parent::build($container);
1717

@@ -22,7 +22,7 @@ public function build(ContainerBuilder $container) : void
2222
$container->addCompilerPass(new DefaultEndpointWiringPass());
2323
}
2424

25-
public function getContainerExtension() : ?ExtensionInterface
25+
public function getContainerExtension(): ?ExtensionInterface
2626
{
2727
return new OverblogGraphiQLExtension();
2828
}

tests/Config/GraphQLEndpoint/RouteResolverTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
use Overblog\GraphiQLBundle\Config\GraphQLEndpoint\RouteResolver;
77
use PHPUnit\Framework\MockObject\MockObject;
88
use PHPUnit\Framework\TestCase;
9-
use Prophecy\Argument;
10-
use Prophecy\Prophecy\ObjectProphecy;
119
use Symfony\Component\Routing\RouterInterface;
1210

1311
final class RouteResolverTest extends TestCase
@@ -21,8 +19,6 @@ public function setUp(): void
2119
}
2220

2321
/**
24-
* @param array $routeCollection
25-
*
2622
* @return RouteResolver
2723
*/
2824
private function subject(array $routeCollection)

tests/Controller/GraphiQLControllerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
final class GraphiQLControllerTest extends TestCase
99
{
10-
public function testInvalidSchema() : void
10+
public function testInvalidSchema(): void
1111
{
1212
$client = static::createClient();
1313

@@ -18,7 +18,7 @@ public function testInvalidSchema() : void
1818
$this->assertSame(500, $response->getStatusCode());
1919
}
2020

21-
public function testDefaultSchema() : void
21+
public function testDefaultSchema(): void
2222
{
2323
$client = static::createClient();
2424

@@ -30,7 +30,7 @@ public function testDefaultSchema() : void
3030
$this->stringContains('Loading...', $response->getContent());
3131
}
3232

33-
public function testDefaultSchemaViaMultipleRoute() : void
33+
public function testDefaultSchemaViaMultipleRoute(): void
3434
{
3535
$client = static::createClient();
3636

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ abstract class TestCase extends WebTestCase
1414
/**
1515
* {@inheritdoc}
1616
*/
17-
protected static function getKernelClass() : string
17+
protected static function getKernelClass(): string
1818
{
1919
return TestKernel::class;
2020
}

tests/TestKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function getLogDir(): string
2323
{
2424
return sys_get_temp_dir().'/OverblogGraphQLBundle/'.Kernel::VERSION.'/'.$this->testCase.'/logs';
2525
}
26+
2627
public function isBooted()
2728
{
2829
return $this->booted;

0 commit comments

Comments
 (0)