[HttpKernel] Added the resource ID when printing a resource in the DataCollector
This commit is contained in:
parent
230b2dc2b7
commit
01983a553a
@ -55,7 +55,7 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable
|
||||
}
|
||||
|
||||
if (is_resource($var)) {
|
||||
return sprintf('Resource(%s)', get_resource_type($var));
|
||||
return sprintf('Resource(%s#%d)', get_resource_type($var), $var);
|
||||
}
|
||||
|
||||
if (null === $var) {
|
||||
|
Reference in New Issue
Block a user