File tree Expand file tree Collapse file tree 6 files changed +7
-11
lines changed Expand file tree Collapse file tree 6 files changed +7
-11
lines changed Original file line number Diff line number Diff 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 *
Original file line number Diff line number Diff line change 1111
1212final 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 }
Original file line number Diff line number Diff line change 66use Overblog \GraphiQLBundle \Config \GraphQLEndpoint \RouteResolver ;
77use PHPUnit \Framework \MockObject \MockObject ;
88use PHPUnit \Framework \TestCase ;
9- use Prophecy \Argument ;
10- use Prophecy \Prophecy \ObjectProphecy ;
119use Symfony \Component \Routing \RouterInterface ;
1210
1311final 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 )
Original file line number Diff line number Diff line change 77
88final 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
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments