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

Commit

Permalink
Merge pull request zendframework/zendframework#2101 from pborreli/typos
Browse files Browse the repository at this point in the history
Fixed few typos
  • Loading branch information
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/Compress/Gz.php
Expand Up @@ -129,7 +129,7 @@ public function setArchive($archive)
*
* @param string $content
* @return string
* @throws Exceptin\RuntimeException if unable to open archive or error during decompression
* @throws Exception\RuntimeException if unable to open archive or error during decompression
*/
public function compress($content)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Compress/Zip.php
Expand Up @@ -106,7 +106,7 @@ public function setTarget($target)
*
* @param string $content
* @return string Compressed archive
* @throws Exception\RuntimeException if unable to open zip archive, or error during compresion
* @throws Exception\RuntimeException if unable to open zip archive, or error during compression
*/
public function compress($content)
{
Expand Down
2 changes: 1 addition & 1 deletion src/File/Rename.php
Expand Up @@ -166,7 +166,7 @@ public function filter($value)
$result = rename($file['source'], $file['target']);

if ($result !== true) {
throw new Exception\RuntimeException(sprintf("File '%s' could not be renamed. An error occured while processing the file.", $value));
throw new Exception\RuntimeException(sprintf("File '%s' could not be renamed. An error occurred while processing the file.", $value));
}

return $file['target'];
Expand Down
2 changes: 1 addition & 1 deletion src/Inflector.php
Expand Up @@ -83,7 +83,7 @@ public function __construct($options = null)
}

/**
* Retreive plugin broker
* Retrieve plugin broker
*
* @return FilterPluginManager
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Word/AbstractSeparator.php
Expand Up @@ -40,9 +40,9 @@ public function __construct($separator = ' ')
}

/**
* Sets a new seperator
* Sets a new separator
*
* @param string $separator Seperator
* @param string $separator Separator
* @return AbstractSeparator
* @throws Exception\InvalidArgumentException
*/
Expand All @@ -56,7 +56,7 @@ public function setSeparator($separator)
}

/**
* Returns the actual set seperator
* Returns the actual set separator
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Word/SeparatorToDash.php
Expand Up @@ -19,7 +19,7 @@ class SeparatorToDash extends SeparatorToSeparator
/**
* Constructor
*
* @param string $searchSeparator Seperator to search for change
* @param string $searchSeparator Separator to search for change
*/
public function __construct($searchSeparator = ' ')
{
Expand Down
14 changes: 7 additions & 7 deletions src/Word/SeparatorToSeparator.php
Expand Up @@ -24,8 +24,8 @@ class SeparatorToSeparator extends \Zend\Filter\PregReplace
/**
* Constructor
*
* @param string $searchSeparator Seperator to search for
* @param string $replacementSeperator Seperator to replace with
* @param string $searchSeparator Separator to search for
* @param string $replacementSeparator Separator to replace with
*/
public function __construct($searchSeparator = ' ', $replacementSeparator = '-')
{
Expand All @@ -46,7 +46,7 @@ public function setSearchSeparator($separator)
}

/**
* Returns the actual set seperator to search for
* Returns the actual set separator to search for
*
* @return string
*/
Expand All @@ -56,9 +56,9 @@ public function getSearchSeparator()
}

/**
* Sets a new seperator which replaces the searched one
* Sets a new separator which replaces the searched one
*
* @param string $separator Seperator which replaces the searched one
* @param string $separator Separator which replaces the searched one
* @return SeparatorToSeparator
*/
public function setReplacementSeparator($separator)
Expand All @@ -68,7 +68,7 @@ public function setReplacementSeparator($separator)
}

/**
* Returns the actual set seperator which replaces the searched one
* Returns the actual set separator which replaces the searched one
*
* @return string
*/
Expand All @@ -80,7 +80,7 @@ public function getReplacementSeparator()
/**
* Defined by Zend\Filter\Filter
*
* Returns the string $value, replacing the searched seperators with the defined ones
* Returns the string $value, replacing the searched separators with the defined ones
*
* @param string $value
* @return string
Expand Down

0 comments on commit 82c88d1

Please sign in to comment.