Commit b9960be1 authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent b641a4ba
...@@ -69,7 +69,7 @@ class PagesController extends APIController ...@@ -69,7 +69,7 @@ class PagesController extends APIController
/** /**
* Update Page. * Update Page.
* *
* @param Page $page * @param Page $page
* @param Request $request * @param Request $request
* *
...@@ -92,7 +92,7 @@ class PagesController extends APIController ...@@ -92,7 +92,7 @@ class PagesController extends APIController
/** /**
* Delete Page. * Delete Page.
* *
* @param Page $page * @param Page $page
* @param DeletePageRequest $request * @param DeletePageRequest $request
* *
...@@ -107,21 +107,18 @@ class PagesController extends APIController ...@@ -107,21 +107,18 @@ class PagesController extends APIController
]); ]);
} }
/** /**
* validateUser Pages Requests. * validateUser Pages Requests.
* *
* @param Request $request * @param Request $request
* @param int $id * @param int $id
* *
* @return \Illuminate\Http\JsonResponse * @return \Illuminate\Http\JsonResponse
*/ */
public function validatePages(Request $request, $id = 0)
public function validatePages(Request $request,$id=0)
{ {
$validation = Validator::make($request->all(), [ $validation = Validator::make($request->all(), [
'title' => 'required|max:191|unique:pages,title,'.$id, 'title' => 'required|max:191|unique:pages,title,'.$id,
'description' => 'required', 'description' => 'required',
]); ]);
......
...@@ -92,8 +92,8 @@ class PermissionController extends APIController ...@@ -92,8 +92,8 @@ class PermissionController extends APIController
} }
/** /**
* Delete permission * Delete permission.
* *
* @param Role $role * @param Role $role
* @param DeleteRoleRequest $request * @param DeleteRoleRequest $request
* *
......
...@@ -94,7 +94,7 @@ class RolesController extends APIController ...@@ -94,7 +94,7 @@ class RolesController extends APIController
/** /**
* Delete Role. * Delete Role.
* *
* @param Role $role * @param Role $role
* @param Request $request * @param Request $request
* *
......
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