AnnotationClassWithAnonymousClass::foo()
last analyzed

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
1
<?php
2
3
namespace Doctrine\Tests\Common\Reflection;
4
5
use Doctrine\Common\Annotations\Annotation;
6
7
/**
8
 * @Annotation(
9
 *   key = "value"
10
 * )
11
 */
12
class AnnotationClassWithAnonymousClass
13
{
14
    public function foo()
15
    {
16
        $new_class = new class () {
0 ignored issues
show
Unused Code introduced by
The assignment to $new_class is dead and can be removed.
Loading history...
17
        };
18
    }
19
}
20