Skip to content

Commit ef5a0f2

Browse files
committed
Use fluent interface
1 parent 9ff260d commit ef5a0f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Builder/ParameterBuilder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,11 @@ public function getTypeDocBlockHint(): ?string
157157
return $this->typeDocBlockHint;
158158
}
159159

160-
public function setTypeDocBlockHint(?string $typeDocBlockHint): void
160+
public function setTypeDocBlockHint(?string $typeDocBlockHint): self
161161
{
162162
$this->typeDocBlockHint = $typeDocBlockHint;
163+
164+
return $this;
163165
}
164166

165167
public function generate(): ParameterGenerator

0 commit comments

Comments
 (0)