Skip to content

Commit d822ac0

Browse files
committed
:octocat:
1 parent 269cd0d commit d822ac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Detector/PerspectiveTransform.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private function times(PerspectiveTransform $other):self{
150150
}
151151

152152
/**
153-
* @return array[] [$xValues, $yValues|null]
153+
* @return array[] [$xValues, $yValues]
154154
*/
155155
public function transformPoints(array $xValues, array $yValues = null):array{
156156
$max = count($xValues);
@@ -176,7 +176,7 @@ public function transformPoints(array $xValues, array $yValues = null):array{
176176
$xValues[($i + 1)] = (($this->a12 * $x + $this->a22 * $y + $this->a32) / $denominator);
177177
}
178178

179-
return [$xValues, $yValues];
179+
return [$xValues, []];
180180
}
181181

182182
}

0 commit comments

Comments
 (0)