Issues (15)

src/Contracts/PersistenceContract.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Isswp101\Persimmon\Contracts;
4
5
use Isswp101\Persimmon\DTO\Id;
6
use Isswp101\Persimmon\DTO\Path;
7
use Isswp101\Persimmon\DTO\SearchResponse;
8
9
interface PersistenceContract
10
{
11
    public function find(Path $path, array $columns = []): array|null;
0 ignored issues
show
The type Isswp101\Persimmon\Contracts\null 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
13
    public function create(Path $path, array $attributes): Id;
14
15
    public function update(Path $path, array $attributes): Id;
16
17
    public function delete(Path $path): void;
18
19
    public function search(Path $path, array $query): SearchResponse;
20
}
21