Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cs-fix

  • Loading branch information...
commit f6b86907b95ae41d2707d03accac6de7e87cf111 1 parent c3ed49e
@basz basz authored
View
6 library/Zend/Http/Header/AbstractAccept.php
@@ -303,8 +303,8 @@ public function match($matchAgainst)
foreach ($matchAgainst as $right) {
if ($right->type == '*' || $left->type == '*') {
if ($res = $this->matchAcceptParams($left, $right)) {
- $res->matchedAgainst = $right;
-
+ $res->matchedAgainst = $right;
+
return $res;
}
}
@@ -317,7 +317,7 @@ public function match($matchAgainst)
{
if ($res = $this->matchAcceptParams($left, $right)) {
$res->matchedAgainst = $right;
-
+
return $res;
}
}
View
2  library/Zend/Mvc/Controller/Plugin/AcceptedModel.php
@@ -75,7 +75,7 @@ public function __invoke(array $matchAgainst = null, $returnMatchedAcceptTypeOnl
$modelName = $res->matchedAgainst->params['_internalViewModel'];
$modelName = str_replace('|', '\\', $modelName);
-
+
return new $modelName;
}
Please sign in to comment.
Something went wrong with that request. Please try again.