Issues (121)

src/Service/BranchService.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Inspirum\Balikobot\Service;
6
7
use Inspirum\Balikobot\Model\Branch\BranchIterator;
8
9
interface BranchService
10
{
11
    /**
12
     * Get all available branches
13
     *
14
     * @return \Inspirum\Balikobot\Model\Branch\BranchIterator&iterable<\Inspirum\Balikobot\Model\Branch\Branch>
15
     *
16
     * @throws \Inspirum\Balikobot\Exception\Exception
17
     */
18
    public function getBranches(): BranchIterator;
19
20
    /**
21
     * Get all available branches for countries
22
     *
23
     * @param list<string> $countries
0 ignored issues
show
The type Inspirum\Balikobot\Service\list 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...
24
     *
25
     * @return \Inspirum\Balikobot\Model\Branch\BranchIterator&iterable<\Inspirum\Balikobot\Model\Branch\Branch>
26
     *
27
     * @throws \Inspirum\Balikobot\Exception\Exception
28
     */
29
    public function getBranchesForCountries(array $countries): BranchIterator;
30
31
    /**
32
     * Get all available branches for carrier
33
     *
34
     * @throws \Inspirum\Balikobot\Exception\Exception
35
     */
36
    public function getBranchesForCarrier(string $carrier): BranchIterator;
37
38
    /**
39
     * Get all available branches for carrier and countries
40
     *
41
     * @param list<string> $countries
42
     *
43
     * @return \Inspirum\Balikobot\Model\Branch\BranchIterator&iterable<\Inspirum\Balikobot\Model\Branch\Branch>
44
     *
45
     * @throws \Inspirum\Balikobot\Exception\Exception
46
     */
47
    public function getBranchesForCarrierAndCountries(string $carrier, array $countries): BranchIterator;
48
49
    /**
50
     * Get all available branches for carrier and service type
51
     *
52
     * @return \Inspirum\Balikobot\Model\Branch\BranchIterator&iterable<\Inspirum\Balikobot\Model\Branch\Branch>
53
     *
54
     * @throws \Inspirum\Balikobot\Exception\Exception
55
     */
56
    public function getBranchesForCarrierService(string $carrier, string $service): BranchIterator;
57
58
    /**
59
     * Get all available branches for carrier, service type and countries
60
     *
61
     * @param list<string> $countries
62
     *
63
     * @return \Inspirum\Balikobot\Model\Branch\BranchIterator&iterable<\Inspirum\Balikobot\Model\Branch\Branch>
64
     *
65
     * @throws \Inspirum\Balikobot\Exception\Exception
66
     */
67
    public function getBranchesForCarrierServiceAndCountries(string $carrier, string $service, array $countries): BranchIterator;
68
69
    /**
70
     * Get all available branches for carrier in specific location
71
     *
72
     * @return \Inspirum\Balikobot\Model\Branch\BranchIterator&iterable<\Inspirum\Balikobot\Model\Branch\Branch>
73
     *
74
     * @throws \Inspirum\Balikobot\Exception\Exception
75
     */
76
    public function getBranchesForLocation(
77
        string $carrier,
78
        string $country,
79
        string $city,
80
        ?string $zipCode = null,
81
        ?string $street = null,
82
        ?int $maxResults = null,
83
        ?float $radius = null,
84
        ?string $type = null,
85
    ): BranchIterator;
86
}
87