Issues (6)

src/DomainLogicInterface.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace JMGQ\AStar;
4
5
/**
6
 * @template TState
7
 */
8
interface DomainLogicInterface
9
{
10
    /**
11
     * @param TState $node
0 ignored issues
show
The type JMGQ\AStar\TState 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...
12
     * @return TState[]
13
     */
14
    public function getAdjacentNodes(mixed $node): iterable;
15
16
    /**
17
     * @param TState $node
18
     * @param TState $adjacent
19
     * @return float | int
20
     */
21
    public function calculateRealCost(mixed $node, mixed $adjacent): float | int;
22
23
    /**
24
     * @param TState $fromNode
25
     * @param TState $toNode
26
     * @return float | int
27
     */
28
    public function calculateEstimatedCost(mixed $fromNode, mixed $toNode): float | int;
29
}
30