@@ -60,7 +60,7 @@ |
||
60 | 60 | $stream->next(); |
61 | 61 | |
62 | 62 | $body = $this->parser->subparse( |
63 | - function (\Twig_Token $token) { |
|
63 | + function(\Twig_Token $token) { |
|
64 | 64 | return $token->test(['endcontenteditable']); |
65 | 65 | }, |
66 | 66 | true |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | ->method('persist') |
128 | 128 | ->with( |
129 | 129 | $this->callback( |
130 | - function ($value) use ($expectedContent) { |
|
130 | + function($value) use ($expectedContent) { |
|
131 | 131 | return $value == $expectedContent; |
132 | 132 | } |
133 | 133 | ) |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | ->method('flush') |
138 | 138 | ->with( |
139 | 139 | $this->callback( |
140 | - function ($value) use ($expectedContent) { |
|
140 | + function($value) use ($expectedContent) { |
|
141 | 141 | return $value == $expectedContent; |
142 | 142 | } |
143 | 143 | ) |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | ->method('detach') |
201 | 201 | ->with( |
202 | 202 | $this->callback( |
203 | - function ($value) use ($content) { |
|
203 | + function($value) use ($content) { |
|
204 | 204 | return $value == $content; |
205 | 205 | } |
206 | 206 | ) |
@@ -54,8 +54,7 @@ |
||
54 | 54 | if (!$this->authorizationChecker->isGranted('ROLE_ADMIN')) { |
55 | 55 | return; |
56 | 56 | } |
57 | - } |
|
58 | - catch (AuthenticationCredentialsNotFoundException $e) { |
|
57 | + } catch (AuthenticationCredentialsNotFoundException $e) { |
|
59 | 58 | return; |
60 | 59 | } |
61 | 60 |
@@ -165,7 +165,7 @@ |
||
165 | 165 | $request = new Request(); |
166 | 166 | $response = new Response( |
167 | 167 | '<body></body>', |
168 | - 200, |
|
168 | + 200, |
|
169 | 169 | ['Content-Type' => 'text/html'] |
170 | 170 | ); |
171 | 171 |