@@ -18,11 +18,11 @@ |
||
| 18 | 18 | { |
| 19 | 19 | parent::boot(); |
| 20 | 20 | |
| 21 | - static::saving(function () { |
|
| 21 | + static::saving(function() { |
|
| 22 | 22 | self::cacheKey(); |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | - static::deleting(function () { |
|
| 25 | + static::deleting(function() { |
|
| 26 | 26 | self::cacheKey(); |
| 27 | 27 | }); |
| 28 | 28 | } |
@@ -18,11 +18,11 @@ |
||
| 18 | 18 | { |
| 19 | 19 | parent::boot(); |
| 20 | 20 | |
| 21 | - static::saving(function () { |
|
| 21 | + static::saving(function() { |
|
| 22 | 22 | self::cacheKey(); |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | - static::deleting(function () { |
|
| 25 | + static::deleting(function() { |
|
| 26 | 26 | self::cacheKey(); |
| 27 | 27 | }); |
| 28 | 28 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function indexContact() |
| 14 | 14 | { |
| 15 | 15 | $contacts = config('coderz.caching', true) |
| 16 | - ? (Cache::has('contacts') ? Cache::get('contacts') : Cache::rememberForever('contacts', function () { |
|
| 16 | + ? (Cache::has('contacts') ? Cache::get('contacts') : Cache::rememberForever('contacts', function() { |
|
| 17 | 17 | return Contact::latest()->paginate(10); |
| 18 | 18 | })) |
| 19 | 19 | : Contact::latest()->paginate(10); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function indexGroup() |
| 14 | 14 | { |
| 15 | 15 | $groups = config('coderz.caching', true) |
| 16 | - ? (Cache::has('groups') ? Cache::get('groups') : Cache::rememberForever('groups', function () { |
|
| 16 | + ? (Cache::has('groups') ? Cache::get('groups') : Cache::rememberForever('groups', function() { |
|
| 17 | 17 | return Group::latest()->get(); |
| 18 | 18 | })) |
| 19 | 19 | : Group::latest()->get(); |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | */ |
| 94 | 94 | protected function registerRoutes() |
| 95 | 95 | { |
| 96 | - Route::group($this->routeConfiguration(), function () { |
|
| 96 | + Route::group($this->routeConfiguration(), function() { |
|
| 97 | 97 | $this->loadRoutesFrom(__DIR__ . '/../../routes/web.php'); |
| 98 | 98 | }); |
| 99 | 99 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('failed_jobs', function (Blueprint $table) { |
|
| 16 | + Schema::create('failed_jobs', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('uuid')->unique(); |
| 19 | 19 | $table->text('connection'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('contact_group', function (Blueprint $table) { |
|
| 16 | + Schema::create('contact_group', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->unsignedBigInteger('contact_id'); |
| 19 | 19 | $table->unsignedBigInteger('group_id'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('users', function (Blueprint $table) { |
|
| 16 | + Schema::create('users', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('email')->unique(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('password_resets', function (Blueprint $table) { |
|
| 16 | + Schema::create('password_resets', function(Blueprint $table) { |
|
| 17 | 17 | $table->string('email')->index(); |
| 18 | 18 | $table->string('token'); |
| 19 | 19 | $table->timestamp('created_at')->nullable(); |