Skip to content

Commit e402c38

Browse files
committed
PhpStan
1 parent d31c28a commit e402c38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MandelbrotSetRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ final class MandelbrotSetRequest
5050
* @param float $minY
5151
* @param float $maxY
5252
*/
53-
public function __construct(int $deltaA, int $deltaB, int $width = 300, $height = 300, int $iterations = 18, float $minX = -2, float $maxX = 1, float $minY = -1, float $maxY = 1)
53+
public function __construct(int $deltaA, int $deltaB, int $width = 300, $height = 300, int $iterations = 18, float $minX = -2.0, float $maxX = 1.0, float $minY = -1.0, float $maxY = 1.0)
5454
{
5555
$this->width = $width;
5656
$this->height = $height;
@@ -65,7 +65,7 @@ public function __construct(int $deltaA, int $deltaB, int $width = 300, $height
6565

6666

6767
/**
68-
* @return int[]
68+
* @return int[]|float[]
6969
*/
7070
public function getParams(): array
7171
{

0 commit comments

Comments
 (0)