summaryrefslogtreecommitdiff
path: root/Postman
diff options
context:
space:
mode:
authorNiels de Blaauw <niels@level-level.com>2019-03-13 12:21:14 +0100
committerNiels de Blaauw <niels@level-level.com>2019-03-13 12:21:14 +0100
commit605230deab5f03429c34f1aa5b69d75eb249c944 (patch)
treee74f76cc1dcd90d604215720bf693819bb8bf192 /Postman
parenta8b11bb241b0c377b8167cf275b3e788228b7c31 (diff)
downloadPost-SMTP-605230deab5f03429c34f1aa5b69d75eb249c944.zip
Fixes #33, multiple incorrect return types adjusted
Diffstat (limited to 'Postman')
-rw-r--r--Postman/Postman-Configuration/PostmanConfigurationController.php2
-rw-r--r--Postman/Postman-Mail/PostmanMailgunTransport.php2
-rw-r--r--Postman/Postman-Mail/PostmanMandrillTransport.php2
-rw-r--r--Postman/Postman-Mail/PostmanMyMailConnector.php3
-rw-r--r--Postman/Postman-Mail/PostmanSendGridTransport.php2
-rw-r--r--Postman/PostmanWpMailBinder.php2
6 files changed, 6 insertions, 7 deletions
diff --git a/Postman/Postman-Configuration/PostmanConfigurationController.php b/Postman/Postman-Configuration/PostmanConfigurationController.php
index fa8f06d..2b11b6c 100644
--- a/Postman/Postman-Configuration/PostmanConfigurationController.php
+++ b/Postman/Postman-Configuration/PostmanConfigurationController.php
@@ -12,6 +12,8 @@ class PostmanConfigurationController {
// Holds the values to be used in the fields callbacks
private $rootPluginFilenameAndPath;
+ private $importableConfiguration;
+
/**
* Constructor
*
diff --git a/Postman/Postman-Mail/PostmanMailgunTransport.php b/Postman/Postman-Mail/PostmanMailgunTransport.php
index bd5490e..a673e01 100644
--- a/Postman/Postman-Mail/PostmanMailgunTransport.php
+++ b/Postman/Postman-Mail/PostmanMailgunTransport.php
@@ -49,7 +49,7 @@ class PostmanMailgunTransport extends PostmanAbstractModuleTransport implements
/**
* v0.2.1
*
- * @return string
+ * @return int
*/
public function getPort() {
return self::PORT;
diff --git a/Postman/Postman-Mail/PostmanMandrillTransport.php b/Postman/Postman-Mail/PostmanMandrillTransport.php
index 6dc2d6e..8284660 100644
--- a/Postman/Postman-Mail/PostmanMandrillTransport.php
+++ b/Postman/Postman-Mail/PostmanMandrillTransport.php
@@ -54,7 +54,7 @@ class PostmanMandrillTransport extends PostmanAbstractModuleTransport implements
/**
* v0.2.1
*
- * @return string
+ * @return int
*/
public function getPort() {
return self::PORT;
diff --git a/Postman/Postman-Mail/PostmanMyMailConnector.php b/Postman/Postman-Mail/PostmanMyMailConnector.php
index d37f97e..f6b7e54 100644
--- a/Postman/Postman-Mail/PostmanMyMailConnector.php
+++ b/Postman/Postman-Mail/PostmanMyMailConnector.php
@@ -155,7 +155,6 @@ if ( ! class_exists( 'PostmanMyMailConnector' ) ) {
*
* @access public
* @param mixed $message
- * @return array
*/
public function reset() {
update_option( '_transient__mailster_send_period_timeout', false );
@@ -169,7 +168,7 @@ if ( ! class_exists( 'PostmanMyMailConnector' ) ) {
*
* @access public
* @param mixed $delivery_methods
- * @return void
+ * @return mixed
*/
public function delivery_method( $delivery_methods ) {
$delivery_methods [ MAILSTER_POSTMAN_ID ] = __( 'Postman SMTP', 'post-smtp' );
diff --git a/Postman/Postman-Mail/PostmanSendGridTransport.php b/Postman/Postman-Mail/PostmanSendGridTransport.php
index b6fc66b..efac416 100644
--- a/Postman/Postman-Mail/PostmanSendGridTransport.php
+++ b/Postman/Postman-Mail/PostmanSendGridTransport.php
@@ -49,7 +49,7 @@ class PostmanSendGridTransport extends PostmanAbstractModuleTransport implements
/**
* v0.2.1
*
- * @return string
+ * @return int
*/
public function getPort() {
return self::PORT;
diff --git a/Postman/PostmanWpMailBinder.php b/Postman/PostmanWpMailBinder.php
index dc5ea28..21d14e0 100644
--- a/Postman/PostmanWpMailBinder.php
+++ b/Postman/PostmanWpMailBinder.php
@@ -90,8 +90,6 @@ if (! class_exists ( 'PostmanWpMailBinder' )) {
*
* If the function does not exist, then the replacement was successful
* and we set a success flag.
- *
- * @return boolean
*/
private function replacePluggableFunctionWpMail() {
/**