Code Duplication    Length = 2-2 lines in 2 locations

src/RandomOrgAPI.php 2 locations

@@ 193-194 (lines=2) @@
190
                        throw new \BadFunctionCallException('Procedure not found: ' . $body['error']['message'], $body['error']['code']);
191
                    case -32602:
192
                        throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
193
                    case -32603:
194
                        throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
195
                    default:
196
                        throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
197
                }
@@ 195-196 (lines=2) @@
192
                        throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
193
                    case -32603:
194
                        throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
195
                    default:
196
                        throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
197
                }
198
            }
199
        }