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
5656 /**
5757 * @param Operations<HttpOperation>|list<GraphQlOperation> $operations
5858 *
59- * @return array[ string, HttpOperation] |list<GraphQlOperation>
59+ * @return array< string, HttpOperation> |list<GraphQlOperation>
6060 */
6161 private function getMutatedOperations (iterable $ operations , ApiResource $ apiResource ): iterable
6262 {
Original file line number Diff line number Diff line change 2929 */
3030final class HttpCacheContext implements Context
3131{
32- public function __construct (private readonly KernelInterface $ kernel , private ContainerInterface $ driverContainer )
32+ public function __construct (private ContainerInterface $ driverContainer )
3333 {
3434 }
3535
@@ -49,7 +49,7 @@ public function registerCustomTagCollector(BeforeScenarioScope $scope): void
4949 */
5050 public function irisShouldBePurged (string $ iris ): void
5151 {
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 ' );
5353
5454 $ purgedIris = implode (', ' , $ purger ->getIris ());
5555 $ purger ->clear ();
You can’t perform that action at this time.
0 commit comments