@@ -105,7 +105,7 @@ |
||
105 | 105 | /** |
106 | 106 | * Get the services provided by the provider. |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return string[] |
|
109 | 109 | */ |
110 | 110 | public function provides() |
111 | 111 | { |
@@ -5,14 +5,14 @@ |
||
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\Event\Dispatcher; |
12 | 15 | use Sebdesign\SM\Factory\Factory; |
13 | -use SM\Callback\CallbackFactoryInterface; |
|
14 | -use SM\Callback\CascadeTransitionCallback; |
|
15 | -use SM\Factory\FactoryInterface; |
|
16 | 16 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
17 | 17 | |
18 | 18 | 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 |