Completed
Pull Request — master (#6)
by
unknown
39:06 queued 09:09
created
lib/Goetas/Mail/ToSwiftMailParser/Mime/HeaderDecoder.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@  discard block
 block discarded – undo
6 6
 {
7 7
     public static $decodeWindows1252 = false;
8 8
 
9
+    /**
10
+     * @param string $string
11
+     */
9 12
     public function decode($string)
10 13
     {
11 14
         /* Take out any spaces between multiple encoded words. */
@@ -66,6 +69,11 @@  discard block
 block discarded – undo
66 69
         return $out . substr($string, $old_pos);
67 70
     }
68 71
 
72
+    /**
73
+     * @param string $str
74
+     * @param string $orig
75
+     * @param string $to
76
+     */
69 77
     public static function convertCharset($str, $orig, $to)
70 78
     {
71 79
         //@todo convert charset
Please login to merge, or discard this patch.
lib/Goetas/Mail/ToSwiftMailParser/MimeParser.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      *
45
-     * @param stream $stream
45
+     * @param resource $stream
46 46
      * @param boolean $fillHeaders (default to false)
47 47
      * @param \Swift_Mime_SimpleMimeEntity $message (default to null)
48
-     * @return Swift_Mime_SimpleMimeEntity|\Swift_Message
48
+     * @return \Swift_Mime_SimpleMimeEntity
49 49
      */
50 50
     public function parseStream($stream, $fillHeaders = false, \Swift_Mime_SimpleMimeEntity $message = null)
51 51
     {
@@ -166,6 +166,9 @@  discard block
 block discarded – undo
166 166
         return $parts;
167 167
     }
168 168
 
169
+    /**
170
+     * @return string
171
+     */
169 172
     private function extractValueHeader($header)
170 173
     {
171 174
         $pos = stripos($header, ';');
Please login to merge, or discard this patch.