We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad3b54 commit 157f069Copy full SHA for 157f069
src/Types/CallableParameter.php
@@ -78,12 +78,12 @@ public function isOptional(): bool
78
}
79
80
public function __toString(): string
81
- {
82
- $reference = $this->isReference ? '&' : '';
83
- $variadic = $this->isVariadic ? '...' : '';
84
- $optional = $this->isOptional ? '=' : '';
+ {
+ $reference = $this->isReference ? '&' : '';
+ $variadic = $this->isVariadic ? '...' : '';
+ $optional = $this->isOptional ? '=' : '';
85
$name = $this->name !== null ? '$' . $this->name : '';
86
87
- return trim($this->type . ' ' . $reference . $variadic . $name . $optional);
88
- }
+ return trim($this->type . ' ' . $reference . $variadic . $name . $optional);
+ }
89
0 commit comments