Skip to content

Commit b0dedb2

Browse files
committed
Code analysis issues
1 parent 18d28da commit b0dedb2

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php declare(strict_types=1);
22

3+
/** @var tebe\zack\routing\PhpRouteHandler $this */
4+
35
return $this->render('articles/comments.html.twig', [
46
'title' => 'POST: Articles.[id].Comments.Php',
57
]);

tests/_data/routes/php-route-handler/return-string.get.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
/** @var tebe\zack\routing\PhpRouteHandler $this */
4+
35
return $this->render('route-handler.html.twig', [
46
'title' => 'Return string value',
57
'html' => '<h2>Return string value</h2>'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<?php declare(strict_types=1);
22

3+
/** @var tebe\zack\routing\PhpRouteHandler $this */
4+
35
return $this->redirect('/', 301);
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<?php declare(strict_types=1);
22

3+
/** @var tebe\zack\routing\PhpRouteHandler $this */
4+
35
return $this->redirect('/', 302);

0 commit comments

Comments
 (0)