Completed
Push — master ( ec71aa...2c64ed )
by Ruben
01:09
created
src/ParameterResolver.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
     /** @var array */
16 16
     private $defaultParameters;
17 17
 
18
+    /**
19
+     * @param null|Model $model
20
+     */
18 21
     public function __construct(?Model $model, array $defaultParameters = [])
19 22
     {
20 23
         $this->model = $model;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Spatie\LaravelEndpointResources;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Routing\Exceptions\UrlGenerationException;
7 6
 use Illuminate\Routing\Route;
8 7
 use ReflectionParameter;
9 8
 
Please login to merge, or discard this patch.
src/HasEndpoints.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Spatie\LaravelEndpointResources;
4 4
 
5 5
 use Closure;
6
-use Illuminate\Support\Arr;
7 6
 
8 7
 /** @mixin \Illuminate\Http\Resources\Json\JsonResource */
9 8
 trait HasEndpoints
Please login to merge, or discard this patch.