From 6aec3cae5a0098616939628713f0e83491a23267 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 14 May 2024 23:11:28 +0900 Subject: [PATCH] fixup! Soothe SA --- tests/DonutCommandInterceptorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DonutCommandInterceptorTest.php b/tests/DonutCommandInterceptorTest.php index 9f8d7f29..97dc3e40 100644 --- a/tests/DonutCommandInterceptorTest.php +++ b/tests/DonutCommandInterceptorTest.php @@ -83,7 +83,7 @@ public function testCacheableResponse(): void $ro = $this->resource->get('page://self/html/blog-posting-cache?id=0'); $interceptors = array_map(static fn (object $object): string => $object::class, $ro->bindings['onGet']); // @phpstan-ignore-line $this->assertContains(DonutCacheInterceptor::class, $interceptors); - assert(property_exists($ro, 'bindings')); // @phpstan-ignore-line + assert(property_exists($ro, 'bindings')); assert(isset($ro->bindings['onGet'][0])); assert(isset($ro->bindings['onDelete'][0])); $this->assertInstanceOf(DonutCacheInterceptor::class, $ro->bindings['onDelete'][0]);