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

Commit

Permalink
CS: return instead of return null
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus authored and Ocramius committed Dec 16, 2014
1 parent b637014 commit 2752964
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Figlet/Figlet.php
Original file line number Diff line number Diff line change
Expand Up @@ -831,12 +831,12 @@ protected function _smushem($leftChar, $rightChar)
if ($this->previousCharWidth < 2 || $this->currentCharWidth < 2) {
// Disallows overlapping if the previous character or the current
// character has a width of one or zero.
return null;
return;
}

if (($this->smushMode & self::SM_SMUSH) === 0) {
// Kerning
return null;
return;
}

if (($this->smushMode & 63) === 0) {
Expand Down Expand Up @@ -864,7 +864,7 @@ protected function _smushem($leftChar, $rightChar)
}

if ($leftChar === $this->hardBlank && $rightChar === $this->hardBlank) {
return null;
return;
}

if (($this->smushMode & self::SM_EQUAL) > 0) {
Expand Down Expand Up @@ -931,7 +931,7 @@ protected function _smushem($leftChar, $rightChar)
}
}

return null;
return;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Table/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function appendColumn(Column $column)
public function getColumn($index)
{
if (!isset($this->columns[$index])) {
return null;
return;
}

return $this->columns[$index];
Expand Down

0 comments on commit 2752964

Please sign in to comment.