Completed
Push — dev ( 17f62c )
by Marc
09:19
created
src/Http/Controllers/BaseController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Mascame\Artificer\Http\Controllers;
2 2
 
3 3
 use App;
4
-use Auth;
5 4
 use Input;
6 5
 use Mascame\Artificer\Fields\Field;
7 6
 use Mascame\Artificer\Model\Model;
Please login to merge, or discard this patch.
src/Http/Controllers/BaseModelController.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -262,6 +262,7 @@
 block discarded – undo
262 262
     /**
263 263
      * @param $validator
264 264
      * @param string $route
265
+     * @param integer $id
265 266
      * @return $this
266 267
      */
267 268
     protected function redirect($validator, $route, $id = null)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 use App;
4 4
 use Auth;
5 5
 use File;
6
-use Illuminate\Routing\Redirector;
7
-use Illuminate\Routing\Router;
8 6
 use Input;
9 7
 use Mascame\Artificer\Fields\FieldFactory;
10 8
 use Mascame\Artificer\Permit\ModelPermit;
Please login to merge, or discard this patch.
src/Http/Controllers/ModelController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     /**
124 124
      * Display the specified post.
125 125
      *
126
-     * @return Response
126
+     * @return ModelController
127 127
      */
128 128
     public function all($modelName, $data = null, $sort = null)
129 129
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Mascame\Artificer\Http\Controllers;
2 2
 
3 3
 use Event;
4
-use Illuminate\Database\Eloquent\Collection;
5 4
 use Input;
6 5
 use Mascame\Artificer\Options\AdminOption;
7 6
 use Redirect;
Please login to merge, or discard this patch.
src/Http/Controllers/PluginController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Mascame\Artificer\Http\Controllers;
2 2
 
3 3
 use App;
4
-use Mascame\Arrayer\Builder;
5
-use Mascame\Artificer\Options\AdminOption;
6 4
 use Redirect;
7 5
 use View;
8 6
 
Please login to merge, or discard this patch.
src/Http/Controllers/UserController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     }
158 158
 
159 159
     /**
160
-     * @return \Illuminate\Database\Eloquent\Model|null|static
160
+     * @return \Illuminate\Database\Eloquent\Model|null
161 161
      */
162 162
     protected function getUser()
163 163
     {
Please login to merge, or discard this patch.
src/Model/FakeModel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * @param $table
43
-     * @param null $primaryKey
44 43
      * @return static
45 44
      */
46 45
     public function setup($config)
Please login to merge, or discard this patch.
src/Model/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
     }
238 238
 
239 239
     /**
240
-     * @param $key
240
+     * @param string $key
241 241
      * @param null $model
242 242
      * @return mixed
243 243
      */
Please login to merge, or discard this patch.
src/Model/ModelSchema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param $column
40
+     * @param string $column
41 41
      * @return bool
42 42
      */
43 43
     public function hasColumn($column)
Please login to merge, or discard this patch.
src/Options/PluginOption.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @param string $plugin
30 29
      * @param string $key
31 30
      */
32 31
     public function get($key = null, $configFile = null)
@@ -35,7 +34,6 @@  discard block
 block discarded – undo
35 34
     }
36 35
 
37 36
     /**
38
-     * @param string $plugin
39 37
      */
40 38
     public function has($key = '', $configFile = null)
41 39
     {
@@ -43,7 +41,6 @@  discard block
 block discarded – undo
43 41
     }
44 42
 
45 43
     /**
46
-     * @param string $plugin
47 44
      */
48 45
     public function set($key, $value, $configFile = null)
49 46
     {
@@ -60,7 +57,7 @@  discard block
 block discarded – undo
60 57
 
61 58
     /**
62 59
      * @param null $configFile
63
-     * @return null|string
60
+     * @return string
64 61
      */
65 62
     protected function getFile($configFile = null)
66 63
     {
Please login to merge, or discard this patch.