Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2871 branch 'hotfix/ch…
Browse files Browse the repository at this point in the history
…ange-logical-operator'
  • Loading branch information
Maks3w committed Oct 31, 2012
3 parents 4e4acfe + 9e243bd + e26851e commit d43a2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File/Exists.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function addDirectory($directory)
public function isValid($value, $file = null)
{
$directories = $this->getDirectory(true);
if (($file !== null) and (!empty($file['destination']))) {
if (($file !== null) && (!empty($file['destination']))) {
$directories[] = $file['destination'];
} elseif (!isset($file['name'])) {
$file['name'] = $value;
Expand Down

0 comments on commit d43a2da

Please sign in to comment.