Completed
Push — dev ( 96c89c...ec5505 )
by Marc
02:11
created
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.
src/Model/Model.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
 
190 190
     /**
191 191
      * @param $model
192
-     * @return bool
192
+     * @return null|boolean
193 193
      */
194 194
     protected function isCurrent($modelName)
195 195
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,8 @@
 block discarded – undo
1 1
 <?php namespace Mascame\Artificer\Model;
2 2
 
3
-use Illuminate\Contracts\Database\ModelIdentifier;
4 3
 use View;
5 4
 use Route;
6 5
 use \Illuminate\Support\Str as Str;
7
-use Mascame\Artificer\Options\AdminOption;
8 6
 
9 7
 // Todo: get column type http://stackoverflow.com/questions/18562684/how-to-get-database-field-type-in-laravel
10 8
 class Model
Please login to merge, or discard this patch.
src/Fields/FieldWrapper.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * Field constructor.
29
-     * @param FieldInterface|TypeInterface $field
30
-     * @param null $relation
29
+     * @param FieldInterface $field
31 30
      */
32 31
     public function __construct(FieldInterface $field)
33 32
     {
Please login to merge, or discard this patch.
src/AutoPublishable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * @param null $fileToCheck
19
-     * @return mixed
19
+     * @return boolean
20 20
      */
21 21
     protected function isPublished($fileToCheck = null) {
22 22
         if (! $fileToCheck) $fileToCheck = config_path($this->name);
Please login to merge, or discard this patch.