@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare( strict_types = 1 ); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace WMDE\Fundraising\Frontend\App\Controllers; |
| 6 | 6 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | try { |
| 30 | - return $this->getPageTemplate( $pageId )->render( [ 'page_id' => $pageId ] ); |
|
| 30 | + return $this->getPageTemplate( $pageId )->render( ['page_id' => $pageId] ); |
|
| 31 | 31 | } |
| 32 | 32 | catch ( \Twig_Error_Runtime $exception ) { |
| 33 | 33 | if ( $exception->getPrevious() instanceof ContentNotFoundException ) { |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare( strict_types = 1 ); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace WMDE\Fundraising\Frontend\App\Controllers; |
| 6 | 6 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | try { |
| 28 | 28 | $useCaseRequest = $this->newUseCaseRequest(); |
| 29 | 29 | } catch ( UnexpectedValueException $e ) { |
| 30 | - $this->logWebRequest( [ 'message' => $e->getMessage() ], LogLevel::ERROR ); |
|
| 30 | + $this->logWebRequest( ['message' => $e->getMessage()], LogLevel::ERROR ); |
|
| 31 | 31 | return new Response( 'Bad request', Response::HTTP_BAD_REQUEST ); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare( strict_types = 1 ); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace WMDE\Fundraising\Frontend\App\Controllers; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare( strict_types = 1 ); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace WMDE\Fundraising\Frontend\App\Controllers; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare( strict_types = 1 ); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace WMDE\Fundraising\Frontend\App\Controllers; |
| 6 | 6 | |