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 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Decode.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Decode
{
/**
* Explode MIME multipart string into seperate parts
* Explode MIME multipart string into separate parts
*
* Parts consist of the header and the body of each MIME part.
*
Expand All @@ -31,7 +31,7 @@ class Decode
*/
public static function splitMime($body, $boundary)
{
// TODO: we're ignoring \r for now - is this function fast enough and is it safe to asume noone needs \r?
// TODO: we're ignoring \r for now - is this function fast enough and is it safe to assume noone needs \r?
$body = str_replace("\r", '', $body);

$start = 0;
Expand Down Expand Up @@ -113,7 +113,7 @@ public static function splitMessage($message, &$headers, &$body, $EOL = Mime::LI
$firstline = strtok($message, "\n");
if (!preg_match('%^[^\s]+[^:]*:%', $firstline)) {
$headers = array();
// TODO: we're ignoring \r for now - is this function fast enough and is it safe to asume noone needs \r?
// TODO: we're ignoring \r for now - is this function fast enough and is it safe to assume noone needs \r?
$body = str_replace(array("\r", "\n"), array('', $EOL), $message);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function getMime()
* only one part is present, the content of this part is returned. If no
* part had been added, an empty string is returned.
*
* Parts are seperated by the mime boundary as defined in Zend_Mime. If
* Parts are separated by the mime boundary as defined in Zend_Mime. If
* {@link setMime()} has been called before this method, the Zend_Mime
* object set by this call will be used. Otherwise, a new Zend_Mime object
* is generated and used.
Expand Down Expand Up @@ -168,7 +168,7 @@ public function getPartContent($partnum, $EOL = Mime::LINEEND)
}

/**
* Explode MIME multipart string into seperate parts
* Explode MIME multipart string into separate parts
*
* Parts consist of the header and the body of each MIME part.
*
Expand Down

0 comments on commit 4ea5b34

Please sign in to comment.