We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b9ba8 commit b2c9d88Copy full SHA for b2c9d88
src/Vector.php
@@ -71,7 +71,7 @@ public function dotProduct(self $other): float
71
}
72
73
return array_sum(array_map(
74
- function ($a, $b) {
+ function (float $a, float $b) {
75
return $a * $b;
76
},
77
$this->toArray(),
0 commit comments