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