fixed CS
This commit is contained in:
parent
cda5ffaeeb
commit
ab75727f43
@ -44,7 +44,7 @@ class RouterController extends ContainerAware
|
||||
$context = $router->getContext();
|
||||
$context->setMethod($profile->getMethod());
|
||||
$matcher = new TraceableUrlMatcher($router->getRouteCollection(), $context);
|
||||
|
||||
|
||||
$request = $profile->getCollector('request');
|
||||
|
||||
return $this->container->get('templating')->renderResponse('WebProfilerBundle:Router:panel.html.twig', array(
|
||||
|
@ -230,7 +230,7 @@ class ParameterBag
|
||||
public function getDigits($key, $default = '', $deep = false)
|
||||
{
|
||||
// we need to remove - and + because they're allowed in the filter
|
||||
return str_replace(array('-','+'),'', $this->filter($key, $default, $deep, FILTER_SANITIZE_NUMBER_INT));
|
||||
return str_replace(array('-', '+'), '', $this->filter($key, $default, $deep, FILTER_SANITIZE_NUMBER_INT));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -83,6 +83,7 @@ abstract class BaseMemcacheProfilerStorage implements ProfilerStorageInterface
|
||||
if ($a['time'] === $b['time']) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return $a['time'] > $b['time'] ? -1 : 1;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user