Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
[zendframework#4263] Better formatting still
Browse files Browse the repository at this point in the history
- CS indicates && and || should be on next line; multiline conditionals
  should put the closing paren and brace on a line of their own.
  • Loading branch information
weierophinney committed Apr 22, 2013
1 parent ca08b06 commit 11df51b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/Zend/Validator/File/MimeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,9 @@ public function isValid($value, $file = null)
}
}

if (empty($this->type) &&
(function_exists('mime_content_type') && ini_get('mime_magic.magicfile'))) {
if (empty($this->type)
&& (function_exists('mime_content_type') && ini_get('mime_magic.magicfile'))
) {
$this->type = mime_content_type($file);
}

Expand Down

0 comments on commit 11df51b

Please sign in to comment.