From dba4c14e5c8ffa188b764415aa58fcf4a48f0d6f Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 13 Oct 2017 19:50:22 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Bookmark.php | 2 +- app/Jobs/ProcessBookmark.php | 1 - app/Services/BookmarkService.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Bookmark.php b/app/Bookmark.php index 51bfdc8e..3da5826d 100644 --- a/app/Bookmark.php +++ b/app/Bookmark.php @@ -22,7 +22,7 @@ class Bookmark extends Model } /** - * The full url of a bookmark + * The full url of a bookmark. */ public function getLongurlAttribute() { diff --git a/app/Jobs/ProcessBookmark.php b/app/Jobs/ProcessBookmark.php index 636e96a9..7042c58f 100644 --- a/app/Jobs/ProcessBookmark.php +++ b/app/Jobs/ProcessBookmark.php @@ -6,7 +6,6 @@ use App\Bookmark; use Ramsey\Uuid\Uuid; use GuzzleHttp\Client; use Illuminate\Bus\Queueable; -use Spatie\Image\Manipulations; use Spatie\Browsershot\Browsershot; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; diff --git a/app/Services/BookmarkService.php b/app/Services/BookmarkService.php index c560e6ad..0575d70a 100644 --- a/app/Services/BookmarkService.php +++ b/app/Services/BookmarkService.php @@ -44,7 +44,7 @@ class BookmarkService 'content' => $content, ]); - foreach((array) $categories as $category) { + foreach ((array) $categories as $category) { $tag = Tag::firstOrCreate(['tag' => $category]); $bookmark->tags()->save($tag); }