@@ -65,7 +65,7 @@ final class ClassType
65
65
66
66
67
67
/**
68
- * @param string|object
68
+ * @param string|object $class
69
69
* @return static
70
70
*/
71
71
public static function from ($ class ): self
@@ -141,7 +141,7 @@ public function getNamespace()
141
141
142
142
143
143
/**
144
- * @param string|null
144
+ * @param string|null $name
145
145
* @return static
146
146
*/
147
147
public function setName ($ name ): self
@@ -215,7 +215,7 @@ public function isAbstract(): bool
215
215
216
216
217
217
/**
218
- * @param string|string[]
218
+ * @param string|string[] $names
219
219
* @return static
220
220
*/
221
221
public function setExtends ($ names ): self
@@ -251,7 +251,7 @@ public function addExtend(string $name): self
251
251
252
252
253
253
/**
254
- * @param string[]
254
+ * @param string[] $names
255
255
* @return static
256
256
*/
257
257
public function setImplements (array $ names ): self
@@ -283,7 +283,7 @@ public function addImplement(string $name): self
283
283
284
284
285
285
/**
286
- * @param string[]
286
+ * @param string[] $names
287
287
* @return static
288
288
*/
289
289
public function setTraits (array $ names ): self
@@ -348,7 +348,7 @@ public function addConst(string $name, $value): self
348
348
349
349
350
350
/**
351
- * @param Constant[]|mixed[]
351
+ * @param Constant[]|mixed[] $consts
352
352
* @return static
353
353
*/
354
354
public function setConstants (array $ consts ): self
@@ -378,7 +378,7 @@ public function addConstant(string $name, $value): Constant
378
378
379
379
380
380
/**
381
- * @param Property[]
381
+ * @param Property[] $props
382
382
* @return static
383
383
*/
384
384
public function setProperties (array $ props ): self
@@ -413,7 +413,7 @@ public function getProperty($name): Property
413
413
414
414
415
415
/**
416
- * @param string without $
416
+ * @param string $name without $
417
417
*/
418
418
public function addProperty (string $ name , $ value = null ): Property
419
419
{
@@ -422,7 +422,7 @@ public function addProperty(string $name, $value = null): Property
422
422
423
423
424
424
/**
425
- * @param Method[]
425
+ * @param Method[] $methods
426
426
* @return static
427
427
*/
428
428
public function setMethods (array $ methods ): self
0 commit comments