Apply fixes from StyleCI

This commit is contained in:
Jonny Barnes 2017-06-22 15:44:41 +00:00 committed by StyleCI Bot
parent 8ec265f686
commit 70a9d64031
2 changed files with 4 additions and 8 deletions

View file

@ -25,7 +25,8 @@ class MicropubClient extends Model
* *
* @return void * @return void
*/ */
public function notes() { public function notes()
{
return $this->hasMany('App\Note', 'client_id', 'client_url'); return $this->hasMany('App\Note', 'client_id', 'client_url');
} }
} }

View file

@ -41,7 +41,8 @@ class Note extends Model
* *
* @var array? * @var array?
*/ */
public function client() { public function client()
{
return $this->belongsTo('App\MicropubClient', 'client_id', 'client_url'); return $this->belongsTo('App\MicropubClient', 'client_id', 'client_url');
} }
@ -217,8 +218,6 @@ class Note extends Model
return trim($latlng[0]); return trim($latlng[0]);
} }
return;
} }
/** /**
@ -239,8 +238,6 @@ class Note extends Model
return trim($latlng[1]); return trim($latlng[1]);
} }
return;
} }
/** /**
@ -257,8 +254,6 @@ class Note extends Model
if ($this->location !== null) { if ($this->location !== null) {
return $this->reverseGeoCode((float) $this->latitude, (float) $this->longitude); return $this->reverseGeoCode((float) $this->latitude, (float) $this->longitude);
} }
return;
} }
public function getTwitterAttribute() public function getTwitterAttribute()