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

src/Core/Otherwise.php (2 issues)

1
<?php
2
3
namespace Imanghafoori\HeyMan\Core;
4
5
final class Otherwise
6
{
7
    /**
8
     * @return \Imanghafoori\HeyMan\Reactions\PreReactions
0 ignored issues
show
The type Imanghafoori\HeyMan\Reactions\PreReactions was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
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\Reactions\PreReactions.
Loading history...
13
    }
14
}
15