Code Duplication    Length = 2-2 lines in 2 locations

src/RandomOrgAPI.php 2 locations

@@ 217-218 (lines=2) @@
214
                            'Invalid arguments: ' . $body['error']['message'],
215
                            $body['error']['code']
216
                        );
217
                    case -32603:
218
                        throw new \RuntimeException(
219
                            'Internal Error: ' . $body['error']['message'],
220
                            $body['error']['code']
221
                        );
@@ 222-223 (lines=2) @@
219
                            'Internal Error: ' . $body['error']['message'],
220
                            $body['error']['code']
221
                        );
222
                    default:
223
                        throw new \RuntimeException(
224
                            'Invalid request/response: ' . $body['error']['message'],
225
                            $body['error']['code']
226
                        );