Skip to content

Commit

Permalink
Some bugs after last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
khanamiryan committed Apr 26, 2018
1 parent 4ff2f14 commit a75482d
Show file tree
Hide file tree
Showing 5 changed files with 625 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/composer.lock
/vendor
.idea/
4 changes: 2 additions & 2 deletions lib/BinaryBitmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function getBlackRow($y, $row)
/**
* @return bool Whether this bitmap can be cropped.
*/
public function isCropSupported(): bool
public function isCropSupported()
{
return $this->binarizer->getLuminanceSource()->isCropSupported();
}
Expand Down Expand Up @@ -150,7 +150,7 @@ public function toString()
* @return BitMatrix The 2D array of bits for the image (true means black).
* @throws NotFoundException if image can't be binarized to make a matrix
*/
public function getBlackMatrix(): BitMatrix
public function getBlackMatrix()
{
// The matrix is created on demand the first time it is requested, then cached. There are two
// reasons for this:
Expand Down
Loading

0 comments on commit a75482d

Please sign in to comment.