@@ -11,8 +11,8 @@ |
||
| 11 | 11 | // Settigs of default worker |
| 12 | 12 | 'default' => [ |
| 13 | 13 | 'archive' => 'easy-rsa.tar.gz', // Path to archive with EasyRSA scripts |
| 14 | - 'scripts' => 'easy-rsa', // Path to folder with EasyRSA scripts |
|
| 15 | - 'certs' => 'easy-rsa-certs', // Part to certificates store folder |
|
| 14 | + 'scripts' => 'easy-rsa', // Path to folder with EasyRSA scripts |
|
| 15 | + 'certs' => 'easy-rsa-certs', // Part to certificates store folder |
|
| 16 | 16 | ], |
| 17 | 17 | ], |
| 18 | 18 | ]; |
@@ -29,17 +29,17 @@ |
||
| 29 | 29 | { |
| 30 | 30 | $app = $this->app; |
| 31 | 31 | |
| 32 | - $app->singleton('easy-rsa.factory', static function () { |
|
| 32 | + $app->singleton('easy-rsa.factory', static function() { |
|
| 33 | 33 | return new Factory(); |
| 34 | 34 | }); |
| 35 | 35 | |
| 36 | - $app->singleton('easy-rsa', static function ($app) { |
|
| 36 | + $app->singleton('easy-rsa', static function($app) { |
|
| 37 | 37 | return new Manager($app, $app['easy-rsa.factory']); |
| 38 | 38 | }); |
| 39 | 39 | |
| 40 | 40 | $app->alias('easy-rsa', Manager::class); |
| 41 | 41 | |
| 42 | - $app->singleton(Worker::class, static function (Container $app) { |
|
| 42 | + $app->singleton(Worker::class, static function(Container $app) { |
|
| 43 | 43 | return $app->make('easy-rsa')->connection(); |
| 44 | 44 | }); |
| 45 | 45 | } |