Unverified Commit 960ad582 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #180 from viralsolani/analysis-zGo3YA

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