public function tesIsVoid()
 {
     foreach ($this->types as $type => $standard) {
         $typeReflection = new TypeReflection($type);
         $this->assertSame($type === 'void', $typeReflection->isVoid(), $type);
     }
 }
Beispiel #2
0
 public function testIsVoid()
 {
     $typeReflection = new TypeReflection('void');
     $this->assertTrue($typeReflection->isVoid());
 }