Passed
Push — master ( 8e666d...e45fc8 )
by Iman
05:49
created

src/Core/Otherwise.php (1 issue)

1
<?php
2
3
namespace Imanghafoori\HeyMan\Core;
4
5
final class Otherwise
6
{
7
    /**
8
     * @return \Imanghafoori\HeyMan\Plugins\PreReaction\PreReactions
9
     */
10 97
    public function otherwise()
11
    {
12 97
        return resolve(Reaction::class);
0 ignored issues
show
Bug Best Practice introduced by
The expression return resolve(Imanghafo...n\Core\Reaction::class) returns the type Imanghafoori\HeyMan\Core\Reaction which is incompatible with the documented return type Imanghafoori\HeyMan\Plug...reReaction\PreReactions.
Loading history...
13
    }
14
}
15