diff --git a/app/Http/Controllers/MicropubController.php b/app/Http/Controllers/MicropubController.php
index 1eb555f6..a03ede9e 100644
--- a/app/Http/Controllers/MicropubController.php
+++ b/app/Http/Controllers/MicropubController.php
@@ -90,7 +90,9 @@ class MicropubController extends Controller
if (is_array($request->input('properties.location.0'))) {
if ($request->input('properties.location.0.type.0' === 'h-card')) {
try {
- $place = $this->placeService->createPlaceFromCheckin($request->input('properties.location.0'));
+ $place = $this->placeService->createPlaceFromCheckin(
+ $request->input('properties.location.0')
+ );
$data['checkin'] = $place->longurl;
} catch (\Exception $e) {
//
@@ -102,7 +104,9 @@ class MicropubController extends Controller
if (array_key_exists('checkin', $request->input('properties'))) {
$data['swarm-url'] = $request->input('properties.syndication.0');
try {
- $place = $this->placeService->createPlaceFromCheckin($request->input('properties.checkin.0'));
+ $place = $this->placeService->createPlaceFromCheckin(
+ $request->input('properties.checkin.0')
+ );
$data['checkin'] = $place->longurl;
} catch (\Exception $e) {
$data['checkin'] = null;
diff --git a/app/Note.php b/app/Note.php
index 1c202635..1581d60d 100644
--- a/app/Note.php
+++ b/app/Note.php
@@ -368,7 +368,8 @@ class Note extends Model
return $matches[0];
}
if ($contact->facebook) {
- return '' . $contact->name . '';
+ return '' . $contact->name . '';
}
return $contact->name;
diff --git a/app/Place.php b/app/Place.php
index b594f752..7093d194 100644
--- a/app/Place.php
+++ b/app/Place.php
@@ -67,7 +67,8 @@ class Place extends Model
public function scopeNear(Builder $query, Point $point, $distance = 1000)
{
$field = DB::raw(
- sprintf("ST_Distance(%s.location, ST_GeogFromText('%s'))",
+ sprintf(
+ "ST_Distance(%s.location, ST_GeogFromText('%s'))",
$this->getTable(),
$point->toWKT()
)