1 | <?php |
||
9 | class LineCorridor |
||
10 | { |
||
11 | /** |
||
12 | * @var float distance between line and the corridor border, in meters |
||
13 | */ |
||
14 | private $distance; |
||
15 | |||
16 | /** |
||
17 | * @var \Location\Bearing\BearingInterface |
||
18 | */ |
||
19 | private $bearingCalculator; |
||
20 | |||
21 | /** |
||
22 | * LineCorridor constructor. |
||
23 | * |
||
24 | * @param float $distance |
||
25 | */ |
||
26 | public function __construct($distance, BearingInterface $bearingCalculator) |
||
35 | |||
36 | public function createCorridor(Line $line) |
||
52 | } |
||
53 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.