From f6ea53f09ae208db8bdf1190f5ea6f73b869f067 Mon Sep 17 00:00:00 2001 From: stollr Date: Sun, 28 Apr 2024 20:04:44 +0200 Subject: [PATCH] Fixed phpstan errors --- tests/PropertyDescriber/UuidPropertyDescriberTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/PropertyDescriber/UuidPropertyDescriberTest.php b/tests/PropertyDescriber/UuidPropertyDescriberTest.php index ad1ac375a..6b3d904c3 100644 --- a/tests/PropertyDescriber/UuidPropertyDescriberTest.php +++ b/tests/PropertyDescriber/UuidPropertyDescriberTest.php @@ -24,7 +24,7 @@ public function testSupportsUuidPropertyType(): void $describer = new UuidPropertyDescriber(); - $this->assertTrue($describer->supports([$type])); + self::assertTrue($describer->supports([$type])); } public function testSupportsNoIntPropertyType(): void @@ -33,7 +33,7 @@ public function testSupportsNoIntPropertyType(): void $describer = new UuidPropertyDescriber(); - $this->assertFalse($describer->supports([$type])); + self::assertFalse($describer->supports([$type])); } public function testSupportsNoDifferentObjectPropertyType(): void @@ -42,7 +42,7 @@ public function testSupportsNoDifferentObjectPropertyType(): void $describer = new UuidPropertyDescriber(); - $this->assertFalse($describer->supports([$type])); + self::assertFalse($describer->supports([$type])); } public function testDescribeUuidPropertyType(): void @@ -53,8 +53,8 @@ public function testDescribeUuidPropertyType(): void $describer = new UuidPropertyDescriber(); $describer->describe([], $property, [], $schema); - $this->assertSame('string', $property->type); - $this->assertSame('uuid', $property->format); + self::assertSame('string', $property->type); + self::assertSame('uuid', $property->format); } private function initProperty(): \OpenApi\Annotations\Property