Completed
Push — master ( 0cf5e1...db821d )
by Juliano
09:03
created
src/IndexTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @param Request $request
34 34
      *
35
-     * @return mixed
35
+     * @return \Illuminate\Http\JsonResponse
36 36
      */
37 37
     public function index(Request $request)
38 38
     {
Please login to merge, or discard this patch.
src/DestroyTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      * @param Model $query
11 11
      * @param int   $id
12 12
      *
13
-     * @return mixed
13
+     * @return boolean
14 14
      */
15 15
     protected function transformDestroyQuery($query, $id)
16 16
     {
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Override it to transform the destroy response.
37 37
      *
38
-     * @param bool $query
39 38
      *
39
+     * @param boolean $response
40 40
      * @return array
41 41
      */
42 42
     protected function transformDestroyResponse($response)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param int $id
65 65
      *
66
-     * @return mixed
66
+     * @return \Illuminate\Http\JsonResponse
67 67
      */
68 68
     public function destroy($id)
69 69
     {
Please login to merge, or discard this patch.
src/SaveTrait.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,6 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * Override it to transform the store response.
56 56
      *
57
-     * @param  Request $request
58 57
      * @param  string  $method
59 58
      *
60 59
      * @return array
@@ -67,7 +66,6 @@  discard block
 block discarded – undo
67 66
     /**
68 67
      * Override it to transform the update response.
69 68
      *
70
-     * @param  Request $request
71 69
      * @param  string  $method
72 70
      *
73 71
      * @return array
Please login to merge, or discard this patch.
src/ShowTrait.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      * @param Model $query
11 11
      * @param int   $id
12 12
      *
13
-     * @return mixed
13
+     * @return boolean
14 14
      */
15 15
     protected function transformShowQuery($query, $id)
16 16
     {
@@ -33,9 +33,8 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Override it to transform the show response.
35 35
      *
36
-     * @param bool $query
37 36
      *
38
-     * @return array
37
+     * @return boolean
39 38
      */
40 39
     protected function transformShowResponse($response)
41 40
     {
@@ -47,7 +46,7 @@  discard block
 block discarded – undo
47 46
      *
48 47
      * @param bool $response
49 48
      *
50
-     * @return array
49
+     * @return boolean
51 50
      */
52 51
     public function showResponse($response)
53 52
     {
@@ -59,7 +58,7 @@  discard block
 block discarded – undo
59 58
      *
60 59
      * @param int $id
61 60
      *
62
-     * @return mixed
61
+     * @return \Illuminate\Http\JsonResponse
63 62
      */
64 63
     public function show($id)
65 64
     {
Please login to merge, or discard this patch.