We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efa9bc8 commit c95fe6fCopy full SHA for c95fe6f
src/JsonSerializer.php
@@ -32,7 +32,7 @@ public function serialize(array $payload): string
32
33
return $encoded;
34
}
35
- catch(\Throwable $throwable)
+ catch (\Throwable $throwable)
36
{
37
throw new SerializationFailed(
38
\sprintf('JSON serialize failed: %s', $throwable->getMessage()),
@@ -54,7 +54,7 @@ public function unserialize(string $content): array
54
55
return $decoded;
56
57
58
59
throw new UnserializeFailed(
60
\sprintf('JSON unserialize failed: %s', $throwable->getMessage()),
0 commit comments