src/Sins/Doctrine/DoctrineOrmWebProfilerProvider.php
Method register
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function register(Container $app)
{
if (isset($app['profiler'])) {
$app['twig'] = $app->extend('twig', function (\Twig_Environment $twig) {
$twig->addExtension(new DoctrineExtension());
Avoid too many return
statements within this method. Open
Open
return $dataCollectorTemplates;
Avoid too many return
statements within this method. Open
Open
return $collectors;