@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * This function will return a UUID |
| 30 | 30 | * |
| 31 | - * @return type string |
|
| 31 | + * @return string string |
|
| 32 | 32 | */ |
| 33 | 33 | public static function generate() |
| 34 | 34 | { |
@@ -14,6 +14,6 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | protected static function getFacadeAccessor() |
| 16 | 16 | { |
| 17 | - return UUID::class; |
|
| 17 | + return UUID::class; |
|
| 18 | 18 | } |
| 19 | 19 | } |
| 20 | 20 | \ No newline at end of file |
@@ -7,11 +7,11 @@ discard block |
||
| 7 | 7 | |
| 8 | 8 | class larauuidServiceProvider extends ServiceProvider |
| 9 | 9 | { |
| 10 | - /** |
|
| 11 | - * Indicates if loading of the provider is deferred. |
|
| 12 | - * |
|
| 13 | - * @var bool |
|
| 14 | - */ |
|
| 10 | + /** |
|
| 11 | + * Indicates if loading of the provider is deferred. |
|
| 12 | + * |
|
| 13 | + * @var bool |
|
| 14 | + */ |
|
| 15 | 15 | protected $defer = false; |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -47,21 +47,21 @@ discard block |
||
| 47 | 47 | $this->app->singleton(UUIDManager::class, function () { |
| 48 | 48 | return new UUIDManager(); |
| 49 | 49 | }); |
| 50 | - /* $this->app->bind('larauuid',function($app){ |
|
| 50 | + /* $this->app->bind('larauuid',function($app){ |
|
| 51 | 51 | return new UUID; |
| 52 | 52 | });*/ |
| 53 | 53 | |
| 54 | - /* $this->app->singleton(UuidService::class, function($app){ |
|
| 54 | + /* $this->app->singleton(UuidService::class, function($app){ |
|
| 55 | 55 | return new UuidService; |
| 56 | 56 | });*/ |
| 57 | 57 | // use this if your package has a config file |
| 58 | 58 | // config([ |
| 59 | 59 | // 'config/larauuid.php', |
| 60 | 60 | // ]); |
| 61 | - /* $this->app['guid'] = $this->app->share(function($app) { |
|
| 61 | + /* $this->app['guid'] = $this->app->share(function($app) { |
|
| 62 | 62 | return new GUID; |
| 63 | 63 | });*/ |
| 64 | - /* $this->app->booting(function() { |
|
| 64 | + /* $this->app->booting(function() { |
|
| 65 | 65 | $loader = \Illuminate\Foundation\AliasLoader::getInstance(); |
| 66 | 66 | $loader->alias('UUID', 'emadadly\larauuid\Facades\UUID'); |
| 67 | 67 | });*/ |