Browse Source

Remove unused method.

ADmad 6 years ago
parent
commit
aeac7a45b6
1 changed files with 0 additions and 12 deletions
  1. 0 12
      src/Mailer/Message.php

+ 0 - 12
src/Mailer/Message.php

@@ -1201,18 +1201,6 @@ class Message implements JsonSerializable, Serializable
     }
 
     /**
-     * Get generated message body.
-     *
-     * @param string|null $type Use MESSAGE_* constants or null to return the full message as array
-     * @return string|array String if type is given, array if type is null
-     * @internal This method is just for backwards compatibility. Use getBody() instead.
-     */
-    public function message(?string $type = null)
-    {
-        return $this->getBody();
-    }
-
-    /**
      * Create unique boundary identifier
      *
      * @return void