Skip to content

Commit 96cab21

Browse files
Merge pull request #109 from TheDragonCode/code-style-2z7btz1
The code style has been fixed
2 parents e6967ce + 7fac59f commit 96cab21

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Services/DeviationService.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function __construct(
2727
* Calculates final results with deviations based on multiple runs.
2828
*
2929
* @param array<int, array<int|string, ResultData>> $collection A collection of results from multiple runs.
30-
*
3130
* @return array<int|string, ResultData>
3231
*/
3332
public function calculate(array $collection): array
@@ -72,7 +71,6 @@ protected function buildMetric(array $item, string $key): MetricData
7271
*
7372
* @param array $data Grouped metric entries.
7473
* @param int $index The index to extract (TIME_INDEX or MEMORY_INDEX).
75-
*
7674
* @return array<float>
7775
*/
7876
protected function extract(array $data, int $index): array
@@ -104,7 +102,6 @@ protected function buildDeviation(array $item): DeviationData
104102
* Groups results from multiple runs by callback names and metric types.
105103
*
106104
* @param array<int, array<int|string, ResultData>> $collection A collection of results from multiple runs.
107-
*
108105
* @return array<int|string, array<string, array<int, array{float, float}>>>
109106
*/
110107
protected function group(array $collection): array
@@ -142,7 +139,6 @@ protected function deviation(array $values): float
142139
*
143140
* @param float $value1 The base value.
144141
* @param float $value2 The compared value.
145-
*
146142
* @return float The result is specified in percentages.
147143
*/
148144
protected function percentage(float $value1, float $value2): float

0 commit comments

Comments
 (0)