Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | public function getSelectedAlgorithmMethods(array $selected_algorithms) |
||
41 | { |
||
42 | $result = []; |
||
43 | foreach ($selected_algorithms as $algorithm) { |
||
44 | Assertion::keyExists($this->algorithms, $algorithm, sprintf('The algorithm "%s" is not supported.', $algorithm)); |
||
45 | $result[] = $this->algorithms[$algorithm]; |
||
46 | } |
||
47 | |||
48 | return $result; |
||
49 | } |
||
50 | } |
||
51 |