Completed
Push — master ( efc908...2ccc8e )
by Jose Luis
03:00
created
src/FieldGenerator/Transformers/FieldTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             'hidden' => (bool) $field->hidden,
24 24
             'order' => $field->order,
25 25
             'default' => $field->default,
26
-            'required' => (string)$field->required,
26
+            'required' => (string) $field->required,
27 27
             'links' => [
28 28
                 'edit' => route('users.config.edit', ['id' => $field->id])
29 29
             ],
Please login to merge, or discard this patch.
src/Flows/Handler/CreateFlowCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function handle($command)
20 20
     {
21
-        $flow = Flow::create((array)$command);
21
+        $flow = Flow::create((array) $command);
22 22
         event(new FlowWasCreated($flow));
23 23
         return $flow;
24 24
     }
Please login to merge, or discard this patch.
src/Flows/Middleware/SetStepOrder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     {
18 18
         if ($command->order === null) {
19 19
             $this->setOrder($command);
20
-        } else {
20
+        }else {
21 21
             $this->reOrderSteps($command);
22 22
         }
23 23
         return $next($command);
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             ->where('order', '>=', $command->order)
33 33
             ->orderBy('order', 'ASC')
34 34
             ->get()
35
-            ->each(function ($step) {
35
+            ->each(function($step) {
36 36
                 $step->order = $step->order + 1;
37 37
                 $step->save();
38 38
             });
Please login to merge, or discard this patch.
src/Menu/Presenters/SidebarMenuPresenter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function getOpenTagWrapper()
13 13
     {
14
-        return PHP_EOL . '<ul class="sidebar-menu">' . PHP_EOL;
14
+        return PHP_EOL.'<ul class="sidebar-menu">'.PHP_EOL;
15 15
     }
16 16
 
17 17
     /**
@@ -20,14 +20,14 @@  discard block
 block discarded – undo
20 20
     public function getMenuWithDropDownWrapper($item)
21 21
     {
22 22
         return '
23
-      		<li class="treeview' . $this->getActiveStateOnChild($item, ' active') . '">
23
+      		<li class="treeview' . $this->getActiveStateOnChild($item, ' active').'">
24 24
                 <a href="#">
25
-                    ' . $item->getIcon() . '
26
-                    <span>' . $item->title . '</span>
25
+                    ' . $item->getIcon().'
26
+                    <span>' . $item->title.'</span>
27 27
                     <i class="fa fa-angle-left pull-right"></i>
28 28
                 </a>
29 29
                 <ul class="treeview-menu">
30
-                    ' . $this->getChildMenuItems($item) . '
30
+                    ' . $this->getChildMenuItems($item).'
31 31
                 </ul>
32 32
             </li>';
33 33
     }
Please login to merge, or discard this patch.
src/Providers/JarvisFoundationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $this->publishes([
55 55
             __DIR__.'/../../resources/assets' => public_path('vendor/jplatform'),
56 56
         ], 'public');
57
-        app('Dingo\Api\Auth\Auth')->extend('inSession', function ($app) {
57
+        app('Dingo\Api\Auth\Auth')->extend('inSession', function($app) {
58 58
             return app('jarvis.auth.provider');
59 59
         });
60 60
     }
Please login to merge, or discard this patch.
src/Entries/CreateEntryCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
     /**
29 29
      * CreateEntryCommand constructor.
30 30
      * @param $entity
31
-     * @param array $data
32 31
      */
33 32
     public function __construct($entity, $entry_id, array $input)
34 33
     {
Please login to merge, or discard this patch.
src/Field/Text/TextFieldType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return mixed
120
+     * @return string
121 121
      */
122 122
     public function presentFront()
123 123
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Core/FlowController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Hechoenlaravel\JarvisFoundation\Http\Controllers\Core;
4 4
 
5 5
 use Hechoenlaravel\JarvisFoundation\Flows\Transition;
6
-use Illuminate\Http\Request;
7 6
 use Hechoenlaravel\JarvisFoundation\Flows\Flow;
8 7
 use Hechoenlaravel\JarvisFoundation\Flows\Step;
9 8
 use Hechoenlaravel\JarvisFoundation\Http\Requests;
Please login to merge, or discard this patch.
src/UI/Field/EntityFieldPresenter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DB;
6 6
 use Hechoenlaravel\JarvisFoundation\EntityGenerator\EntityModel;
7
-use Hechoenlaravel\JarvisFoundation\Field\FieldTypeInterface;
8 7
 
9 8
 
10 9
 /**
Please login to merge, or discard this patch.