Skip to content

Commit

Permalink
fix: php 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Mar 5, 2022
1 parent cbab536 commit 711398c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/GraphQl/Type/TypesContainerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function set(string $id, GraphQLType $type): void;
*
* @return GraphQLType The type found in the container
*/
public function get(string $id): GraphQLType;
public function get($id): GraphQLType;

/**
* Gets all the types.
Expand All @@ -56,5 +56,5 @@ public function all(): array;
*
* @return bool true if the type is present, false otherwise
*/
public function has(string $id): bool;
public function has($id): bool;
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ class ApiPlatformExtensionTest extends TestCase
'enable_docs' => true,
]];

private ContainerBuilder $container;
/** @var ContainerBuilder */
private $container;

protected function setUp(): void
{
Expand Down

0 comments on commit 711398c

Please sign in to comment.