@@ -30,13 +30,13 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @param RestRequestContract $request |
|
34 | - * |
|
35 | - * @return RestResponse |
|
36 | - */ |
|
37 | - public function handle($request) |
|
38 | - { |
|
39 | - $entity = $this->repository()->findById($request->getId()); |
|
33 | + * @param RestRequestContract $request |
|
34 | + * |
|
35 | + * @return RestResponse |
|
36 | + */ |
|
37 | + public function handle($request) |
|
38 | + { |
|
39 | + $entity = $this->repository()->findById($request->getId()); |
|
40 | 40 | |
41 | 41 | $this->authorize($request, $entity); |
42 | 42 | |
@@ -47,5 +47,5 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | return $this->response()->resource($request, new NullResource()); |
50 | - } |
|
50 | + } |
|
51 | 51 | } |