Passed
Push — master ( 8c6e6d...1f8fab )
by Hamzah
08:00 queued 01:48
created
src/Bases/Contract.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -26,30 +26,30 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param array $data
28 28
      *
29
-     * @return mixed
29
+     * @return boolean
30 30
      */
31 31
     public function insert($data = []);
32 32
 
33 33
     /**
34 34
      * @param array $data
35
-     * @param $entityId
35
+     * @param integer $entityId
36 36
      *
37 37
      * @return bool
38 38
      */
39 39
     public function update($entityId, $data = []);
40 40
 
41 41
     /**
42
-     * @param $entityId
42
+     * @param integer $entityId
43 43
      *
44
-     * @return mixed
44
+     * @return boolean
45 45
      */
46 46
     public function delete($entityId);
47 47
 
48 48
     /**
49
-     * @param $entityId
49
+     * @param integer $entityId
50 50
      * @param array $columns
51 51
      *
52
-     * @return mixed
52
+     * @return Entity
53 53
      */
54 54
     public function find($entityId, $columns = ['*']);
55 55
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param array $filters
58 58
      * @param array $columns
59 59
      *
60
-     * @return mixed
60
+     * @return Entity
61 61
      */
62 62
     public function findBy($filters = [], $columns = ['*']);
63 63
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param int $limit
74 74
      * @param array $filters
75 75
      *
76
-     * @return Paginator
76
+     * @return \Illuminate\Contracts\Pagination\Paginator
77 77
      */
78 78
     public function simplePaginate($limit = 10, $filters = []);
79 79
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param array $filter
98 98
      * @param array $columns
99 99
      *
100
-     * @return mixed
100
+     * @return Entity
101 101
      */
102 102
     public function first($filter = [], $columns = ['*']);
103 103
 
@@ -140,13 +140,13 @@  discard block
 block discarded – undo
140 140
 
141 141
     /**
142 142
      * @param int $entityId
143
-     * @return mixed
143
+     * @return boolean|null
144 144
      */
145 145
     public function restore($entityId = 0);
146 146
 
147 147
     /**
148 148
      * @param int $categoryId
149
-     * @return mixed
149
+     * @return boolean|null
150 150
      */
151 151
     public function forceDelete($categoryId = 0);
152 152
 }
Please login to merge, or discard this patch.