Apply fixes from StyleCI

This commit is contained in:
Jonny Barnes 2017-10-13 19:50:22 +00:00 committed by StyleCI Bot
parent 9336b358de
commit dba4c14e5c
3 changed files with 2 additions and 3 deletions

View file

@ -22,7 +22,7 @@ class Bookmark extends Model
} }
/** /**
* The full url of a bookmark * The full url of a bookmark.
*/ */
public function getLongurlAttribute() public function getLongurlAttribute()
{ {

View file

@ -6,7 +6,6 @@ use App\Bookmark;
use Ramsey\Uuid\Uuid; use Ramsey\Uuid\Uuid;
use GuzzleHttp\Client; use GuzzleHttp\Client;
use Illuminate\Bus\Queueable; use Illuminate\Bus\Queueable;
use Spatie\Image\Manipulations;
use Spatie\Browsershot\Browsershot; use Spatie\Browsershot\Browsershot;
use Illuminate\Queue\SerializesModels; use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\InteractsWithQueue;

View file

@ -44,7 +44,7 @@ class BookmarkService
'content' => $content, 'content' => $content,
]); ]);
foreach((array) $categories as $category) { foreach ((array) $categories as $category) {
$tag = Tag::firstOrCreate(['tag' => $category]); $tag = Tag::firstOrCreate(['tag' => $category]);
$bookmark->tags()->save($tag); $bookmark->tags()->save($tag);
} }