diff --git a/src/Transfer/Adapter/AbstractAdapter.php b/src/Transfer/Adapter/AbstractAdapter.php index 6f717d6..520fe6b 100644 --- a/src/Transfer/Adapter/AbstractAdapter.php +++ b/src/Transfer/Adapter/AbstractAdapter.php @@ -622,7 +622,7 @@ public function isValid($files = null) $validator->setTranslator($translator); } - if (($class === 'Zend\Validator\File\Upload') and (empty($content['tmp_name']))) { + if (($class === 'Zend\Validator\File\Upload') && (empty($content['tmp_name']))) { $tocheck = $key; } else { $tocheck = $content['tmp_name']; @@ -632,16 +632,16 @@ public function isValid($files = null) $fileerrors += $validator->getMessages(); } - if (!empty($content['options']['ignoreNoFile']) and (isset($fileerrors['fileUploadErrorNoFile']))) { + if (!empty($content['options']['ignoreNoFile']) && (isset($fileerrors['fileUploadErrorNoFile']))) { unset($fileerrors['fileUploadErrorNoFile']); break; } - if (($class === 'Zend\Validator\File\Upload') and (count($fileerrors) > 0)) { + if (($class === 'Zend\Validator\File\Upload') && (count($fileerrors) > 0)) { break; } - if (($this->break[$class]) and (count($fileerrors) > 0)) { + if (($this->break[$class]) && (count($fileerrors) > 0)) { $break = true; break; }