Issues (20)

Services/VariantSwitchInterface.php (1 issue)

1
<?php
2
3
namespace DnVariantSwitch\Services;
4
5
/**
6
 * Interface VariantSwitchInterface
7
 * @package DnVariantSwitch\Services
8
 */
9
interface VariantSwitchInterface
10
{
11
12
    /**
13
     * @param string $number
14
     * @param int $basketID
15
     * @param \sBasket $sBasket
16
     * @param int $quantity
17
     * @return mixed
18
     */
19
    public function switchVariant(
20
        $number,
21
        $basketID,
22
        \sBasket $sBasket,
0 ignored issues
show
The type sBasket 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...
23
        $quantity
24
    );
25
26
}