File tree Expand file tree Collapse file tree 4 files changed +12
-36
lines changed Expand file tree Collapse file tree 4 files changed +12
-36
lines changed Original file line number Diff line number Diff line change 88
99abstract class Coder implements CoderInterface
1010{
11+ /**
12+ * @throws Exception\CoderCouldNotEncodeData
13+ */
1114 public function encode (string $ decoded ): string
1215 {
1316 try {
@@ -20,6 +23,9 @@ public function encode(string $decoded): string
2023 }
2124 }
2225
26+ /**
27+ * @throws Exception\CoderCouldNotDecodeData
28+ */
2329 public function decode (string $ encoded ): string
2430 {
2531 try {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88
99abstract class Serializer implements SerializerInterface
1010{
11+ /**
12+ * @throws Exception\SerializerCouldNotSerializeData
13+ */
1114 public function serialize (mixed $ serializable ): string
1215 {
1316 try {
@@ -20,6 +23,9 @@ public function serialize(mixed $serializable): string
2023 }
2124 }
2225
26+ /**
27+ * @throws Exception\SerializerCouldNotUnserializeData
28+ */
2329 public function unserialize (string $ serialized ): mixed
2430 {
2531 try {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments