Completed
Push — master ( f7ad33...cd335b )
by Rudie
02:05
created
src/IMAPMessage.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -20,6 +20,10 @@  discard block
 block discarded – undo
20 20
 	public $HTMLBody;
21 21
 	public $attachments = array(); // typeof Array<IMAPMessageAttachment>
22 22
 
23
+	/**
24
+	 * @param integer $msgNumber
25
+	 * @param boolean $unseen
26
+	 */
23 27
 	public function __construct( IMAPMailbox $mailbox, $msgNumber, $header, $unseen ) {
24 28
 		$this->mailbox = $mailbox;
25 29
 		$this->msgNumber = $msgNumber;
@@ -27,6 +31,9 @@  discard block
 block discarded – undo
27 31
 		$this->unseen = $unseen;
28 32
 	}
29 33
 
34
+	/**
35
+	 * @param boolean $clear
36
+	 */
30 37
 	protected function flags( $flags, $clear ) {
31 38
 		$cb = $clear ? 'imap_clearflag_full' : 'imap_setflag_full';
32 39
 
@@ -128,6 +135,9 @@  discard block
 block discarded – undo
128 135
 		return $parts;
129 136
 	}
130 137
 
138
+	/**
139
+	 * @param integer $index
140
+	 */
131 141
 	public function part( $index ) {
132 142
 		$parts = $this->parts();
133 143
 		return @$parts[$index];
Please login to merge, or discard this patch.
src/IMAPMessagePart.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
 		return $this->decode($body);
105 105
 	}
106 106
 
107
+	/**
108
+	 * @param string $content
109
+	 */
107 110
 	public function decode( $content ) {
108 111
 		return quoted_printable_decode($content);
109 112
 	}
Please login to merge, or discard this patch.