@@ -1683,9 +1683,6 @@ private function generateRefSect1(DOMDocument $doc, string $role): DOMElement {
1683
1683
return $ refSec ;
1684
1684
}
1685
1685
1686
- /**
1687
- * @throws Exception
1688
- */
1689
1686
public function getMethodSynopsisDocument (): ?string {
1690
1687
$ REFSEC1_SEPERATOR = "\n\n " ;
1691
1688
@@ -2114,9 +2111,6 @@ private function getExampleSection(DOMDocument $doc, string $id): DOMElement {
2114
2111
return $ refSec ;
2115
2112
}
2116
2113
2117
- /**
2118
- * @throws Exception
2119
- */
2120
2114
public function getMethodSynopsisElement (DOMDocument $ doc ): ?DOMElement {
2121
2115
if ($ this ->hasParamWithUnknownDefaultValue ()) {
2122
2116
return null ;
@@ -2438,7 +2432,7 @@ abstract class VariableLike
2438
2432
protected /* readonly */ ?ExposedDocComment $ exposedDocComment ;
2439
2433
2440
2434
/**
2441
- * @var AttributeInfo[] $attributes
2435
+ * @param AttributeInfo[] $attributes
2442
2436
*/
2443
2437
public function __construct (
2444
2438
int $ flags ,
@@ -2621,7 +2615,7 @@ class ConstInfo extends VariableLike
2621
2615
private /* readonly */ bool $ isFileCacheAllowed ;
2622
2616
2623
2617
/**
2624
- * @var AttributeInfo[] $attributes
2618
+ * @param AttributeInfo[] $attributes
2625
2619
*/
2626
2620
public function __construct (
2627
2621
AbstractConstName $ name ,
@@ -3075,7 +3069,7 @@ class PropertyInfo extends VariableLike
3075
3069
];
3076
3070
3077
3071
/**
3078
- * @var AttributeInfo[] $attributes
3072
+ * @param AttributeInfo[] $attributes
3079
3073
*/
3080
3074
public function __construct (
3081
3075
PropertyName $ name ,
@@ -3373,7 +3367,7 @@ public function generateCode(string $invocation, string $nameSuffix, array $allC
3373
3367
}
3374
3368
3375
3369
/**
3376
- * @param array<int, array<int, AttributeGroup>> $attributeGroups
3370
+ * @param AttributeGroup[] $attributeGroups
3377
3371
* @return AttributeInfo[]
3378
3372
*/
3379
3373
public static function createFromGroups (array $ attributeGroups ): array {
@@ -3733,7 +3727,6 @@ public function discardInfoForOldPhpVersions(?int $phpVersionIdMinimumCompatibil
3733
3727
/**
3734
3728
* @param array<string, ClassInfo> $classMap
3735
3729
* @param array<string, ConstInfo> $allConstInfos
3736
- * @param iterable<ConstInfo> $allConstInfo
3737
3730
*/
3738
3731
public function getClassSynopsisDocument (array $ classMap , array $ allConstInfos ): ?string {
3739
3732
$ doc = new DOMDocument ();
0 commit comments