Completed
Push — master ( a1bc75...7865af )
by Sébastien
11:42 queued 11s
created
src/Commands/Visualize.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * Execute the console command.
40 40
      *
41
-     * @return mixed
41
+     * @return integer
42 42
      */
43 43
     public function handle()
44 44
     {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,15 +5,15 @@
 block discarded – undo
5 5
 use Illuminate\Foundation\Application as LaravelApplication;
6 6
 use Illuminate\Support\ServiceProvider as BaseServiceProvider;
7 7
 use Laravel\Lumen\Application as LumenApplication;
8
+use SM\Callback\CallbackFactoryInterface;
9
+use SM\Callback\CascadeTransitionCallback;
10
+use SM\Factory\FactoryInterface;
8 11
 use Sebdesign\SM\Callback\ContainerAwareCallback;
9 12
 use Sebdesign\SM\Callback\ContainerAwareCallbackFactory;
10 13
 use Sebdesign\SM\Commands\Debug;
11 14
 use Sebdesign\SM\Commands\Visualize;
12 15
 use Sebdesign\SM\Event\Dispatcher;
13 16
 use Sebdesign\SM\Factory\Factory;
14
-use SM\Callback\CallbackFactoryInterface;
15
-use SM\Callback\CascadeTransitionCallback;
16
-use SM\Factory\FactoryInterface;
17 17
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
18 18
 
19 19
 class ServiceProvider extends BaseServiceProvider
Please login to merge, or discard this patch.
src/StateMachine/StateMachine.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 
178 178
     /**
179 179
      * @param  string|null $key
180
-     * @param  mixed       $default
180
+     * @param  string|null       $default
181 181
      * @return mixed
182 182
      */
183 183
     protected function getGraphMetadata($key, $default)
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Sebdesign\SM\StateMachine;
4 4
 
5
-use Sebdesign\SM\Event\TransitionEvent;
6
-use Sebdesign\SM\Metadata\MetadataStore;
7
-use Sebdesign\SM\Metadata\MetadataStoreInterface;
8 5
 use SM\Callback\CallbackFactoryInterface;
9 6
 use SM\Event\SMEvents;
10 7
 use SM\SMException;
11 8
 use SM\StateMachine\StateMachine as BaseStateMachine;
9
+use Sebdesign\SM\Event\TransitionEvent;
10
+use Sebdesign\SM\Metadata\MetadataStore;
11
+use Sebdesign\SM\Metadata\MetadataStoreInterface;
12 12
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
13 13
 use Symfony\Component\PropertyAccess\PropertyAccessor;
14 14
 
Please login to merge, or discard this patch.