Skip to content

Commit 7030993

Browse files
committed
🎨 Fix CS
1 parent ebbe68b commit 7030993

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/JsonBodyListener.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
88

99
/**
10-
* Allow to pass JSON raw as request content
10+
* Allow to pass JSON raw as request content.
1111
*/
1212
class JsonBodyListener
1313
{
@@ -41,7 +41,7 @@ public function onKernelRequest(GetResponseEvent $event)
4141

4242
$data = @json_decode($content, true);
4343
if (!is_array($data)) {
44-
throw new BadRequestHttpException('Invalid ' . $format . ' message received');
44+
throw new BadRequestHttpException('Invalid '.$format.' message received');
4545
}
4646

4747
$jsonSchema = $request->get('_jsonSchema');

testapp/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AppKernel extends Kernel
1818
public function registerBundles()
1919
{
2020
return [
21-
new Symfony\Bundle\FrameworkBundle\FrameworkBundle()
21+
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
2222
];
2323
}
2424

0 commit comments

Comments
 (0)