Skip to content

Commit

Permalink
fix return type for Space::getParser()
Browse files Browse the repository at this point in the history
  • Loading branch information
wyrfel committed Jun 8, 2017
1 parent eddd099 commit ccbb0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Space.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ public function addSection(string $section): Space
/**
* get the parser
*
* @return Parser
* @return AbstractParser
*/
public function getParser(): Parser
public function getParser(): AbstractParser
{
if (null === $this->parser) {
$this->parser = new Parser();
Expand Down

0 comments on commit ccbb0b1

Please sign in to comment.