Skip to content

Commit e7fe79b

Browse files
committed
adjust tags to fit usage;
1 parent 40b9f7c commit e7fe79b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/phpDocumentor/Reflection/Php/Factory/AbstractFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ abstract protected function doCreate($object, StrategyContainer $strategies, ?Co
3434

3535
/**
3636
* @param Node|PropertyIterator|ClassConstantIterator|Doc $stmt
37-
* @return Element
37+
* @return mixed a child of Element
3838
*/
3939
protected function createMember($stmt, StrategyContainer $strategies, ?Context $context = null)
4040
{

src/phpDocumentor/Reflection/Php/Factory/ClassConstantIterator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public function getValue()
9393
* (PHP 5 &gt;= 5.0.0)<br/>
9494
* Return the current element
9595
* @link http://php.net/manual/en/iterator.current.php
96-
* @return mixed Can return any type.
9796
*/
9897
public function current(): self
9998
{
@@ -114,7 +113,6 @@ public function next(): void
114113
* (PHP 5 &gt;= 5.0.0)<br/>
115114
* Return the key of the current element
116115
* @link http://php.net/manual/en/iterator.key.php
117-
* @return mixed scalar on success, or null on failure.
118116
*/
119117
public function key(): ?int
120118
{

src/phpDocumentor/Reflection/Php/Factory/File.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ final class File extends AbstractFactory implements ProjectFactoryStrategy
4444
*/
4545
private $nodesFactory;
4646

47+
/**
48+
* @var callable
49+
*/
50+
private $middlewareChain;
51+
4752
/**
4853
* Initializes the object.
4954
*

src/phpDocumentor/Reflection/Php/Namespace_.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ public function getConstants(): array
8282

8383
/**
8484
* Add a Constant to this Namespace.
85-
*
86-
* @param Fqsen|Constant $contant
8785
*/
8886
public function addConstant(Fqsen $contant): void
8987
{

0 commit comments

Comments
 (0)