Unverified Commit c81c0d6b authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #67 from viralsolani/analysis-Xa0PoW

Apply fixes from StyleCI
parents 403fa782 2be51f41
......@@ -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