OSDN Git Service

Добавлена возможность создавать новую запись предмета оборудования на основании уже...
[invent/invent.git] / vendor / swiftmailer / swiftmailer / lib / classes / Swift / Transport / EsmtpTransport.php
index d1f1c2c..bce0cdd 100644 (file)
@@ -235,7 +235,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
      * Returns whether SMTP pipelining is enabled.
      *
      * @return bool|null a boolean if pipelining is explicitly enabled or disabled,
-     *                   or null if support is auto-detected.
+     *                   or null if support is auto-detected
      */
     public function getPipelining()
     {
@@ -284,7 +284,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
      * @param int[]    $codes
      * @param string[] $failures An array of failures by-reference
      * @param bool     $pipeline Do not wait for response
-     * @param string   $address  The address, if command is RCPT TO.
+     * @param string   $address  the address, if command is RCPT TO
      *
      * @return string|null The server response, or null if pipelining is enabled
      */
@@ -309,10 +309,10 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
     public function __call($method, $args)
     {
         foreach ($this->handlers as $handler) {
-            if (in_array(strtolower($method),
+            if (\in_array(strtolower($method),
                 array_map('strtolower', (array) $handler->exposeMixinMethods())
                 )) {
-                $return = call_user_func_array([$handler, $method], $args);
+                $return = \call_user_func_array([$handler, $method], $args);
                 // Allow fluid method calls
                 if (null === $return && 'set' == substr($method, 0, 3)) {
                     return $this;
@@ -425,7 +425,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
     private function setHandlerParams()
     {
         foreach ($this->handlers as $keyword => $handler) {
-            if (array_key_exists($keyword, $this->capabilities)) {
+            if (\array_key_exists($keyword, $this->capabilities)) {
                 $handler->setKeywordParams($this->capabilities[$keyword]);
             }
         }
@@ -436,7 +436,7 @@ class Swift_Transport_EsmtpTransport extends Swift_Transport_AbstractSmtpTranspo
     {
         $handlers = [];
         foreach ($this->handlers as $keyword => $handler) {
-            if (array_key_exists($keyword, $this->capabilities)) {
+            if (\array_key_exists($keyword, $this->capabilities)) {
                 $handlers[] = $handler;
             }
         }