Commit 2dab3228 authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent f9adde7e
......@@ -50,7 +50,6 @@ class PermissionController extends APIController
return new PermissionResource($permission);
}
/**
* Creates the Resource for Permission.
*
......@@ -111,11 +110,11 @@ class PermissionController extends APIController
* validateUser Permission Requests.
*
* @param Request $request
* @param Integer $id
* @param int $id
*
* @return Validator object
*/
public function validatePermission(Request $request,$id=0)
public function validatePermission(Request $request, $id = 0)
{
$validation = Validator::make($request->all(), [
'name' => 'required|max:191|unique:permissions,name,'.$id,
......
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