Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f03bce4

Browse files
committedFeb 27, 2022
fix: bc layer cache
1 parent 3485df3 commit f03bce4

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed
 

‎.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ jobs:
143143
if: (!startsWith(matrix.php, '7.1'))
144144
run: composer update --no-interaction --no-progress --ansi
145145
- name: Update project dependencies (7.1)
146-
if: (startsWith(matrix.php, '7.1') || startsWith(matrix.php, '7.2'))
146+
if: (startsWith(matrix.php, '7.1'))
147+
run: composer update --no-interaction --no-progress --ansi --ignore-platform-reqs
148+
- name: Update project dependencies (7.2)
149+
if: (startsWith(matrix.php, '7.2'))
147150
run: composer update --no-interaction --no-progress --ansi --ignore-platform-reqs
148151
- name: Require Symfony components
149152
if: (!startsWith(matrix.php, '7.1'))
@@ -235,7 +238,10 @@ jobs:
235238
if: (!startsWith(matrix.php, '7.1'))
236239
run: composer update --no-interaction --no-progress --ansi
237240
- name: Update project dependencies (7.1)
238-
if: (startsWith(matrix.php, '7.1') || startsWith(matrix.php, '7.2'))
241+
if: (startsWith(matrix.php, '7.1'))
242+
run: composer update --no-interaction --no-progress --ansi --ignore-platform-reqs
243+
- name: Update project dependencies (7.2)
244+
if: (startsWith(matrix.php, '7.2'))
239245
run: composer update --no-interaction --no-progress --ansi --ignore-platform-reqs
240246
- name: Require Symfony components
241247
if: (!startsWith(matrix.php, '7.1'))

‎src/GraphQl/Type/TypesContainerInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function set(string $id, GraphQLType $type): void;
4040
*
4141
* @return GraphQLType The type found in the container
4242
*/
43-
public function get($id): GraphQLType;
43+
public function get(string $id): GraphQLType;
4444

4545
/**
4646
* Gets all the types.

‎tests/Fixtures/TestBundle/Entity/UserResource.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
* "path"="/user-reset-password",
2626
* "input"=UserResetPasswordDto::class
2727
* }
28-
* }
28+
* },
29+
* itemOperations={}
2930
* )
3031
*/
3132
final class UserResource

0 commit comments

Comments
 (0)
Please sign in to comment.