Skip to content

Commit

Permalink
Return type on create method
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jun 25, 2017
1 parent 1412fbe commit 5f0c3cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/StdioLogger.php
Expand Up @@ -31,10 +31,9 @@ public function __construct(Stdio $stdio)
}

/**
* LogglyLogger constructor.
* @param LoopInterface $loop
*/
public static function create(LoopInterface $loop)
public static function create(LoopInterface $loop): StdioLogger
{
return new self(new Stdio($loop));
}
Expand Down

0 comments on commit 5f0c3cb

Please sign in to comment.