We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a167010 commit ff4d0d9Copy full SHA for ff4d0d9
1 file changed
tests/OptionalTest.php
@@ -26,7 +26,7 @@ public function it_should_throw_exception_when_empty(): void
26
/** @test */
27
public function it_should_return_stored_value(): void
28
{
29
- /** @psalm-var Optional<int> */
+ /** @psalm-var Optional<int> $optional */
30
$optional = Optional::from(1234);
31
32
$this->assertSame(1234, $optional->getOrThrow());
@@ -44,7 +44,7 @@ public function it_should_throw_when_null_passed(): void
44
45
public function it_should_return_stored_value_when_not_empty(): void
46
47
- /** @psalm-var Optional<string> */
+ /** @psalm-var Optional<string> $optional */
48
$optional = Optional::from('Foo');
49
50
$this->assertSame('Foo', $optional->getOrThrow());
0 commit comments