Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
* origin/master:
  Applied fixes from StyleCI
  • Loading branch information
voku committed Apr 30, 2016
2 parents d26d22c + 9b25752 commit 053eaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Purl/Fragment.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public function set($key, $value)
public function getFragment()
{
$this->initialize();
return sprintf('%s%s', $this->path, $this->query->getQuery()
? '?' . $this->query->getQuery()
return sprintf('%s%s', $this->path, $this->query->getQuery()
? '?' . $this->query->getQuery()
: '');
}

Expand Down

0 comments on commit 053eaf2

Please sign in to comment.