@@ -88,15 +88,13 @@ |
||
88 | 88 | public function getStream() |
89 | 89 | { |
90 | 90 | return ($this->parent !== null) ? |
91 | - $this->parent->getStream() : |
|
92 | - $this->messageStream; |
|
91 | + $this->parent->getStream() : $this->messageStream; |
|
93 | 92 | } |
94 | 93 | |
95 | 94 | public function getMessageResourceHandle() |
96 | 95 | { |
97 | 96 | return ($this->parent !== null) ? |
98 | - $this->parent->getMessageResourceHandle() : |
|
99 | - $this->messageHandle; |
|
97 | + $this->parent->getMessageResourceHandle() : $this->messageHandle; |
|
100 | 98 | } |
101 | 99 | |
102 | 100 | public function getMessageResourceHandlePos() |
@@ -28,8 +28,8 @@ |
||
28 | 28 | class ParserMessageFactory |
29 | 29 | { |
30 | 30 | /** |
31 | - * @var StreamFactory the StreamFactory instance |
|
32 | - */ |
|
31 | + * @var StreamFactory the StreamFactory instance |
|
32 | + */ |
|
33 | 33 | protected $streamFactory; |
34 | 34 | |
35 | 35 | /** |
@@ -70,7 +70,7 @@ |
||
70 | 70 | $this->partHeaderContainerFactory = $phcf; |
71 | 71 | $this->parsedPartStreamContainerFactory = $pscf; |
72 | 72 | $this->parsedPartChildrenContainerFactory = $ppccf; |
73 | - $this->parserFactories = [ $mpf, $nmpf ]; |
|
73 | + $this->parserFactories = [$mpf, $nmpf]; |
|
74 | 74 | $this->messageService = $mhs; |
75 | 75 | } |
76 | 76 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $this->addRawHeaderToPart($header, $container); |
49 | 49 | $header = ''; |
50 | 50 | } else { |
51 | - $line = "\r\n" . $line; |
|
51 | + $line = "\r\n".$line; |
|
52 | 52 | } |
53 | 53 | $header .= rtrim($line, "\r\n"); |
54 | 54 | } while ($header !== ''); |