Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hall committed Jan 27, 2020
1 parent a2ca6bf commit 31cc956
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Objects/Sources/MSSQLSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class MSSQLSource extends PDOSource implements SourceInterface
{
public function setOverrideSQL($overrideSQL) : SourceInterface
public function setOverrideSQL($overrideSQL): SourceInterface
{
$selectString = 'SELECT ';

Expand Down
6 changes: 3 additions & 3 deletions src/Objects/Sources/PDOSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ protected function getTableFields()
return $tableFields;
}

public function addJoin(Join $join) : SourceInterface
public function addJoin(Join $join): SourceInterface
{
$this->joins[] = $join;
$this->fields = $this->getTableFields();

return $this;
}

public function setOverrideSQL($overrideSQL) : SourceInterface
public function setOverrideSQL($overrideSQL): SourceInterface
{
$selectString = 'SELECT ';

Expand All @@ -71,7 +71,7 @@ public function setOverrideSQL($overrideSQL) : SourceInterface
return $this;
}

public function setPerPage($perPage = 10) : SourceInterface
public function setPerPage($perPage = 10): SourceInterface
{
$this->perPage = $perPage;

Expand Down

0 comments on commit 31cc956

Please sign in to comment.