Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 0e6d7df

Browse files
committed
#41 adding return hints to applicable methods
1 parent 3e4db4a commit 0e6d7df

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Generator/DocBlock/Tag/VarTag.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(?string $variableName = null, $types = [], ?string $
3333
/**
3434
* {@inheritDoc}
3535
*/
36-
public function getName()
36+
public function getName() : string
3737
{
3838
return 'var';
3939
}
@@ -50,10 +50,7 @@ public function setVariableName(?string $variableName) : void
5050
}
5151
}
5252

53-
/**
54-
* @return string|null
55-
*/
56-
public function getVariableName()
53+
public function getVariableName() : ?string
5754
{
5855
return $this->variableName;
5956
}

0 commit comments

Comments
 (0)