Completed
Push — master ( a6b665...ab0b2f )
by Ruben
01:15
created
src/HasEndpoints.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param \Spatie\LaravelEndpointResources\EndpointResource|null $endpointResource
73
+     * @param EndpointResource $endpointResource
74 74
      * @param string|Closure|null $controller
75 75
      * @param null $parameters
76 76
      *
Please login to merge, or discard this patch.
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.