Skip to content

Commit d73596f

Browse files
Add return types to internal & magic methods when possible
1 parent b2a27e7 commit d73596f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Key.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(string $resource)
2727
$this->resource = $resource;
2828
}
2929

30-
public function __toString()
30+
public function __toString(): string
3131
{
3232
return $this->resource;
3333
}

0 commit comments

Comments
 (0)