Skip to content

Commit 396ee25

Browse files
committed
Cleanup
1 parent df5c98d commit 396ee25

13 files changed

Lines changed: 0 additions & 155 deletions

src/PhpDoc/Tag/DeprecatedTag.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,4 @@ public function getMessage(): ?string
1717
return $this->message;
1818
}
1919

20-
/**
21-
* @param mixed[] $properties
22-
* @return DeprecatedTag
23-
*/
24-
public static function __set_state(array $properties): self
25-
{
26-
return new self(
27-
$properties['message']
28-
);
29-
}
30-
3120
}

src/PhpDoc/Tag/ExtendsTag.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,4 @@ public function getType(): Type
1919
return $this->type;
2020
}
2121

22-
/**
23-
* @param mixed[] $properties
24-
* @return self
25-
*/
26-
public static function __set_state(array $properties): self
27-
{
28-
return new self(
29-
$properties['type']
30-
);
31-
}
32-
3322
}

src/PhpDoc/Tag/ImplementsTag.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,4 @@ public function getType(): Type
1919
return $this->type;
2020
}
2121

22-
/**
23-
* @param mixed[] $properties
24-
* @return self
25-
*/
26-
public static function __set_state(array $properties): self
27-
{
28-
return new self(
29-
$properties['type']
30-
);
31-
}
32-
3322
}

src/PhpDoc/Tag/MethodTag.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,4 @@ public function getParameters(): array
4848
return $this->parameters;
4949
}
5050

51-
/**
52-
* @param mixed[] $properties
53-
* @return self
54-
*/
55-
public static function __set_state(array $properties): self
56-
{
57-
return new self(
58-
$properties['returnType'],
59-
$properties['isStatic'],
60-
$properties['parameters']
61-
);
62-
}
63-
6451
}

src/PhpDoc/Tag/MethodTagParameter.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,4 @@ public function getDefaultValue(): ?Type
5858
return $this->defaultValue;
5959
}
6060

61-
/**
62-
* @param mixed[] $properties
63-
* @return self
64-
*/
65-
public static function __set_state(array $properties): self
66-
{
67-
return new self(
68-
$properties['type'],
69-
$properties['passedByReference'],
70-
$properties['isOptional'],
71-
$properties['isVariadic'],
72-
$properties['defaultValue']
73-
);
74-
}
75-
7661
}

src/PhpDoc/Tag/MixinTag.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,4 @@ public function getType(): Type
1919
return $this->type;
2020
}
2121

22-
/**
23-
* @param mixed[] $properties
24-
* @return self
25-
*/
26-
public static function __set_state(array $properties): self
27-
{
28-
return new self(
29-
$properties['type']
30-
);
31-
}
32-
3322
}

src/PhpDoc/Tag/ParamTag.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,4 @@ public function withType(Type $type): TypedTag
3636
return new self($type, $this->isVariadic);
3737
}
3838

39-
/**
40-
* @param mixed[] $properties
41-
* @return self
42-
*/
43-
public static function __set_state(array $properties): self
44-
{
45-
return new self(
46-
$properties['type'],
47-
$properties['isVariadic']
48-
);
49-
}
50-
5139
}

src/PhpDoc/Tag/PropertyTag.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,4 @@ public function isWritable(): bool
3939
return $this->writable;
4040
}
4141

42-
/**
43-
* @param mixed[] $properties
44-
* @return PropertyTag
45-
*/
46-
public static function __set_state(array $properties): self
47-
{
48-
return new self(
49-
$properties['type'],
50-
$properties['readable'],
51-
$properties['writable']
52-
);
53-
}
54-
5542
}

src/PhpDoc/Tag/ReturnTag.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,4 @@ public function toImplicit(): self
4141
return new self($this->type, false);
4242
}
4343

44-
/**
45-
* @param mixed[] $properties
46-
* @return ReturnTag
47-
*/
48-
public static function __set_state(array $properties): self
49-
{
50-
return new self(
51-
$properties['type'],
52-
$properties['isExplicit']
53-
);
54-
}
55-
5644
}

src/PhpDoc/Tag/TemplateTag.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,4 @@ public function getVariance(): TemplateTypeVariance
3636
return $this->variance;
3737
}
3838

39-
/**
40-
* @param mixed[] $properties
41-
* @return self
42-
*/
43-
public static function __set_state(array $properties): self
44-
{
45-
return new self(
46-
$properties['name'],
47-
$properties['bound'],
48-
$properties['variance']
49-
);
50-
}
51-
5239
}

0 commit comments

Comments
 (0)