Completed
Push — dev ( 38969c...e9d5f9 )
by Marc
13:15
created
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param null $fileToCheck
40
-     * @return mixed
40
+     * @return boolean
41 41
      */
42 42
     protected function isPublished($fileToCheck = null) {
43 43
         if (! $fileToCheck) $fileToCheck = config_path($this->name);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * Add files to publishable array & autopublish them in case directory does not exist
54 54
      *
55 55
      * @param array $paths
56
-     * @param null $group
56
+     * @param string $group
57 57
      */
58 58
     protected function publishes(array $paths, $group = null) {
59 59
         parent::publishes($paths, $group);
Please login to merge, or discard this patch.
src/Http/Controllers/BaseController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,7 @@
 block discarded – undo
1 1
 <?php namespace Mascame\Artificer\Http\Controllers;
2 2
 
3
-use App;
4
-use Auth;
5 3
 use Illuminate\Support\Facades\Input;
6 4
 use Mascame\Artificer\Artificer;
7
-use Mascame\Artificer\Fields\FieldWrapper;
8 5
 use Mascame\Artificer\Model\Model;
9 6
 use View;
10 7
 use Illuminate\Routing\Controller as Controller;
Please login to merge, or discard this patch.
src/Artificer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 use App;
4 4
 use Mascame\Artificer\Fields\FieldWrapper;
5
-use Mascame\Artificer\Http\Controllers\BaseController;
6 5
 use Mascame\Artificer\Http\Controllers\BaseModelController;
7 6
 use Mascame\Artificer\Model\Model;
8 7
 use Mascame\Artificer\Widget\AbstractWidget;
9
-use Mascame\Artificer\Widget\WidgetInterface;
10 8
 
11 9
 class Artificer
12 10
 {
Please login to merge, or discard this patch.
src/Extension/Booter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 use Illuminate\Support\Str;
4 4
 use Mascame\Extender\Booter\BooterInterface;
5 5
 use Symfony\Component\CssSelector\XPath\Extension\AbstractExtension;
6
-use Symfony\Component\HttpFoundation\File\File;
7 6
 
8 7
 class Booter extends \Mascame\Extender\Booter\Booter implements BooterInterface {
9 8
 
Please login to merge, or discard this patch.
src/Extension/Manager.php 1 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\Extension;
2 2
 
3
-use Illuminate\Support\Str;
4 3
 use Mascame\Extender\Booter\BooterInterface;
5 4
 use Mascame\Extender\Event\EventInterface;
6 5
 use Mascame\Extender\Installer\InstallerInterface;
7
-use Symfony\Component\CssSelector\XPath\Extension\AbstractExtension;
8 6
 use Symfony\Component\HttpFoundation\File\File;
9 7
 
10 8
 class Manager extends \Mascame\Extender\Manager {
Please login to merge, or discard this patch.