@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Set the registrar instance for the sanitizer. |
| 109 | 109 | * |
| 110 | - * @param \Alfheim\Sanitizer\Registrar\RegistrarInteraface $registrar |
|
| 110 | + * @param RegistrarInterface $registrar |
|
| 111 | 111 | * |
| 112 | 112 | * @return \Alfheim\Sanitizer\Sanitizer $this |
| 113 | 113 | */ |
@@ -21,13 +21,13 @@ |
||
| 21 | 21 | public function register() |
| 22 | 22 | { |
| 23 | 23 | $this->app->singleton(RegistrarInterface::class, |
| 24 | - function (Container $app) { |
|
| 24 | + function(Container $app) { |
|
| 25 | 25 | return new LaravelRegistrar($app); |
| 26 | 26 | } |
| 27 | 27 | ); |
| 28 | 28 | |
| 29 | 29 | $this->app->bind(Sanitizer::class, |
| 30 | - function (Application $app) { |
|
| 30 | + function(Application $app) { |
|
| 31 | 31 | return (new Sanitizer)->setRegistrar( |
| 32 | 32 | $app->make(RegistrarInterface::class) |
| 33 | 33 | ); |