Completed
Branch master (57e066)
by Maarten
01:15
created
src/Http/Controllers/SchematicsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Mtolhuys\LaravelSchematics\Services\ModelMapper;
9 9
 use Mtolhuys\LaravelSchematics\Services\RelationMapper;
10 10
 use ReflectionException;
11
-use Illuminate\Support\Facades\Cache;
12 11
 
13 12
 class SchematicsController extends Controller
14 13
 {
Please login to merge, or discard this patch.
src/Services/RelationMapper.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * Check if given method is impossible to invoke as relation
70 70
      *
71
-     * @param $method
71
+     * @param ReflectionMethod $method
72 72
      * @param $instance
73 73
      * @return bool
74 74
      */
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
             || $method->getName() === __FUNCTION__;
81 81
     }
82 82
 
83
+    /**
84
+     * @param ReflectionMethod $method
85
+     */
83 86
     private static function getInvocation($method, $instance)
84 87
     {
85 88
         try {
@@ -98,7 +101,7 @@  discard block
 block discarded – undo
98 101
      *
99 102
      * @param string $model
100 103
      * @param ReflectionMethod $method
101
-     * @param $invocation
104
+     * @param Relation $invocation
102 105
      * @return object
103 106
      * @throws ReflectionException
104 107
      */
Please login to merge, or discard this patch.