Test Failed
Pull Request — master (#13)
by Rail
02:08
created
src/RelationStore.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Imanghafoori\Relativity;
4 4
 
5
-use Illuminate\Support\Str;
6 5
 use Illuminate\Database\Eloquent\Model;
7 6
 
8 7
 class RelationStore
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @param Model $model
47 47
      * @param string $key
48
-     * @param mixed $value
48
+     * @param \Closure $value
49 49
      */
50 50
     public function set(Model $model, $key, $value)
51 51
     {
@@ -57,9 +57,8 @@  discard block
 block discarded – undo
57 57
      *
58 58
      * @param Model $model
59 59
      * @param string $key
60
-     * @param mixed $default
61 60
      *
62
-     * @return mixed
61
+     * @return boolean
63 62
      */
64 63
     public function has(Model $model, $key)
65 64
     {
Please login to merge, or discard this patch.