Commit 1946b880 authored by lussoluca's avatar lussoluca

Remove the lateCollect override

parent e0498e13
......@@ -62,7 +62,9 @@ class ToolbarController extends ControllerBase {
*
* @param Profile $profile
*
* @return array
* @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Exception
*/
public function toolbarAction(Profile $profile) {
$this->profiler->disable();
......
......@@ -54,8 +54,6 @@ trait DrupalDataCollectorTrait {
* @param $method
*
* @return array
*
* @throws \ReflectionException
*/
public function getMethodData($class, $method) {
$class = is_object($class) ? get_class($class) : $class;
......
......@@ -51,9 +51,8 @@ class RequestDataCollector extends BaseRequestDataCollector implements DrupalDat
/**
* @param $service_id
* @param $callable
* @param $request
* @param \Symfony\Component\HttpFoundation\Request $request
*
* @throws \ReflectionException
*/
public function addAccessCheck($service_id, $callable, Request $request) {
$this->accessCheck[$request->getPathInfo()][] = [
......@@ -62,19 +61,6 @@ class RequestDataCollector extends BaseRequestDataCollector implements DrupalDat
];
}
/**
* {@inheritdoc}
*
* In Symfony 3 the data for the RequestDataCollector are converted to string
* with \Symfony\Component\HttpKernel\DataCollector/DataCollector::cloneVar()
* in
* \Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::lateCollect(),
* but for some reasons they aren't unserialized back to array later. At the
* moment we simply override that method to avoid conversion.
*/
public function lateCollect() {
}
/**
* {@inheritdoc}
*/
......
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