Code Duplication    Length = 5-5 lines in 2 locations

src/RpcClient.php 2 locations

@@ 282-286 (lines=5) @@
279
280
            switch ( $this->protocol ) {
281
282
                case 'XML':
283
                    
284
                    $response = sizeof($this->requests) == 1 ? $this->xmlCall($this->requests[0]) : $this->xmlMulticall($this->requests);
285
                
286
                    break;
287
                    
288
                case 'JSON':
289
@@ 288-292 (lines=5) @@
285
                
286
                    break;
287
                    
288
                case 'JSON':
289
290
                    $response = sizeof($this->requests) == 1 ? $this->jsonCall($this->requests[0]) : $this->jsonMulticall($this->requests);
291
292
                    break;
293
                
294
                default:
295