Skip to content

Commit da624bf

Browse files
committed
Style updates.
1 parent 86853be commit da624bf

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/Matrix.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88

99
class Matrix
1010
{
11-
/**
12-
* @var array
13-
*/
11+
/** @var array */
1412
protected $internal;
1513

1614
/**
@@ -263,17 +261,13 @@ public function multiplyScalar(float $value): self
263261

264262

265263
/**
266-
*
267-
* Scalar divide
268-
* kA = [k / a₁, k / a₂, k / a₃ ...]
269-
*
270264
* @param float $value
271265
* @return self
272266
* @throws MatrixException
273267
*/
274268
public function divideScalar(float $value): self
275269
{
276-
if($value == 0) {
270+
if ($value == 0) {
277271
throw new MatrixException("Zero can not be denominator.");
278272
}
279273

0 commit comments

Comments
 (0)