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

Some typos in comments blocks. #409

Merged
merged 1 commit into from
Aug 29, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Faker/Provider/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function optional($weight = 0.5, $default = null)
*
* @param boolean $reset If set to true, resets the list of existing values
* @param integer $maxRetries Maximum number of retries to find a unique value,
* After which an OverflowExcption is thrown.
* After which an OverflowException is thrown.
* @throws OverflowException When no unique value can be found by iterating $maxRetries times
*
* @return UniqueGenerator A proxy class returning only non-existing values
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ public static function file($sourceDirectory = '/tmp', $targetDirectory = '/tmp'
}

if ($sourceDirectory == $targetDirectory) {
throw new \InvalidArgumentException('Source and targer directories must differ.');
throw new \InvalidArgumentException('Source and target directories must differ.');
}

// Drop . and .. and reset array keys
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/UserAgent.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function macProcessor()
}

/**
* Generrate linux processor
* Generate linux processor
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/en_CA/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function provinceAbbr()
}

/**
* Returns a postalcodde-safe letter
* Returns a postalcode-safe letter
* @example A1B 2C3
*/
public static function randomPostcodeLetter()
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/is_IS/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class PhoneNumber extends \Faker\Provider\PhoneNumber
{
/**
* @var array Icelandic phonenumber formats.
* @var array Icelandic phone number formats.
*/
protected static $formats = array(
'+354 ### ####',
Expand Down