Skip to content

Commit 2b6db86

Browse files
committed
Updated PHPStan
1 parent 170ead5 commit 2b6db86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Reflection/Dibi/DibiFluentClassReflectionExtensionTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace PHPStan\Reflection\Dibi;
44

5+
use PHPStan\Type\VerbosityLevel;
6+
57
class DibiFluentClassReflectionExtensionTest extends \PHPStan\Testing\TestCase
68
{
79

@@ -53,7 +55,7 @@ public function testGetMethod(): void
5355
self::assertTrue($methodReflection->isVariadic());
5456
self::assertFalse($methodReflection->isPrivate());
5557
self::assertTrue($methodReflection->isPublic());
56-
self::assertSame(\Dibi\Fluent::class, $methodReflection->getReturnType()->describe());
58+
self::assertSame(\Dibi\Fluent::class, $methodReflection->getReturnType()->describe(VerbosityLevel::value()));
5759
}
5860

5961
}

0 commit comments

Comments
 (0)