Completed
Push — master ( 3082e7...9d7197 )
by Rudie
02:06
created
src/IMAPMessageContent.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
 					}
53 53
 
54 54
 					$iterate($part);
55
-				}
56
-				else {
55
+				} else {
57 56
 					$parts[] = $part;
58 57
 				}
59 58
 			}
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
 		return $parts;
30 30
 	}
31 31
 
32
+	/**
33
+	 * @param integer $index
34
+	 */
32 35
 	public function part( $index ) {
33 36
 		$parts = $this->parts();
34 37
 		return @$parts[$index];
@@ -56,6 +59,9 @@  discard block
 block discarded – undo
56 59
 		return @$parameters[ strtolower($name) ];
57 60
 	}
58 61
 
62
+	/**
63
+	 * @param boolean $recursive
64
+	 */
59 65
 	protected function subtypeContent( $subtypes, $recursive ) {
60 66
 		$subtypes = (array) $subtypes;
61 67
 		foreach ( $this->parts($recursive) as $part ) {
Please login to merge, or discard this patch.
src/IMAPMessage.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,8 +103,7 @@
 block discarded – undo
103 103
 					$structure,
104 104
 					[1]
105 105
 				);
106
-			}
107
-			else {
106
+			} else {
108 107
 				foreach ($structure->parts as $n => $part) {
109 108
 					$this->parts[] = $this->createMessagePart(
110 109
 						$part,
Please login to merge, or discard this patch.