Skip to content

Commit

Permalink
Correct type annotation to LoopInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
mbonneau committed Dec 7, 2020
1 parent 899e277 commit 9430954
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/EventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
namespace EventLoop;

use React\EventLoop\Factory;
use React\EventLoop\LibEventLoop;
use React\EventLoop\LoopInterface;

class EventLoop
{
/** @var LibEventLoop */
/** @var LoopInterface */
static private $loop;

static public function setLoop(LoopInterface $loop) {
Expand Down

0 comments on commit 9430954

Please sign in to comment.