Skip to content

Commit 62f2f93

Browse files
Add missing return annotations on magic methods
1 parent f86a11b commit 62f2f93

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Loader/Configurator/ReferenceConfigurator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ final public function ignoreOnUninitialized(): self
5959
return $this;
6060
}
6161

62+
/**
63+
* @return string
64+
*/
6265
public function __toString()
6366
{
6467
return $this->id;

Variable.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public function __construct(string $name)
3333
$this->name = $name;
3434
}
3535

36+
/**
37+
* @return string
38+
*/
3639
public function __toString()
3740
{
3841
return $this->name;

0 commit comments

Comments
 (0)