Completed
Push — master ( 79b780...b37baa )
by Lito
08:59
created
src/Http/Controllers/ModelController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->formGenerator = $formGenerator;
26 26
     }
27 27
     
28
+    /**
29
+     * @param string $methodName
30
+     */
28 31
     private function authorizeMethod(Model $modelAbstractor, $methodName)
29 32
     {
30 33
         if (array_key_exists('authorize', $config = $modelAbstractor->getConfig()) && $config['authorize'] === true) {
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Field.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @return mixed
145
+     * @return string
146 146
      */
147 147
     public function getValue()
148 148
     {
@@ -180,6 +180,9 @@  discard block
 block discarded – undo
180 180
         return $this->formField;
181 181
     }
182 182
 
183
+    /**
184
+     * @param boolean $value
185
+     */
183 186
     public function hideValue($value = null)
184 187
     {
185 188
         if (!is_null($value)) {
@@ -189,6 +192,9 @@  discard block
 block discarded – undo
189 192
         return $this->hideValue;
190 193
     }
191 194
 
195
+    /**
196
+     * @param boolean $value
197
+     */
192 198
     public function saveIfEmpty($value = null)
193 199
     {
194 200
         if (!is_null($value)) {
@@ -198,6 +204,9 @@  discard block
 block discarded – undo
198 204
         return $this->saveIfEmpty;
199 205
     }
200 206
 
207
+    /**
208
+     * @param boolean $value
209
+     */
201 210
     public function noValidate($value = null)
202 211
     {
203 212
         if (!is_null($value)) {
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Model.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
         return transcrud($this->name);
97 97
     }
98 98
 
99
+    /**
100
+     * @return string
101
+     */
99 102
     public function getModel()
100 103
     {
101 104
         return $this->model;
@@ -410,7 +413,7 @@  discard block
 block discarded – undo
410 413
     }
411 414
 
412 415
     /**
413
-     * @param array $requestForm
416
+     * @param array $request
414 417
      *
415 418
      * @return mixed
416 419
      */
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/ModelFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @param $slug
61
+     * @param string $slug
62 62
      * @param null $id
63 63
      *
64 64
      * @throws \Exception
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Traits/HandleFiles.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param Request $request
14 14
      * @param Model   $item
15 15
      * @param array   $fields
16
-     * @param $groupName
16
+     * @param string $groupName
17 17
      * @param $fieldName
18 18
      * @param bool $mustDeleteFilesInFilesystem
19 19
      *
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Traits/ModelFields.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param array  $config
27 27
      * @param string $columnName
28 28
      *
29
-     * @return array
29
+     * @return \Doctrine\DBAL\Schema\Column
30 30
      */
31 31
     public function setConfig(array $config, $columnName)
32 32
     {
Please login to merge, or discard this patch.
src/Contracts/Abstractor/Relation.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,6 @@
 block discarded – undo
63 63
     public function getSecondaryRelations();
64 64
 
65 65
     /**
66
-     * @param Model $relatedModel
67 66
      *
68 67
      * @return Relation
69 68
      */
Please login to merge, or discard this patch.