Skip to content

Commit 4f85233

Browse files
committed
Removed object type hints
1 parent d86abe6 commit 4f85233

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Actions/Action.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ class Action
2525

2626
private $loop;
2727

28-
public function __construct(object $loop)
28+
public function __construct($loop)
2929
{
3030
$this->loop = $loop;
3131
}
3232

33-
public static function init(object $loop) : Action
33+
public static function init($loop) : Action
3434
{
3535
return new static($loop);
3636
}
3737

38-
public static function _resolve(object $loop, ...$opts) : Promise
38+
public static function _resolve($loop, ...$opts) : Promise
3939
{
4040
return \React\Promise\resolve(Http\_exec($loop, ...$opts));
4141
}
@@ -56,7 +56,7 @@ public static function _reject(string $message) : Promise
5656
});
5757
}
5858

59-
public static function _withDb(object $loop, string $method, string $opt, string $database, array $params = []) : Promise
59+
public static function _withDb($loop, string $method, string $opt, string $database, array $params = []) : Promise
6060
{
6161
return self::_resolve($loop, $method, array(
6262
$opt => array(

0 commit comments

Comments
 (0)