public function tesIsArray() { foreach ($this->types as $type => $standard) { $typeReflection = new TypeReflection($type); $this->assertSame(in_array($type, ['array', 'int[]']), $typeReflection->isArray(), $type); } }
public function testIsArrayCapitalized() { $typeReflection = new TypeReflection('Array'); $this->assertTrue($typeReflection->isArray()); }