Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/AbstractValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class AbstractValidator implements
protected static $defaultTranslatorTextDomain = 'default';

/**
* Limits the maximum returned length of a error message
* Limits the maximum returned length of an error message
*
* @var int
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Barcode/Code128.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ protected function code128($value)
} elseif ($char == '') {
$sum = 105;
} elseif ($usecheck == true) {
// no start value, unable to detect an proper checksum
// no start value, unable to detect a proper checksum
return false;
}

Expand Down Expand Up @@ -389,7 +389,7 @@ protected function ord128($value, $set)
}

/**
* Internal Method to return the ascii value from an code128 integer
* Internal Method to return the ascii value from a code128 integer
*
* Table A
* ASCII CODE128
Expand Down
4 changes: 2 additions & 2 deletions src/File/Count.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Count extends AbstractValidator
* Min limits the file count, when used with max=null it is the maximum file count
* It also accepts an array with the keys 'min' and 'max'
*
* If $options is a integer, it will be used as maximum file count
* If $options is an integer, it will be used as maximum file count
* As Array is accepts the following keys:
* 'min': Minimum filecount
* 'max': Maximum filecount
Expand Down Expand Up @@ -192,7 +192,7 @@ public function addFile($file)
/**
* Returns true if and only if the file count of all checked files is at least min and
* not bigger than max (when max is not null). Attention: When checking with set min you
* must give all files with the first call, otherwise you will get an false.
* must give all files with the first call, otherwise you will get a false.
*
* @param string|array $value Filenames to check for count
* @param array $file File data from \Zend\File\Transfer\Transfer
Expand Down
2 changes: 1 addition & 1 deletion src/File/ImageSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Zend\Validator\Exception;

/**
* Validator for the image size of a image file
* Validator for the image size of an image file
*/
class ImageSize extends AbstractValidator
{
Expand Down
6 changes: 3 additions & 3 deletions src/File/Size.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Size extends AbstractValidator
/**
* Sets validator options
*
* If $options is a integer, it will be used as maximum file size
* If $options is an integer, it will be used as maximum file size
* As Array is accepts the following keys:
* 'min': Minimum file size
* 'max': Maximum file size
Expand Down Expand Up @@ -131,7 +131,7 @@ public function getMin($raw = false)
/**
* Sets the minimum file size
*
* File size can be an integer or an byte string
* File size can be an integer or a byte string
* This includes 'B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'
* For example: 2000, 2MB, 0.2GB
*
Expand Down Expand Up @@ -176,7 +176,7 @@ public function getMax($raw = false)
/**
* Sets the maximum file size
*
* File size can be an integer or an byte string
* File size can be an integer or a byte string
* This includes 'B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'
* For example: 2000, 2MB, 0.2GB
*
Expand Down
2 changes: 1 addition & 1 deletion src/File/WordCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class WordCount extends AbstractValidator
* Min limits the word count, when used with max=null it is the maximum word count
* It also accepts an array with the keys 'min' and 'max'
*
* If $options is a integer, it will be used as maximum word count
* If $options is an integer, it will be used as maximum word count
* As Array is accepts the following keys:
* 'min': Minimum word count
* 'max': Maximum word count
Expand Down
2 changes: 1 addition & 1 deletion test/CreditCardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function testConstructionWithOptions($input, $expected)
}

/**
* Test a invalid service class
* Test an invalid service class
*
* @return void
*/
Expand Down
4 changes: 2 additions & 2 deletions test/File/_files/magic.mime
Original file line number Diff line number Diff line change
Expand Up @@ -3098,7 +3098,7 @@
>0 byte ^0x80 executable
>16 belong >0 not stripped
>36 belong 0xb4100001 (uses shared libs)
# Chiasmus is a encryption standard developed by the German Federal
# Chiasmus is an encryption standard developed by the German Federal
# Office for Information Security (Bundesamt fuer Sicherheit in der
# Informationstechnik).

Expand Down Expand Up @@ -13676,7 +13676,7 @@
>4 string >\0 label:%.10s

# Sinclair QL OS dump (ThMO)
# (NOTE: if `file' would be able to use indirect references in a endian format
# (NOTE: if `file' would be able to use indirect references in an endian format
# differing from the natural host format, this could be written more
# reliably and faster...)
#
Expand Down

0 comments on commit c768b16

Please sign in to comment.