Skip to content

Commit

Permalink
[TypeInfo] Remove @experimental tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mtarld committed Nov 13, 2024
1 parent 5f64a54 commit c33697d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 29 deletions.
3 changes: 0 additions & 3 deletions Extractor/ConstructorExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public function __construct(
) {
}

/**
* @experimental
*/
public function getType(string $class, string $property, array $context = []): ?Type
{
foreach ($this->extractors as $extractor) {
Expand Down
6 changes: 0 additions & 6 deletions Extractor/PhpDocExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ public function getTypesFromConstructor(string $class, string $property): ?array
return array_merge([], ...$types);
}

/**
* @experimental
*/
public function getType(string $class, string $property, array $context = []): ?Type
{
/** @var DocBlock $docBlock */
Expand Down Expand Up @@ -256,9 +253,6 @@ public function getType(string $class, string $property, array $context = []): ?
return Type::list($type);
}

/**
* @experimental
*/
public function getTypeFromConstructor(string $class, string $property): ?Type
{
if (!$docBlock = $this->getDocBlockFromConstructor($class, $property)) {
Expand Down
6 changes: 0 additions & 6 deletions Extractor/PhpStanExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,6 @@ public function getTypesFromConstructor(string $class, string $property): ?array
return $types;
}

/**
* @experimental
*/
public function getType(string $class, string $property, array $context = []): ?Type
{
/** @var PhpDocNode|null $docNode */
Expand Down Expand Up @@ -234,9 +231,6 @@ public function getType(string $class, string $property, array $context = []): ?
return Type::list($type);
}

/**
* @experimental
*/
public function getTypeFromConstructor(string $class, string $property): ?Type
{
if (!$tagDocNode = $this->getDocBlockFromConstructor($class, $property)) {
Expand Down
6 changes: 0 additions & 6 deletions Extractor/ReflectionExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,6 @@ public function getTypesFromConstructor(string $class, string $property): ?array
return $types;
}

/**
* @experimental
*/
public function getType(string $class, string $property, array $context = []): ?Type
{
[$mutatorReflection, $prefix] = $this->getMutatorMethod($class, $property);
Expand Down Expand Up @@ -269,9 +266,6 @@ public function getType(string $class, string $property, array $context = []): ?
return $type;
}

/**
* @experimental
*/
public function getTypeFromConstructor(string $class, string $property): ?Type
{
try {
Expand Down
3 changes: 0 additions & 3 deletions PropertyInfoCacheExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ public function getProperties(string $class, array $context = []): ?array
return $this->extract('getProperties', [$class, $context]);
}

/**
* @experimental
*/
public function getType(string $class, string $property, array $context = []): ?Type
{
return $this->extract('getType', [$class, $property, $context]);
Expand Down
3 changes: 0 additions & 3 deletions PropertyInfoExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ public function getLongDescription(string $class, string $property, array $conte
return $this->extract($this->descriptionExtractors, 'getLongDescription', [$class, $property, $context]);
}

/**
* @experimental
*/
public function getType(string $class, string $property, array $context = []): ?Type
{
return $this->extract($this->typeExtractors, 'getType', [$class, $property, $context]);
Expand Down
2 changes: 0 additions & 2 deletions Util/PhpDocTypeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ public function getTypes(DocType $varType): array

/**
* Creates a {@see Type} from a PHPDoc type.
*
* @experimental
*/
public function getType(DocType $varType): ?Type
{
Expand Down

0 comments on commit c33697d

Please sign in to comment.