Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 17, 2021
1 parent df5c98d commit 396ee25
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 155 deletions.
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/DeprecatedTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,4 @@ public function getMessage(): ?string
return $this->message;
}

/**
* @param mixed[] $properties
* @return DeprecatedTag
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['message']
);
}

}
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/ExtendsTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,4 @@ public function getType(): Type
return $this->type;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type']
);
}

}
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/ImplementsTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,4 @@ public function getType(): Type
return $this->type;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type']
);
}

}
13 changes: 0 additions & 13 deletions src/PhpDoc/Tag/MethodTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,4 @@ public function getParameters(): array
return $this->parameters;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['returnType'],
$properties['isStatic'],
$properties['parameters']
);
}

}
15 changes: 0 additions & 15 deletions src/PhpDoc/Tag/MethodTagParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,4 @@ public function getDefaultValue(): ?Type
return $this->defaultValue;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type'],
$properties['passedByReference'],
$properties['isOptional'],
$properties['isVariadic'],
$properties['defaultValue']
);
}

}
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/MixinTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,4 @@ public function getType(): Type
return $this->type;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type']
);
}

}
12 changes: 0 additions & 12 deletions src/PhpDoc/Tag/ParamTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,4 @@ public function withType(Type $type): TypedTag
return new self($type, $this->isVariadic);
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type'],
$properties['isVariadic']
);
}

}
13 changes: 0 additions & 13 deletions src/PhpDoc/Tag/PropertyTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,4 @@ public function isWritable(): bool
return $this->writable;
}

/**
* @param mixed[] $properties
* @return PropertyTag
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type'],
$properties['readable'],
$properties['writable']
);
}

}
12 changes: 0 additions & 12 deletions src/PhpDoc/Tag/ReturnTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,4 @@ public function toImplicit(): self
return new self($this->type, false);
}

/**
* @param mixed[] $properties
* @return ReturnTag
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type'],
$properties['isExplicit']
);
}

}
13 changes: 0 additions & 13 deletions src/PhpDoc/Tag/TemplateTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,4 @@ public function getVariance(): TemplateTypeVariance
return $this->variance;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['name'],
$properties['bound'],
$properties['variance']
);
}

}
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/ThrowsTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,4 @@ public function getType(): Type
return $this->type;
}

/**
* @param mixed[] $properties
* @return ThrowsTag
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type']
);
}

}
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/UsesTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,4 @@ public function getType(): Type
return $this->type;
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type']
);
}

}
11 changes: 0 additions & 11 deletions src/PhpDoc/Tag/VarTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,4 @@ public function withType(Type $type): TypedTag
return new self($type);
}

/**
* @param mixed[] $properties
* @return self
*/
public static function __set_state(array $properties): self
{
return new self(
$properties['type']
);
}

}

0 comments on commit 396ee25

Please sign in to comment.