Completed
Pull Request — master (#5)
by Zach
01:52
created
src/Controller.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Sets the fractal transformer
31 31
      *
32
-     * @return mixed
32
+     * @return Controller
33 33
      */
34 34
     public function setTransformer($transformer) {
35 35
         $this->transformer = $transformer;
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * Sets model builder
41 41
      *
42
-     * @return mixed
42
+     * @return Controller
43 43
      */
44 44
     public function setModel($model) {
45 45
         $this->model = $model;
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Calls authorization methods on the default traits
51 51
      *
52
-     * @return mixed
52
+     * @return Controller
53 53
      */
54 54
     public function shouldAuthorize() {
55 55
         $this->shouldAuthorize = true;
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Sets resource key for fractal
61 61
      *
62
-     * @return mixed
62
+     * @return Controller
63 63
      */
64 64
     public function setResourceKey($resourceKey) {
65 65
         $this->resourceKey = $resourceKey;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Sets the current status code.
99 99
      *
100
-     * @param $statusCode
100
+     * @param integer $statusCode
101 101
      * @return $this
102 102
      */
103 103
     protected function setStatusCode($statusCode)
Please login to merge, or discard this patch.
src/Traits/Index.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
     /**
10 10
      * Display the specified resource.
11 11
      *
12
-     * @param  int  $id
13 12
      * @return \Illuminate\Http\Response
14 13
      */
15 14
      public function index()
Please login to merge, or discard this patch.
src/Traits/Store.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
     /**
10 10
      * Store a newly created resource in storage.
11 11
      *
12
-     * @param  \Illuminate\Http\Request  $request
13 12
      * @return \Illuminate\Http\Response
14 13
      */
15 14
     public function store()
Please login to merge, or discard this patch.