Skip to content

Commit

Permalink
Fix compatibility with PHP 8.2 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
azjezz authored Jun 13, 2022
1 parent cf1dda6 commit b80a258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventLoop/Internal/DriverCallback.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(
*/
public function __get(string $property): never
{
throw new \Error("Unknown property '${property}'");
throw new \Error("Unknown property '{$property}'");
}

/**
Expand All @@ -33,6 +33,6 @@ public function __get(string $property): never
*/
public function __set(string $property, mixed $value): never
{
throw new \Error("Unknown property '${property}'");
throw new \Error("Unknown property '{$property}'");
}
}

0 comments on commit b80a258

Please sign in to comment.