remove unused docblocks

This commit is contained in:
TomasVotruba
2017-11-30 10:27:01 +01:00
committed by Jaap van Otterdijk
parent 154c85b680
commit 0bac84ee68
26 changed files with 2 additions and 186 deletions
-10
View File
@@ -40,12 +40,9 @@ final class DocBlock
private $isTemplateEnd = false; private $isTemplateEnd = false;
/** /**
* @param string $summary
* @param DocBlock\Tag[] $tags * @param DocBlock\Tag[] $tags
* @param Types\Context $context The context in which the DocBlock occurs. * @param Types\Context $context The context in which the DocBlock occurs.
* @param Location $location The location within the file that this DocBlock occurs in. * @param Location $location The location within the file that this DocBlock occurs in.
* @param bool $isTemplateStart
* @param bool $isTemplateEnd
*/ */
public function __construct( public function __construct(
string $summary = '', string $summary = '',
@@ -71,9 +68,6 @@ final class DocBlock
$this->isTemplateStart = $isTemplateStart; $this->isTemplateStart = $isTemplateStart;
} }
/**
* @return string
*/
public function getSummary(): string public function getSummary(): string
{ {
return $this->summary; return $this->summary;
@@ -181,8 +175,6 @@ final class DocBlock
* Checks if a tag of a certain type is present in this DocBlock. * Checks if a tag of a certain type is present in this DocBlock.
* *
* @param string $name Tag name to check for. * @param string $name Tag name to check for.
*
* @return bool
*/ */
public function hasTag(string $name): bool public function hasTag(string $name): bool
{ {
@@ -200,7 +192,6 @@ final class DocBlock
* Remove a tag from this DocBlock. * Remove a tag from this DocBlock.
* *
* @param Tag $tag The tag to remove. * @param Tag $tag The tag to remove.
*
*/ */
public function removeTag(Tag $tagToRemove) public function removeTag(Tag $tagToRemove)
{ {
@@ -216,7 +207,6 @@ final class DocBlock
* Adds a tag to this DocBlock. * Adds a tag to this DocBlock.
* *
* @param Tag $tag The tag to add. * @param Tag $tag The tag to add.
*
*/ */
private function addTag(Tag $tag) private function addTag(Tag $tag)
{ {
-6
View File
@@ -59,7 +59,6 @@ class Description
/** /**
* Initializes a Description with its body (template) and a listing of the tags used in the body template. * Initializes a Description with its body (template) and a listing of the tags used in the body template.
* *
* @param string $bodyTemplate
* @param Tag[] $tags * @param Tag[] $tags
*/ */
public function __construct(string $bodyTemplate, array $tags = []) public function __construct(string $bodyTemplate, array $tags = [])
@@ -81,9 +80,6 @@ class Description
/** /**
* Renders this description as a string where the provided formatter will format the tags in the expected string * Renders this description as a string where the provided formatter will format the tags in the expected string
* format. * format.
*
*
* @return string
*/ */
public function render(Formatter $formatter = null): string public function render(Formatter $formatter = null): string
{ {
@@ -101,8 +97,6 @@ class Description
/** /**
* Returns a plain string representation of this description. * Returns a plain string representation of this description.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-7
View File
@@ -39,7 +39,6 @@ class DescriptionFactory
/** /**
* Initializes this factory with the means to construct (inline) tags. * Initializes this factory with the means to construct (inline) tags.
*
*/ */
public function __construct(TagFactory $tagFactory) public function __construct(TagFactory $tagFactory)
{ {
@@ -49,7 +48,6 @@ class DescriptionFactory
/** /**
* Returns the parsed text of this description. * Returns the parsed text of this description.
* *
* @param string $contents
* *
* @return Description * @return Description
*/ */
@@ -63,7 +61,6 @@ class DescriptionFactory
/** /**
* Strips the contents from superfluous whitespace and splits the description into a series of tokens. * Strips the contents from superfluous whitespace and splits the description into a series of tokens.
* *
* @param string $contents
* *
* @return string[] A series of tokens of which the description text is composed. * @return string[] A series of tokens of which the description text is composed.
*/ */
@@ -149,10 +146,6 @@ class DescriptionFactory
* *
* If we do not normalize the indentation then we have superfluous whitespace on the second and subsequent * If we do not normalize the indentation then we have superfluous whitespace on the second and subsequent
* lines and this may cause rendering issues when, for example, using a Markdown converter. * lines and this may cause rendering issues when, for example, using a Markdown converter.
*
* @param string $contents
*
* @return string
*/ */
private function removeSuperfluousStartingWhitespace(string $contents): string private function removeSuperfluousStartingWhitespace(string $contents): string
{ {
-22
View File
@@ -28,9 +28,6 @@ class ExampleFinder
/** /**
* Attempts to find the example contents for the given descriptor. * Attempts to find the example contents for the given descriptor.
*
*
* @return string
*/ */
public function find(Example $example): string public function find(Example $example): string
{ {
@@ -46,9 +43,6 @@ class ExampleFinder
/** /**
* Registers the project's root directory where an 'examples' folder can be expected. * Registers the project's root directory where an 'examples' folder can be expected.
*
* @param string $directory
*
*/ */
public function setSourceDirectory(string $directory = '') public function setSourceDirectory(string $directory = '')
{ {
@@ -57,8 +51,6 @@ class ExampleFinder
/** /**
* Returns the project's root directory where an 'examples' folder can be expected. * Returns the project's root directory where an 'examples' folder can be expected.
*
* @return string
*/ */
public function getSourceDirectory(): string public function getSourceDirectory(): string
{ {
@@ -96,7 +88,6 @@ class ExampleFinder
* 3. Checks the 'examples' folder in the current working directory for examples * 3. Checks the 'examples' folder in the current working directory for examples
* 4. Checks the path relative to the current working directory for the given filename * 4. Checks the path relative to the current working directory for the given filename
* *
* @param string $filename
* *
* @return string|null * @return string|null
*/ */
@@ -127,10 +118,6 @@ class ExampleFinder
/** /**
* Get example filepath based on the example directory inside your project. * Get example filepath based on the example directory inside your project.
*
* @param string $file
*
* @return string
*/ */
private function getExamplePathFromExampleDirectory(string $file): string private function getExamplePathFromExampleDirectory(string $file): string
{ {
@@ -139,11 +126,6 @@ class ExampleFinder
/** /**
* Returns a path to the example file in the given directory.. * Returns a path to the example file in the given directory..
*
* @param string $directory
* @param string $file
*
* @return string
*/ */
private function constructExamplePath(string $directory, string $file): string private function constructExamplePath(string $directory, string $file): string
{ {
@@ -152,10 +134,6 @@ class ExampleFinder
/** /**
* Get example filepath based on sourcecode. * Get example filepath based on sourcecode.
*
* @param string $file
*
* @return string
*/ */
private function getExamplePathFromSource(string $file): string private function getExamplePathFromSource(string $file): string
{ {
-14
View File
@@ -88,8 +88,6 @@ class Serializer
} }
/** /**
* @param $indent
* @param $text
* @return mixed * @return mixed
*/ */
private function removeTrailingSpaces($indent, $text) private function removeTrailingSpaces($indent, $text)
@@ -98,8 +96,6 @@ class Serializer
} }
/** /**
* @param $indent
* @param $text
* @return mixed * @return mixed
*/ */
private function addAsterisksForEachLine($indent, $text) private function addAsterisksForEachLine($indent, $text)
@@ -107,10 +103,6 @@ class Serializer
return str_replace("\n", "\n{$indent} * ", $text); return str_replace("\n", "\n{$indent} * ", $text);
} }
/**
* @param $wrapLength
* @return string
*/
private function getSummaryAndDescriptionTextBlock(DocBlock $docblock, $wrapLength): string private function getSummaryAndDescriptionTextBlock(DocBlock $docblock, $wrapLength): string
{ {
$text = $docblock->getSummary() . ((string)$docblock->getDescription() ? "\n\n" . $docblock->getDescription() $text = $docblock->getSummary() . ((string)$docblock->getDescription() ? "\n\n" . $docblock->getDescription()
@@ -123,12 +115,6 @@ class Serializer
return $text; return $text;
} }
/**
* @param $wrapLength
* @param $indent
* @param $comment
* @return string
*/
private function addTagBlock(DocBlock $docblock, $wrapLength, $indent, $comment): string private function addTagBlock(DocBlock $docblock, $wrapLength, $indent, $comment): string
{ {
foreach ($docblock->getTags() as $tag) { foreach ($docblock->getTags() as $tag) {
-11
View File
@@ -160,7 +160,6 @@ final class StandardTagFactory implements TagFactory
/** /**
* Extracts all components for a tag. * Extracts all components for a tag.
* *
* @param string $tagLine
* *
* @return string[] * @return string[]
*/ */
@@ -184,8 +183,6 @@ final class StandardTagFactory implements TagFactory
* Creates a new tag object with the given name and body or returns null if the tag name was recognized but the * Creates a new tag object with the given name and body or returns null if the tag name was recognized but the
* body was invalid. * body was invalid.
* *
* @param string $body
* @param string $name
* *
* @return Tag|null * @return Tag|null
*/ */
@@ -202,10 +199,6 @@ final class StandardTagFactory implements TagFactory
/** /**
* Determines the Fully Qualified Class Name of the Factory or Tag (containing a Factory Method `create`). * Determines the Fully Qualified Class Name of the Factory or Tag (containing a Factory Method `create`).
*
* @param string $tagName
*
* @return string
*/ */
private function findHandlerClassName(string $tagName, TypeContext $context): string private function findHandlerClassName(string $tagName, TypeContext $context): string
{ {
@@ -258,7 +251,6 @@ final class StandardTagFactory implements TagFactory
* Retrieves a series of ReflectionParameter objects for the static 'create' method of the given * Retrieves a series of ReflectionParameter objects for the static 'create' method of the given
* tag handler class name. * tag handler class name.
* *
* @param string $handlerClassName
* *
* @return \ReflectionParameter[] * @return \ReflectionParameter[]
*/ */
@@ -299,11 +291,8 @@ final class StandardTagFactory implements TagFactory
/** /**
* Returns whether the given tag belongs to an annotation. * Returns whether the given tag belongs to an annotation.
* *
* @param string $tagContent
* *
* @todo this method should be populated once we implement Annotation notation support. * @todo this method should be populated once we implement Annotation notation support.
*
* @return bool
*/ */
private function isAnnotation(string $tagContent): bool private function isAnnotation(string $tagContent): bool
{ {
-7
View File
@@ -37,8 +37,6 @@ interface TagFactory
* *
* @param string $name * @param string $name
* @param mixed $value * @param mixed $value
*
* @return void
*/ */
public function addParameter(string $name, $value); public function addParameter(string $name, $value);
@@ -52,9 +50,6 @@ interface TagFactory
* interface is passed as alias then every time that interface is requested the provided service will be returned. * interface is passed as alias then every time that interface is requested the provided service will be returned.
* *
* @param object $service * @param object $service
* @param string $alias
*
* @return void
*/ */
public function addService($service); public function addService($service);
@@ -86,8 +81,6 @@ interface TagFactory
* @throws \InvalidArgumentException if the handler is not a string * @throws \InvalidArgumentException if the handler is not a string
* @throws \InvalidArgumentException if the handler is not an existing class * @throws \InvalidArgumentException if the handler is not an existing class
* @throws \InvalidArgumentException if the handler does not implement the {@see Tag} interface * @throws \InvalidArgumentException if the handler does not implement the {@see Tag} interface
*
* @return void
*/ */
public function registerTagHandler(string $tagName, string $handler); public function registerTagHandler(string $tagName, string $handler);
} }
-6
View File
@@ -30,9 +30,6 @@ final class Author extends BaseTag implements Factory\StaticMethod
/** /**
* Initializes this tag with the author name and e-mail. * Initializes this tag with the author name and e-mail.
*
* @param string $authorName
* @param string $authorEmail
*/ */
public function __construct(string $authorName, string $authorEmail) public function __construct(string $authorName, string $authorEmail)
{ {
@@ -66,8 +63,6 @@ final class Author extends BaseTag implements Factory\StaticMethod
/** /**
* Returns this tag in string form. * Returns this tag in string form.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
@@ -77,7 +72,6 @@ final class Author extends BaseTag implements Factory\StaticMethod
/** /**
* Attempts to create a new Author object based on †he tag body. * Attempts to create a new Author object based on †he tag body.
* *
* @param string $body
* *
* @return static * @return static
*/ */
-4
View File
@@ -32,8 +32,6 @@ final class Covers extends BaseTag implements Factory\StaticMethod
/** /**
* Initializes this tag. * Initializes this tag.
*
* @param Description $description
*/ */
public function __construct(Fqsen $refers, Description $description = null) public function __construct(Fqsen $refers, Description $description = null)
{ {
@@ -72,8 +70,6 @@ final class Covers extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation of this tag. * Returns a string representation of this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-12
View File
@@ -138,8 +138,6 @@ final class Example extends BaseTag
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
@@ -148,27 +146,17 @@ final class Example extends BaseTag
/** /**
* Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute). * Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute).
*
* @param string $uri
*
* @return bool
*/ */
private function isUriRelative(string $uri): bool private function isUriRelative(string $uri): bool
{ {
return false === strpos($uri, ':'); return false === strpos($uri, ':');
} }
/**
* @return int
*/
public function getStartingLine(): int public function getStartingLine(): int
{ {
return $this->startingLine; return $this->startingLine;
} }
/**
* @return int
*/
public function getLineCount(): int public function getLineCount(): int
{ {
return $this->lineCount; return $this->lineCount;
@@ -36,9 +36,6 @@ class AlignFormatter implements Formatter
/** /**
* Formats the given tag to return a simple plain text version. * Formats the given tag to return a simple plain text version.
*
*
* @return string
*/ */
public function format(Tag $tag): string public function format(Tag $tag): string
{ {
@@ -20,9 +20,6 @@ class PassthroughFormatter implements Formatter
{ {
/** /**
* Formats the given tag to return a simple plain text version. * Formats the given tag to return a simple plain text version.
*
*
* @return string
*/ */
public function format(Tag $tag): string public function format(Tag $tag): string
{ {
-8
View File
@@ -41,9 +41,6 @@ class Generic extends BaseTag implements Factory\StaticMethod
/** /**
* Creates a new tag that represents any unknown tag type. * Creates a new tag that represents any unknown tag type.
* *
* @param string $body
* @param string $name
* @param TypeContext $context
* *
* @return static * @return static
*/ */
@@ -63,8 +60,6 @@ class Generic extends BaseTag implements Factory\StaticMethod
/** /**
* Returns the tag as a serialized string * Returns the tag as a serialized string
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
@@ -73,9 +68,6 @@ class Generic extends BaseTag implements Factory\StaticMethod
/** /**
* Validates if the tag name matches the expected format, otherwise throws an exception. * Validates if the tag name matches the expected format, otherwise throws an exception.
*
* @param string $name
*
*/ */
private function validateTagName(string $name) private function validateTagName(string $name)
{ {
+2 -8
View File
@@ -30,8 +30,6 @@ final class Link extends BaseTag implements Factory\StaticMethod
/** /**
* Initializes a link to a URL. * Initializes a link to a URL.
*
* @param string $link
*/ */
public function __construct(string $link, Description $description = null) public function __construct(string $link, Description $description = null)
{ {
@@ -53,10 +51,8 @@ final class Link extends BaseTag implements Factory\StaticMethod
} }
/** /**
* Gets the link * Gets the link
* */
* @return string
*/
public function getLink(): string public function getLink(): string
{ {
return $this->link; return $this->link;
@@ -64,8 +60,6 @@ final class Link extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-2
View File
@@ -161,8 +161,6 @@ final class Method extends BaseTag implements Factory\StaticMethod
/** /**
* Retrieves the method name. * Retrieves the method name.
*
* @return string
*/ */
public function getMethodName(): string public function getMethodName(): string
{ {
-9
View File
@@ -37,11 +37,6 @@ final class Param extends BaseTag implements Factory\StaticMethod
/** @var bool determines whether this is a variadic argument */ /** @var bool determines whether this is a variadic argument */
private $isVariadic = false; private $isVariadic = false;
/**
* @param string $variableName
* @param bool $isVariadic
* @param Description $description
*/
public function __construct(string $variableName, Type $type = null, bool $isVariadic = false, Description $description = null) public function __construct(string $variableName, Type $type = null, bool $isVariadic = false, Description $description = null)
{ {
$this->variableName = $variableName; $this->variableName = $variableName;
@@ -95,8 +90,6 @@ final class Param extends BaseTag implements Factory\StaticMethod
/** /**
* Returns the variable's name. * Returns the variable's name.
*
* @return string
*/ */
public function getVariableName(): string public function getVariableName(): string
{ {
@@ -125,8 +118,6 @@ final class Param extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-8
View File
@@ -34,10 +34,6 @@ class Property extends BaseTag implements Factory\StaticMethod
/** @var string */ /** @var string */
protected $variableName = ''; protected $variableName = '';
/**
* @param string $variableName
* @param Type $type
*/
public function __construct(string $variableName, Type $type = null, Description $description = null) public function __construct(string $variableName, Type $type = null, Description $description = null)
{ {
$this->variableName = $variableName; $this->variableName = $variableName;
@@ -84,8 +80,6 @@ class Property extends BaseTag implements Factory\StaticMethod
/** /**
* Returns the variable's name. * Returns the variable's name.
*
* @return string
*/ */
public function getVariableName(): string public function getVariableName(): string
{ {
@@ -104,8 +98,6 @@ class Property extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-8
View File
@@ -34,10 +34,6 @@ class PropertyRead extends BaseTag implements Factory\StaticMethod
/** @var string */ /** @var string */
protected $variableName = ''; protected $variableName = '';
/**
* @param string $variableName
* @param Type $type
*/
public function __construct(string $variableName, Type $type = null, Description $description = null) public function __construct(string $variableName, Type $type = null, Description $description = null)
{ {
$this->variableName = $variableName; $this->variableName = $variableName;
@@ -84,8 +80,6 @@ class PropertyRead extends BaseTag implements Factory\StaticMethod
/** /**
* Returns the variable's name. * Returns the variable's name.
*
* @return string
*/ */
public function getVariableName(): string public function getVariableName(): string
{ {
@@ -104,8 +98,6 @@ class PropertyRead extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-8
View File
@@ -34,10 +34,6 @@ class PropertyWrite extends BaseTag implements Factory\StaticMethod
/** @var string */ /** @var string */
protected $variableName = ''; protected $variableName = '';
/**
* @param string $variableName
* @param Type $type
*/
public function __construct(string $variableName, Type $type = null, Description $description = null) public function __construct(string $variableName, Type $type = null, Description $description = null)
{ {
$this->variableName = $variableName; $this->variableName = $variableName;
@@ -84,8 +80,6 @@ class PropertyWrite extends BaseTag implements Factory\StaticMethod
/** /**
* Returns the variable's name. * Returns the variable's name.
*
* @return string
*/ */
public function getVariableName(): string public function getVariableName(): string
{ {
@@ -104,8 +98,6 @@ class PropertyWrite extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-4
View File
@@ -34,8 +34,6 @@ class See extends BaseTag implements Factory\StaticMethod
/** /**
* Initializes this tag. * Initializes this tag.
*
* @param Description $description
*/ */
public function __construct(Reference $refers, Description $description = null) public function __construct(Reference $refers, Description $description = null)
{ {
@@ -77,8 +75,6 @@ class See extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation of this tag. * Returns a string representation of this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-2
View File
@@ -85,8 +85,6 @@ final class Since extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-4
View File
@@ -32,8 +32,6 @@ final class Uses extends BaseTag implements Factory\StaticMethod
/** /**
* Initializes this tag. * Initializes this tag.
*
* @param Fqsen $refers
*/ */
public function __construct(Fqsen $refers, Description $description = null) public function __construct(Fqsen $refers, Description $description = null)
{ {
@@ -72,8 +70,6 @@ final class Uses extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation of this tag. * Returns a string representation of this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-8
View File
@@ -34,10 +34,6 @@ class Var_ extends BaseTag implements Factory\StaticMethod
/** @var string */ /** @var string */
protected $variableName = ''; protected $variableName = '';
/**
* @param string $variableName
* @param Type $type
*/
public function __construct(string $variableName, Type $type = null, Description $description = null) public function __construct(string $variableName, Type $type = null, Description $description = null)
{ {
$this->variableName = $variableName; $this->variableName = $variableName;
@@ -84,8 +80,6 @@ class Var_ extends BaseTag implements Factory\StaticMethod
/** /**
* Returns the variable's name. * Returns the variable's name.
*
* @return string
*/ */
public function getVariableName(): string public function getVariableName(): string
{ {
@@ -104,8 +98,6 @@ class Var_ extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-2
View File
@@ -85,8 +85,6 @@ final class Version extends BaseTag implements Factory\StaticMethod
/** /**
* Returns a string representation for this tag. * Returns a string representation for this tag.
*
* @return string
*/ */
public function __toString(): string public function __toString(): string
{ {
-7
View File
@@ -29,8 +29,6 @@ final class DocBlockFactory implements DocBlockFactoryInterface
/** /**
* Initializes this factory with the required subcontractors. * Initializes this factory with the required subcontractors.
*
* @param TagFactory $tagFactory
*/ */
public function __construct(DescriptionFactory $descriptionFactory, TagFactory $tagFactory) public function __construct(DescriptionFactory $descriptionFactory, TagFactory $tagFactory)
{ {
@@ -65,7 +63,6 @@ final class DocBlockFactory implements DocBlockFactoryInterface
/** /**
* @param object|string $docblock A string containing the DocBlock to parse or an object supporting the * @param object|string $docblock A string containing the DocBlock to parse or an object supporting the
* getDocComment method (such as a ReflectionClass object). * getDocComment method (such as a ReflectionClass object).
* @param Location $location
* *
* @return DocBlock * @return DocBlock
*/ */
@@ -111,8 +108,6 @@ final class DocBlockFactory implements DocBlockFactoryInterface
* Strips the asterisks from the DocBlock comment. * Strips the asterisks from the DocBlock comment.
* *
* @param string $comment String containing the comment text. * @param string $comment String containing the comment text.
*
* @return string
*/ */
private function stripDocComment(string $comment): string private function stripDocComment(string $comment): string
{ {
@@ -234,8 +229,6 @@ final class DocBlockFactory implements DocBlockFactoryInterface
} }
/** /**
* @param string $tags
*
* @return string[] * @return string[]
*/ */
private function splitTagBlockIntoTagLines(string $tags) private function splitTagBlockIntoTagLines(string $tags)
-3
View File
@@ -342,9 +342,6 @@ class MethodTest extends TestCase
* @uses \phpDocumentor\Reflection\Types\Compound * @uses \phpDocumentor\Reflection\Types\Compound
* @uses \phpDocumentor\Reflection\Types\Integer * @uses \phpDocumentor\Reflection\Types\Integer
* @uses \phpDocumentor\Reflection\Types\Object_ * @uses \phpDocumentor\Reflection\Types\Object_
* @param string $returnType
* @param string $expectedType
* @param string $expectedValueType
* @param string null $expectedKeyType * @param string null $expectedKeyType
*/ */
public function testCollectionReturnTypes( public function testCollectionReturnTypes(