Skip to content

Commit b80a258

Browse files
authored
Fix compatibility with PHP 8.2 (#58)
1 parent cf1dda6 commit b80a258

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/EventLoop/Internal/DriverCallback.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(
2424
*/
2525
public function __get(string $property): never
2626
{
27-
throw new \Error("Unknown property '${property}'");
27+
throw new \Error("Unknown property '{$property}'");
2828
}
2929

3030
/**
@@ -33,6 +33,6 @@ public function __get(string $property): never
3333
*/
3434
public function __set(string $property, mixed $value): never
3535
{
36-
throw new \Error("Unknown property '${property}'");
36+
throw new \Error("Unknown property '{$property}'");
3737
}
3838
}

0 commit comments

Comments
 (0)