Completed
Push — master ( 59bc14...1ebb56 )
by Adrian
06:11
created
src/Abstractor/Eloquent/Field.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-     * @return mixed
126
+     * @return string
127 127
      */
128 128
     public function getValue()
129 129
     {
@@ -162,6 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     /**
164 164
      *
165
+     * @param boolean $value
165 166
      */
166 167
     public function hideValue($value = null)
167 168
     {
@@ -174,6 +175,7 @@  discard block
 block discarded – undo
174 175
 
175 176
     /**
176 177
      *
178
+     * @param boolean $value
177 179
      */
178 180
     public function saveIfEmpty($value = null)
179 181
     {
@@ -186,6 +188,7 @@  discard block
 block discarded – undo
186 188
 
187 189
     /**
188 190
      *
191
+     * @param boolean $value
189 192
      */
190 193
     public function noValidate($value = null)
191 194
     {
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/ModelFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @param $slug
41
+     * @param string $slug
42 42
      * @param null $id
43
-     * @return Model|null
43
+     * @return Model
44 44
      * @throws \Exception
45 45
      */
46 46
     public function getBySlug($slug, $id = null)
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Relation/MiniCrudSingle.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 
4 4
 use Anavel\Crud\Abstractor\Eloquent\Relation\Traits\CheckRelationCompatibility;
5 5
 use Anavel\Crud\Contracts\Abstractor\Field;
6
-use App;
7 6
 use Illuminate\Database\Eloquent\Model;
8 7
 use Illuminate\Http\Request;
9
-use Illuminate\Support\Collection;
10 8
 
11 9
 class MiniCrudSingle extends Relation
12 10
 {
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Relation/SelectMultiple.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 namespace Anavel\Crud\Abstractor\Eloquent\Relation;
3 3
 
4 4
 use Anavel\Crud\Abstractor\Eloquent\Relation\Traits\CheckRelationCompatibility;
5
-use Anavel\Crud\Abstractor\Eloquent\Relation\Traits\CheckRelationConfig;
6 5
 use Anavel\Crud\Repository\Criteria\InArrayCriteria;
7
-use App;
8 6
 use Doctrine\DBAL\Schema\Column;
9 7
 use Illuminate\Http\Request;
10 8
 
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Relation/Translation.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Anavel\Crud\Abstractor\Eloquent\Relation\Traits\CheckRelationCompatibility;
5 5
 use Anavel\Crud\Contracts\Abstractor\Field;
6
-use App;
7 6
 use Illuminate\Http\Request;
8 7
 
9 8
 class Translation extends Relation
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Relation/MiniCrud.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Anavel\Crud\Abstractor\Eloquent\Relation\Traits\CheckRelationCompatibility;
5 5
 use Anavel\Crud\Contracts\Abstractor\Field;
6
-use App;
7 6
 use Illuminate\Http\Request;
8 7
 
9 8
 class Translation extends Relation
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Model.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
         return transcrud($this->name);
86 86
     }
87 87
 
88
+    /**
89
+     * @return string
90
+     */
88 91
     public function getModel()
89 92
     {
90 93
         return $this->model;
@@ -334,7 +337,7 @@  discard block
 block discarded – undo
334 337
     }
335 338
 
336 339
     /**
337
-     * @param array $requestForm
340
+     * @param array $request
338 341
      * @return mixed
339 342
      */
340 343
     public function persist(Request $request)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,6 @@
 block discarded – undo
16 16
 use Anavel\Crud\Abstractor\Exceptions\AbstractorException;
17 17
 use Illuminate\Http\Request;
18 18
 use Illuminate\Support\Collection;
19
-use League\Flysystem\Adapter\Local;
20
-use League\Flysystem\Filesystem;
21 19
 
22 20
 class Model implements ModelAbstractorContract
23 21
 {
Please login to merge, or discard this patch.
src/Abstractor/Eloquent/Traits/ModelFields.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param array $config
29 29
      * @param string $columnName
30
-     * @return array
30
+     * @return \Doctrine\DBAL\Schema\Column
31 31
      */
32 32
     public function setConfig(array $config, $columnName)
33 33
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 namespace Anavel\Crud\Abstractor\Eloquent\Traits;
5 5
 
6 6
 
7
-use Anavel\Crud\Contracts\Abstractor\Field;
8
-
9 7
 trait ModelFields
10 8
 {
11 9
     protected $fieldsPresentation = [];
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
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
     public function getSecondaryRelations();
56 56
 
57 57
     /**
58
-     * @param Model $relatedModel
59 58
      * @return Relation
60 59
      */
61 60
     public function setRelatedModel(\Illuminate\Database\Eloquent\Model $model);
Please login to merge, or discard this patch.