Skip to content

Commit d9688d4

Browse files
committed
[#81] Removing return type: this is unrelated to the PR
... and so should be done in a separate PR if we want it
1 parent 0da8244 commit d9688d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Resources/skeleton/controller/Controller.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class <?= $controller_class_name ?> extends Controller
1111
/**
1212
* @Route("<?= $route_path ?>", name="<?= $route_name ?>")
1313
*/
14-
public function index(): Response
14+
public function index()
1515
{
1616
return new Response('Welcome to your new controller!');
1717
}

src/Resources/skeleton/controller/ControllerWithTwig.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class <?= $controller_class_name ?> extends Controller
1111
/**
1212
* @Route("<?= $route_path ?>", name="<?= $route_name ?>")
1313
*/
14-
public function index(): Response
14+
public function index()
1515
{
1616
// replace this line with your own code!
1717
return $this->render('@Maker/demoPage.html.twig', [ 'path' => str_replace($this->getParameter('kernel.project_dir').'/', '', __FILE__) ]);

0 commit comments

Comments
 (0)