1 | <?php |
||
10 | class Linear implements HypothesisInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @inheritdoc |
||
15 | */ |
||
16 | 2 | public function calculate(ValueInterface $coefficient, ValueInterface $variable) |
|
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | 2 | public function derivative(ValueInterface $coefficient, ValueInterface $variable, $partialVariable) |
|
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | 2 | public function createResultFromData(array $data) |
|
52 | |||
53 | |||
54 | /** |
||
55 | * @param ValueInterface $coefficient |
||
56 | * @param ValueInterface $variable |
||
57 | * @return array |
||
58 | */ |
||
59 | 2 | protected function getParameters(ValueInterface $coefficient, ValueInterface $variable) |
|
70 | } |
||
71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.