* 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()
{
* @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
*/
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;
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]);
}
}
{
$handlers = [];
foreach ($this->handlers as $keyword => $handler) {
- if (array_key_exists($keyword, $this->capabilities)) {
+ if (\array_key_exists($keyword, $this->capabilities)) {
$handlers[] = $handler;
}
}