Skip to content

Commit

Permalink
Fixed phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stollr committed Apr 28, 2024
1 parent a90cf43 commit f6ea53f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/PropertyDescriber/UuidPropertyDescriberTest.php
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f6ea53f

Please sign in to comment.