Code Duplication    Length = 2-2 lines in 2 locations

src/RandomOrgAPI.php 2 locations

@@ 198-199 (lines=2) @@
195
                            'Invalid arguments: ' . $body['error']['message'],
196
                            $body['error']['code']
197
                        );
198
                    case -32603:
199
                        throw new \RuntimeException(
200
                            'Internal Error: ' . $body['error']['message'],
201
                            $body['error']['code']
202
                        );
@@ 203-204 (lines=2) @@
200
                            'Internal Error: ' . $body['error']['message'],
201
                            $body['error']['code']
202
                        );
203
                    default:
204
                        throw new \RuntimeException(
205
                            'Invalid request/response: ' . $body['error']['message'],
206
                            $body['error']['code']
207
                        );