Skip to content

Commit a75482d

Browse files
committed
Some bugs after last commit
1 parent 4ff2f14 commit a75482d

File tree

5 files changed

+625
-4
lines changed

5 files changed

+625
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/composer.lock
22
/vendor
3+
.idea/

lib/BinaryBitmap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getBlackRow($y, $row)
7474
/**
7575
* @return bool Whether this bitmap can be cropped.
7676
*/
77-
public function isCropSupported(): bool
77+
public function isCropSupported()
7878
{
7979
return $this->binarizer->getLuminanceSource()->isCropSupported();
8080
}
@@ -150,7 +150,7 @@ public function toString()
150150
* @return BitMatrix The 2D array of bits for the image (true means black).
151151
* @throws NotFoundException if image can't be binarized to make a matrix
152152
*/
153-
public function getBlackMatrix(): BitMatrix
153+
public function getBlackMatrix()
154154
{
155155
// The matrix is created on demand the first time it is requested, then cached. There are two
156156
// reasons for this:

0 commit comments

Comments
 (0)