| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | protected function appendHandleMethod($interaction, $method = 'handle') | 
| 57 | 57 |      { | 
| 58 | 58 |          if (!str_contains($interaction, '@')) { | 
| 59 | - $interaction .= '@' . $method; | |
| 59 | + $interaction .= '@'.$method; | |
| 60 | 60 | } | 
| 61 | 61 | |
| 62 | 62 | return $interaction; | 
| @@ -21,7 +21,7 @@ | ||
| 21 | 21 | */ | 
| 22 | 22 | public function register() | 
| 23 | 23 |      { | 
| 24 | -        $this->app->singleton(Interactor::class, function ($app) { | |
| 24 | +        $this->app->singleton(Interactor::class, function($app) { | |
| 25 | 25 | return new Interactor($app); | 
| 26 | 26 | }); | 
| 27 | 27 | |
| @@ -34,7 +34,7 @@ discard block | ||
| 34 | 34 | */ | 
| 35 | 35 | protected function getStub() | 
| 36 | 36 |      { | 
| 37 | - return __DIR__ . '/stubs/interaction.stub'; | |
| 37 | + return __DIR__.'/stubs/interaction.stub'; | |
| 38 | 38 | } | 
| 39 | 39 | |
| 40 | 40 | /** | 
| @@ -46,6 +46,6 @@ discard block | ||
| 46 | 46 | */ | 
| 47 | 47 | protected function getDefaultNamespace($rootNamespace) | 
| 48 | 48 |      { | 
| 49 | - return $rootNamespace . '\Interactions'; | |
| 49 | + return $rootNamespace.'\Interactions'; | |
| 50 | 50 | } | 
| 51 | 51 | } | 
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | * @param string $interaction | 
| 13 | 13 | * @param array $parameters | 
| 14 | 14 | * | 
| 15 | - * @return mixed | |
| 15 | + * @return Contracts\Interactor | |
| 16 | 16 | */ | 
| 17 | 17 | public function interact($interaction, array $parameters = []) | 
| 18 | 18 |      { |