Skip to content

Commit 1462915

Browse files
committed
move method docblock to interface
1 parent 4f2d9c5 commit 1462915

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Type.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@
1414

1515
interface Type
1616
{
17+
/**
18+
* Returns a rendered output of the Type as it would be used in a DocBlock.
19+
*
20+
* @return string
21+
*/
1722
public function __toString();
1823
}

src/Types/Object_.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ public function getFqsen()
5555
return $this->fqsen;
5656
}
5757

58-
/**
59-
* Returns a rendered output of the Type as it would be used in a DocBlock.
60-
*
61-
* @return string
62-
*/
6358
public function __toString()
6459
{
6560
if ($this->fqsen) {

0 commit comments

Comments
 (0)