Commit 2be51f41 authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent 403fa782
......@@ -76,7 +76,7 @@ class BlogsRepository extends BaseRepository
if ($blogs->save()) {
// Inserting associated category's id in mapper table
if (count($categoriesArray)) {
$blogs->categories()->sync($categoriesArray);
$blogs->categories()->sync($categoriesArray);
}
// Inserting associated tag's id in mapper table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment