Skip to content

Commit c502136

Browse files
authored
Merge pull request #5 from phpsa/analysis-XpwM9a
Apply fixes from StyleCI
2 parents b3757bc + a9021b3 commit c502136

File tree

4 files changed

+173
-187
lines changed

4 files changed

+173
-187
lines changed

src/Http/Controllers/Api/Controller.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ abstract class Controller extends BaseController
6767
*/
6868
protected $user;
6969

70-
7170
/**
7271
* Constructor.
7372
*
@@ -82,8 +81,6 @@ public function __construct(Request $request)
8281
$this->user = auth()->user();
8382
}
8483

85-
86-
8784
/**
8885
* @throws ApiException
8986
* @return Model|mixed
@@ -236,8 +233,8 @@ public function destroy($id)
236233
} catch (ModelNotFoundException $e) {
237234
return $this->errorNotFound('Record does not exist');
238235
}
239-
return $this->respondNoContent();
240236

237+
return $this->respondNoContent();
241238
}
242239

243240
/**

src/Repository/BaseRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function with($relations)
399399
{
400400
if (is_string($relations)) {
401401
$relations = func_get_args();
402-
}
402+
}
403403

404404
$this->with = $relations;
405405

0 commit comments

Comments
 (0)