Code Duplication    Length = 25-25 lines in 2 locations

src/Parser.php 2 locations

@@ 312-336 (lines=25) @@
309
310
        $_success = $this->parseANNOTATION_GROUP();
311
312
        if ($_success) {
313
            $_value21 = array($this->value);
314
            $_cut22 = $this->cut;
315
316
            while (true) {
317
                $_position20 = $this->position;
318
319
                $this->cut = false;
320
                $_success = $this->parseANNOTATION_GROUP();
321
322
                if (!$_success) {
323
                    break;
324
                }
325
326
                $_value21[] = $this->value;
327
            }
328
329
            if (!$this->cut) {
330
                $_success = true;
331
                $this->position = $_position20;
332
                $this->value = $_value21;
333
            }
334
335
            $this->cut = $_cut22;
336
        }
337
338
        if ($_success) {
339
            $groups = $this->value;
@@ 382-406 (lines=25) @@
379
380
            $_success = $this->parseANNOTATION();
381
382
            if ($_success) {
383
                $_value24 = array($this->value);
384
                $_cut25 = $this->cut;
385
386
                while (true) {
387
                    $_position23 = $this->position;
388
389
                    $this->cut = false;
390
                    $_success = $this->parseANNOTATION();
391
392
                    if (!$_success) {
393
                        break;
394
                    }
395
396
                    $_value24[] = $this->value;
397
                }
398
399
                if (!$this->cut) {
400
                    $_success = true;
401
                    $this->position = $_position23;
402
                    $this->value = $_value24;
403
                }
404
405
                $this->cut = $_cut25;
406
            }
407
408
            if ($_success) {
409
                $annotations = $this->value;