Completed
Push — dev ( 49f662...ffd4b5 )
by Marc
02:20
created
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/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/Permit/ModelPermit.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         return self::hasPermission($model_permissions, self::getRole());
31 31
     }
32 32
 
33
+    /**
34
+     * @param string|null $route
35
+     */
33 36
     public static function routeAction($route)
34 37
     {
35 38
         $route_permission = AdminOption::get('models.route_permission');
Please login to merge, or discard this patch.
src/Fields/Types/Email.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\Fields\Types;
2 2
 
3 3
 use Form;
4
-use HTML;
5 4
 use Input;
6 5
 
7 6
 class Email extends \Mascame\Formality\Types\Email
Please login to merge, or discard this patch.
src/Fields/FieldFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Mascame\Artificer\Model\Model;
6 6
 use \Illuminate\Support\Str as Str;
7 7
 use Mascame\Artificer\Fields\FieldWrapper;
8
-use Mascame\Formality\Field\Field;
9 8
 
10 9
 class FieldFactory extends \Mascame\Formality\Factory\Factory
11 10
 {
Please login to merge, or discard this 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
      * @param $field Relation
61
-     * @return mixed
61
+     * @return \Mascame\Formality\Field\FieldInterface
62 62
      */
63 63
     public function completeRelation($field) {
64 64
         $relationship = $field->getOption('relationship', []);
Please login to merge, or discard this patch.
src/Extension/AbstractExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php namespace Mascame\Artificer\Extension;
2 2
 
3
-use App;
4 3
 use Mascame\Artificer\Options\PluginOption;
5 4
 use Mascame\Extender\Manager;
6 5
 
Please login to merge, or discard this patch.
src/Http/Controllers/ExtensionController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use App;
4 4
 use Illuminate\Support\Str;
5
-use Mascame\Arrayer\Builder;
6 5
 use Redirect;
7 6
 use View;
8 7
 
Please login to merge, or discard this patch.