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

Commit

Permalink
Merge branch 'feature/phpdoc-mismatch' of https://github.com/micheh/zf2
Browse files Browse the repository at this point in the history
… into hotfix/phpdoc
  • Loading branch information
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/Message.php
Expand Up @@ -149,6 +149,7 @@ public function getPartHeadersArray($partnum)
* Get the headers of a given part as a string
*
* @param int $partnum
* @param string $EOL
* @return string
*/
public function getPartHeaders($partnum, $EOL = Mime::LINEEND)
Expand All @@ -160,6 +161,7 @@ public function getPartHeaders($partnum, $EOL = Mime::LINEEND)
* Get the (encoded) content of a given part as a string
*
* @param int $partnum
* @param string $EOL
* @return string
*/
public function getPartContent($partnum, $EOL = Mime::LINEEND)
Expand All @@ -174,6 +176,7 @@ public function getPartContent($partnum, $EOL = Mime::LINEEND)
*
* @param string $body
* @param string $boundary
* @throws Exception\RuntimeException
* @return array
*/
protected static function _disassembleMime($body, $boundary)
Expand Down Expand Up @@ -215,6 +218,7 @@ protected static function _disassembleMime($body, $boundary)
* @param string $message
* @param string $boundary
* @param string $EOL EOL string; defaults to {@link Zend_Mime::LINEEND}
* @throws Exception\RuntimeException
* @return \Zend\Mime\Message
*/
public static function createFromMessage($message, $boundary, $EOL = Mime::LINEEND)
Expand Down
11 changes: 6 additions & 5 deletions src/Mime.php
Expand Up @@ -107,7 +107,7 @@ public static function isPrintable($str)
*
* @param string $str
* @param int $lineLength Defaults to {@link LINELENGTH}
* @param int $lineEnd Defaults to {@link LINEEND}
* @param string $lineEnd Defaults to {@link LINEEND}
* @return string
*/
public static function encodeQuotedPrintable($str,
Expand Down Expand Up @@ -168,7 +168,7 @@ private static function _encodeQuotedPrintable($str)
* @param string $str
* @param string $charset
* @param int $lineLength Defaults to {@link LINELENGTH}
* @param int $lineEnd Defaults to {@link LINEEND}
* @param string $lineEnd Defaults to {@link LINEEND}
* @return string
*/
public static function encodeQuotedPrintableHeader($str, $charset,
Expand Down Expand Up @@ -241,7 +241,7 @@ private static function getNextQuotedPrintableToken($str)
* @param string $str
* @param string $charset
* @param int $lineLength Defaults to {@link LINELENGTH}
* @param int $lineEnd Defaults to {@link LINEEND}
* @param string $lineEnd Defaults to {@link LINEEND}
* @return string
*/
public static function encodeBase64Header($str,
Expand All @@ -265,7 +265,7 @@ public static function encodeBase64Header($str,
*
* @param string $str
* @param int $lineLength Defaults to {@link LINELENGTH}
* @param int $lineEnd Defaults to {@link LINEEND}
* @param string $lineEnd Defaults to {@link LINEEND}
* @return string
*/
public static function encodeBase64($str,
Expand Down Expand Up @@ -330,7 +330,7 @@ public function boundary()
/**
* Return a MIME boundary line
*
* @param mixed $EOL Defaults to {@link LINEEND}
* @param string $EOL Defaults to {@link LINEEND}
* @access public
* @return string
*/
Expand All @@ -342,6 +342,7 @@ public function boundaryLine($EOL = self::LINEEND)
/**
* Return MIME ending
*
* @param string $EOL Defaults to {@link LINEEND}
* @access public
* @return string
*/
Expand Down
5 changes: 4 additions & 1 deletion src/Part.php
Expand Up @@ -117,7 +117,8 @@ public function getEncodedStream()
/**
* Get the Content of the current Mime Part in the given encoding.
*
* @return String
* @param string $EOL
* @return string
*/
public function getContent($EOL = Mime::LINEEND)
{
Expand Down Expand Up @@ -145,6 +146,7 @@ public function getRawContent()
* Create and return the array of headers for this MIME part
*
* @access public
* @param string $EOL
* @return array
*/
public function getHeadersArray($EOL = Mime::LINEEND)
Expand Down Expand Up @@ -197,6 +199,7 @@ public function getHeadersArray($EOL = Mime::LINEEND)
/**
* Return the headers for this part as a string
*
* @param string $EOL
* @return String
*/
public function getHeaders($EOL = Mime::LINEEND)
Expand Down

0 comments on commit fbd3ec7

Please sign in to comment.