Remove workarounds for Symfony limitations that have been fixed.
parent
e2f99d4ec8
commit
854a48bf6b
|
@ -111,12 +111,7 @@ class MatcherDumper implements MatcherDumperInterface {
|
||||||
'pattern' => $compiled->getPattern(),
|
'pattern' => $compiled->getPattern(),
|
||||||
'pattern_outline' => $compiled->getPatternOutline(),
|
'pattern_outline' => $compiled->getPatternOutline(),
|
||||||
'number_parts' => $compiled->getNumParts(),
|
'number_parts' => $compiled->getNumParts(),
|
||||||
// This is only temporary. We need to strip off the compiled route from
|
'route' => serialize($route),
|
||||||
// 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)),
|
|
||||||
);
|
);
|
||||||
$insert->values($values);
|
$insert->values($values);
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@ class PathMatcher implements InitialMatcherInterface {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!count($collection->all())) {
|
if (!count($collection)) {
|
||||||
throw new ResourceNotFoundException();
|
throw new ResourceNotFoundException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue