Unverified Commit 9852dc1d authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #171 from viralsolani/analysis-X05WvL

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