Commit 854a48bf authored by Crell's avatar Crell Committed by effulgentsia

Remove workarounds for Symfony limitations that have been fixed.

parent e2f99d4e
......@@ -111,12 +111,7 @@ public function dump(array $options = array()) {
'pattern' => $compiled->getPattern(),
'pattern_outline' => $compiled->getPatternOutline(),
'number_parts' => $compiled->getNumParts(),
// This is only temporary. We need to strip off the compiled route from
// route object in order to serialize it. Cloning strips off the
// compiled route object. Remove this once
// https://github.com/symfony/symfony/pull/4755 is merged and brought
// back downstream.
'route' => serialize(clone($route)),
'route' => serialize($route),
);
$insert->values($values);
}
......
......@@ -75,7 +75,7 @@ public function matchRequestPartial(Request $request) {
}
}
if (!count($collection->all())) {
if (!count($collection)) {
throw new ResourceNotFoundException();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment