Commit fe1cb4b0 authored by Hermann Mayer's avatar Hermann Mayer

Cleaned up last commit, to remove style-errors.

parent 7f9f1e41
......@@ -73,9 +73,6 @@ class SearchController extends AbstractService
*
* Search for a given query.
*
* @param Request $request Request Object
* @param mixed $query Query from route GET parameter
*
* @access public
* @return void
*/
......@@ -122,12 +119,13 @@ class SearchController extends AbstractService
return $this
->container->get('templating')
->render('JityHomepageBundle:Service:Search/index.html.twig', array(
'query' => $query,
'results' => $results,
'fallback' => $fallback
)
);
->render(
'JityHomepageBundle:Service:Search/index.html.twig', array(
'query' => $query,
'results' => $results,
'fallback' => $fallback
)
);
}
/**
......
......@@ -44,8 +44,9 @@ class JityExtension extends Twig_Extension
*
* Initalize a new JityExtension instance.
*
* @param array $config DI Injected Bundle Config
* @param Router $config DI Injected Router Service
* @param array $config DI Injected Bundle Config
* @param Router $router DI Injected Router Service
* @param EntityManager $em DI Injected Doctrine Entity Manager
*
* @DI\InjectParams({
* "config" = @DI\Inject("%jity_homepage%"),
......
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