Skip to content

Commit

Permalink
Condense isset calls
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Dec 13, 2015
1 parent 11cd032 commit 0d2713b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/HtmlHelper.php
Expand Up @@ -250,7 +250,7 @@ public function meta($type, $content = null, array $options = [])
} else {
$type = ['name' => $type, 'content' => $content];
}
} elseif (isset($options['type']) && isset($types[$options['type']])) {
} elseif (isset($options['type'], $types[$options['type']])) {
$type = $types[$options['type']];
unset($options['type']);
} else {
Expand Down

0 comments on commit 0d2713b

Please sign in to comment.