Add space between elseif/else if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:01:57 +01:00
committed by M. Shull
parent 100db25ed9
commit a935b091d3
26 changed files with 46 additions and 46 deletions

View File

@ -41,7 +41,7 @@ class Subscriber extends Model {
static function findOne($id = false) {
if(is_int($id) || (string)(int)$id === $id) {
return parent::findOne($id);
} else if(strlen(trim($id)) > 0) {
} else if (strlen(trim($id)) > 0) {
return parent::where('email', $id)->findOne();
}
return false;
@ -323,7 +323,7 @@ class Subscriber extends Model {
static function groupBy($orm, $group = null) {
if($group === 'trash') {
return $orm->whereNotNull('deleted_at');
} else if($group === 'all') {
} else if ($group === 'all') {
return $orm->whereNull('deleted_at');
} else {
return $orm->filter($group);