Skip to content

Commit 48ea6b6

Browse files
committed
Change toString return type from never to string in UndefinedStandard.
1 parent 79701cf commit 48ea6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Undefined/UndefinedStandard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function toFloat(): never
5656
/**
5757
* @throws UndefinedTypeException
5858
*/
59-
public function toString(): never
59+
public function toString(): string
6060
{
6161
throw new UndefinedTypeException('UndefinedType cannot be converted to string.');
6262
}

0 commit comments

Comments
 (0)