File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function cascadeToGraphQlOperations(): static
56
56
/**
57
57
* @param Operations<HttpOperation>|list<GraphQlOperation> $operations
58
58
*
59
- * @return array[ string, HttpOperation] |list<GraphQlOperation>
59
+ * @return array< string, HttpOperation> |list<GraphQlOperation>
60
60
*/
61
61
private function getMutatedOperations (iterable $ operations , ApiResource $ apiResource ): iterable
62
62
{
Original file line number Diff line number Diff line change 29
29
*/
30
30
final class HttpCacheContext implements Context
31
31
{
32
- public function __construct (private readonly KernelInterface $ kernel , private ContainerInterface $ driverContainer )
32
+ public function __construct (private ContainerInterface $ driverContainer )
33
33
{
34
34
}
35
35
@@ -49,7 +49,7 @@ public function registerCustomTagCollector(BeforeScenarioScope $scope): void
49
49
*/
50
50
public function irisShouldBePurged (string $ iris ): void
51
51
{
52
- $ purger = $ this ->kernel -> getContainer ()-> get ( ' behat.driver.service_container ' ) ->get ('test.api_platform.http_cache.purger ' );
52
+ $ purger = $ this ->driverContainer ->get ('test.api_platform.http_cache.purger ' );
53
53
54
54
$ purgedIris = implode (', ' , $ purger ->getIris ());
55
55
$ purger ->clear ();
You can’t perform that action at this time.
0 commit comments