Completed
Push — master ( 7f7e55...d59bf3 )
by Zaahid
02:26
created
src/Header/AddressHeader.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * Returns all address parts in the header including all addresses that are
64 64
      * in groups.
65 65
      * 
66
-     * @return ZBateson\MailMimeParser\Header\Part\AddressPart[]
66
+     * @return AddressPart[]
67 67
      */
68 68
     public function getAddresses()
69 69
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser\Header;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\AbstractConsumer;
Please login to merge, or discard this patch.
src/Header/Consumer/AddressGroupConsumer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * element with all email addresses from this and any sub-groups.
61 61
      * 
62 62
      * @param ZBateson\MailMimeParser\Header\Part\HeaderPart[] $parts
63
-     * @return ZBateson\MailMimeParser\Header\Part\HeaderPart[]
63
+     * @return \ZBateson\MailMimeParser\Header\Part\AddressGroupPart[]
64 64
      */
65 65
     protected function processParts(array $parts)
66 66
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser\Header\Consumer;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/Header/Consumer/CommentConsumer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * 
69 69
      * @param string $token
70 70
      * @param bool $isLiteral
71
-     * @return \ZBateson\MailMimeParser\Header\Part\MimeLiteralPart
71
+     * @return \ZBateson\MailMimeParser\Header\Part\Token
72 72
      */
73 73
     protected function getPartForToken($token, $isLiteral)
74 74
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * array.
97 97
      * 
98 98
      * @param ZBateson\MailMimeParser\Header\Part\HeaderPart[] $parts
99
-     * @return ZBateson\MailMimeParser\Header\Part\HeaderPart[]
99
+     * @return CommentPart[]
100 100
      */
101 101
     protected function processParts(array $parts)
102 102
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser\Header\Consumer;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Part\LiteralPart;
Please login to merge, or discard this patch.
src/Header/Consumer/GenericConsumer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
      * as an array with a single element.
129 129
      * 
130 130
      * @param ZBateson\MailMimeParser\Header\Part\HeaderPart[] $parts
131
-     * @return ZBateson\MailMimeParser\Header\Part\HeaderPart[]
131
+     * @return \ZBateson\MailMimeParser\Header\Part\LiteralPart[]
132 132
      */
133 133
     protected function processParts(array $parts)
134 134
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser\Header\Consumer;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Part\Token;
Please login to merge, or discard this patch.
src/Message.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * Returns the text part (or null if none is set.)
89 89
      * 
90
-     * @return \ZBateson\MailMimeParser\MimePart
90
+     * @return resource
91 91
      */
92 92
     public function getTextPart()
93 93
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Returns the HTML part (or null if none is set.)
99 99
      * 
100
-     * @return \ZBateson\MailMimeParser\MimePart
100
+     * @return resource
101 101
      */
102 102
     public function getHtmlPart()
103 103
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\HeaderFactory;
Please login to merge, or discard this patch.
src/MessageParser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
      * The method will loop to read headers and find and parse multipart-mime
139 139
      * message parts, adding them to the $message.
140 140
      * 
141
-     * @param type $handle
141
+     * @param resource $handle
142 142
      * @param \ZBateson\MailMimeParser\Message $message
143 143
      */
144 144
     protected function read($handle, Message $message)
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/PartStream.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      * 
157 157
      * @param int $offset
158 158
      * @param int $whence One of SEEK_SET, SEEK_CUR and SEEK_END.
159
-     * @return boolean
159
+     * @return boolean|null
160 160
      */
161 161
     public function stream_seek($offset, $whence = SEEK_SET)
162 162
     {
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 /**
@@ -176,18 +176,18 @@  discard block
 block discarded – undo
176 176
                 break;
177 177
             case SEEK_CUR:
178 178
                 if ($offset >= 0) {
179
-                     $this->position += $offset;
180
-                     return true;
179
+                        $this->position += $offset;
180
+                        return true;
181 181
                 } else {
182
-                     return false;
182
+                        return false;
183 183
                 }
184 184
                 break;
185 185
             case SEEK_END:
186 186
                 if ($this->end + $offset >= $this->start) {
187
-                     $this->position = ($this->end - $this->start) + $offset;
188
-                     return true;
187
+                        $this->position = ($this->end - $this->start) + $offset;
188
+                        return true;
189 189
                 } else {
190
-                     return false;
190
+                        return false;
191 191
                 }
192 192
                 break;
193 193
             default:
Please login to merge, or discard this patch.
src/SimpleDi.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
     /**
170 170
      * Returns the header consumer service
171 171
      * 
172
-     * @return ZBateson\MailMimeParser\Header\Consumer\ConsumerService
172
+     * @return ConsumerService
173 173
      */
174 174
     public function getConsumerService()
175 175
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\ConsumerService;
Please login to merge, or discard this patch.
src/Header/AbstractHeader.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the ZBateson\MailMimeParser project.
4
- *
5
- * @license http://opensource.org/licenses/bsd-license.php BSD
6
- */
3
+     * This file is part of the ZBateson\MailMimeParser project.
4
+     *
5
+     * @license http://opensource.org/licenses/bsd-license.php BSD
6
+     */
7 7
 namespace ZBateson\MailMimeParser\Header;
8 8
 
9 9
 use ZBateson\MailMimeParser\Header\Consumer\AbstractConsumer;
Please login to merge, or discard this patch.