Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Nov 20, 2020
1 parent 5091ac1 commit b60dc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Strategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function isValidMime()
*/
public function isValidSize()
{
return $this->file->getSize() <= $maxSize || 0 === $maxSize;
return $this->file->getSize() <= $this->maxSize || 0 === $this->maxSize;
}

public function validate()
Expand Down

0 comments on commit b60dc83

Please sign in to comment.