Skip to content

Commit

Permalink
Fix type hint in gen_stub.php
Browse files Browse the repository at this point in the history
There is no ClassType class, only SimpleType.

[ci skip]
  • Loading branch information
nikic committed Aug 31, 2021
1 parent a968055 commit c1c1822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/gen_stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,14 @@ function ($type) { return $type->name; },
}

class ArginfoType {
/** @var ClassType[] $classTypes */
/** @var SimpleType[] $classTypes */
public $classTypes;

/** @var SimpleType[] $builtinTypes */
private $builtinTypes;

/**
* @param ClassType[] $classTypes
* @param SimpleType[] $classTypes
* @param SimpleType[] $builtinTypes
*/
public function __construct(array $classTypes, array $builtinTypes) {
Expand Down

0 comments on commit c1c1822

Please sign in to comment.