File tree 4 files changed +173
-187
lines changed
4 files changed +173
-187
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ abstract class Controller extends BaseController
67
67
*/
68
68
protected $ user ;
69
69
70
-
71
70
/**
72
71
* Constructor.
73
72
*
@@ -82,8 +81,6 @@ public function __construct(Request $request)
82
81
$ this ->user = auth ()->user ();
83
82
}
84
83
85
-
86
-
87
84
/**
88
85
* @throws ApiException
89
86
* @return Model|mixed
@@ -236,8 +233,8 @@ public function destroy($id)
236
233
} catch (ModelNotFoundException $ e ) {
237
234
return $ this ->errorNotFound ('Record does not exist ' );
238
235
}
239
- return $ this ->respondNoContent ();
240
236
237
+ return $ this ->respondNoContent ();
241
238
}
242
239
243
240
/**
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ public function with($relations)
399
399
{
400
400
if (is_string ($ relations )) {
401
401
$ relations = func_get_args ();
402
- }
402
+ }
403
403
404
404
$ this ->with = $ relations ;
405
405
You can’t perform that action at this time.
0 commit comments