Commit 1b8efe2f authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent 58655585
...@@ -68,10 +68,10 @@ class FaqsController extends APIController ...@@ -68,10 +68,10 @@ class FaqsController extends APIController
} }
/** /**
* Update Faq * Update Faq.
* *
* @param Faq $faq * @param Faq $faq
* @param Request $request * @param Request $request
* *
* @return mixed * @return mixed
*/ */
...@@ -90,13 +90,11 @@ class FaqsController extends APIController ...@@ -90,13 +90,11 @@ class FaqsController extends APIController
return new FaqsResource($faq); return new FaqsResource($faq);
} }
/** /**
* Delete Faq * Delete Faq.
* *
* @param Faq $faq * @param Faq $faq
* @param Request $request * @param Request $request
* *
* @return mixed * @return mixed
*/ */
...@@ -120,7 +118,7 @@ class FaqsController extends APIController ...@@ -120,7 +118,7 @@ class FaqsController extends APIController
{ {
$validation = Validator::make($request->all(), [ $validation = Validator::make($request->all(), [
'question' => 'required|max:191', 'question' => 'required|max:191',
'answer' => 'required', 'answer' => 'required',
]); ]);
return $validation; return $validation;
......
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