Exemplo n.º 1
0
 public function tesIsMixed()
 {
     foreach ($this->types as $type => $standard) {
         $typeReflection = new TypeReflection($type);
         $this->assertSame($type === 'mixed', $typeReflection->isMixed(), $type);
     }
 }
Exemplo n.º 2
0
 public function testIsMixed()
 {
     $typeReflection = new TypeReflection('mixed');
     $this->assertTrue($typeReflection->isMixed());
 }