Skip to content

Commit b05fff1

Browse files
committed
Redundant methods removed
1 parent da5e906 commit b05fff1

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

src/IMAP/Support/Masks/AttachmentMask.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,4 @@ public function getContentBase64Encoded() {
4141
public function getImageSrc() {
4242
return 'data:'.$this->parent->content_type.';base64,'.$this->getContentBase64Encoded();
4343
}
44-
45-
/**
46-
* Alias method for better code reading
47-
*
48-
* @return Attachment
49-
*/
50-
public function getAttachment(){
51-
return $this->parent;
52-
}
5344
}

src/IMAP/Support/Masks/MessageMask.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function getHtmlBody(){
4040

4141
/**
4242
* Get the Message html body filtered by an optional callback
43+
* @param callable|bool $callback
4344
*
4445
* @return string|null
4546
*/
@@ -107,14 +108,4 @@ public function getHTMLBodyWithEmbeddedUrlImages($route_name, $params = []) {
107108
return $body;
108109
});
109110
}
110-
111-
/**
112-
* Alias method for better code reading
113-
*
114-
* @return Message
115-
*/
116-
public function getMessage(){
117-
return $this->parent;
118-
}
119-
120111
}

0 commit comments

Comments
 (0)