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

Commit

Permalink
#41 adding return hints to applicable methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Jul 23, 2017
1 parent 3e4db4a commit 0e6d7df
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Generator/DocBlock/Tag/VarTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(?string $variableName = null, $types = [], ?string $
/**
* {@inheritDoc}
*/
public function getName()
public function getName() : string
{
return 'var';
}
Expand All @@ -50,10 +50,7 @@ public function setVariableName(?string $variableName) : void
}
}

/**
* @return string|null
*/
public function getVariableName()
public function getVariableName() : ?string
{
return $this->variableName;
}
Expand Down

0 comments on commit 0e6d7df

Please sign in to comment.