Skip to content

Commit 76af76a

Browse files
author
Sebastian Krätzig
committed
Fixed a few PHP CS issues
1 parent cef0185 commit 76af76a

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/PhpImap/IncomingMail.php

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
<?php
22

3-
namespace PhpImap;
4-
53
/**
6-
* @see https://github.com/barbushin/php-imap
7-
*
4+
* The PhpImap IncomingMail class
5+
*
86
* @author Barbushin Sergey http://linkedin.com/in/barbushin
7+
* @see https://github.com/barbushin/php-imap
98
*
109
* @property string $textPlain lazy plain message body
1110
* @property string $textHtml lazy html message body
1211
*/
12+
13+
namespace PhpImap;
14+
1315
class IncomingMail extends IncomingMailHeader
1416
{
15-
/** @var IncomingMailAttachment[] */
17+
/**
18+
* @var IncomingMailAttachment[]
19+
*/
1620
protected $attachments = [];
1721
protected $hasAttachments = false;
1822
protected $dataInfo = [[], []];
@@ -32,6 +36,9 @@ public function addDataPartInfo(DataPartInfo $dataInfo, $type)
3236
/**
3337
* __get() is utilized for reading data from inaccessible (protected
3438
* or private) or non-existing properties.
39+
*
40+
* @property $name Name of the property (eg. textPlain)
41+
* @return mixed Value of the property (eg. Plain text message)
3542
*/
3643
public function __get($name)
3744
{
@@ -56,6 +63,9 @@ public function __get($name)
5663
/**
5764
* The method __isset() is triggered by calling isset() or empty()
5865
* on inaccessible (protected or private) or non-existing properties.
66+
*
67+
* @property $name Name of the property (eg. textPlain)
68+
* @return bool True, if property is set or empty
5969
*/
6070
public function __isset($name)
6171
{

0 commit comments

Comments
 (0)