Skip to content

Commit 8659476

Browse files
committed
Style update.
1 parent 54e82d7 commit 8659476

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Vector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ public function innerProduct(Vector $other): float
116116
*/
117117
public function outerProduct(Vector $other): Matrix
118118
{
119-
$literal = array();
119+
$literal = [];
120+
120121
for ($i = 0; $i < $this->getSize(); $i++) {
121122
for ($j = 0; $j < $other->getSize(); $j++) {
122123
$literal[$i][$j] = $this->toArray()[$i] * $other->toArray()[$j];

0 commit comments

Comments
 (0)