mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 18:13:13 +00:00
bump phpstan to master. Fixed ignored errors
This commit is contained in:
@@ -150,7 +150,6 @@ final class DocBlock
|
||||
{
|
||||
$result = [];
|
||||
|
||||
/** @var Tag $tag */
|
||||
foreach ($this->getTags() as $tag) {
|
||||
if ($tag->getName() !== $name) {
|
||||
continue;
|
||||
@@ -169,7 +168,6 @@ final class DocBlock
|
||||
*/
|
||||
public function hasTag(string $name) : bool
|
||||
{
|
||||
/** @var Tag $tag */
|
||||
foreach ($this->getTags() as $tag) {
|
||||
if ($tag->getName() === $name) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user