@@ -38,7 +38,7 @@ |
||
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 | { |
@@ -5,15 +5,15 @@ |
||
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 |
@@ -177,7 +177,7 @@ |
||
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) |
@@ -2,13 +2,13 @@ |
||
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 |