@@ -14,7 +14,7 @@ |
||
| 14 | 14 | public function indexTestimonial() |
| 15 | 15 | { |
| 16 | 16 | $testimonials = config('adminetic.caching', true) |
| 17 | - ? (Cache::has('testimonials') ? Cache::get('testimonials') : Cache::rememberForever('testimonials', function () { |
|
| 17 | + ? (Cache::has('testimonials') ? Cache::get('testimonials') : Cache::rememberForever('testimonials', function() { |
|
| 18 | 18 | return Testimonial::orderBy('position')->get(); |
| 19 | 19 | })) |
| 20 | 20 | : Testimonial::orderBy('position')->get(); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('projects', function (Blueprint $table) { |
|
| 14 | + Schema::create('projects', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('slug'); |
| 17 | 17 | $table->string('name'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('features', function (Blueprint $table) { |
|
| 14 | + Schema::create('features', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('slug'); |
| 17 | 17 | $table->string('name'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('taggables', function (Blueprint $table) { |
|
| 14 | + Schema::create('taggables', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->unsignedBigInteger('tag_id'); |
| 17 | 17 | $table->unsignedBigInteger('taggable_id'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('downloads', function (Blueprint $table) { |
|
| 14 | + Schema::create('downloads', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('name'); |
| 17 | 17 | $table->integer('group')->default(1); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('processes', function (Blueprint $table) { |
|
| 14 | + Schema::create('processes', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('slug'); |
| 17 | 17 | $table->string('name'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('services', function (Blueprint $table) { |
|
| 14 | + Schema::create('services', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('slug'); |
| 17 | 17 | $table->string('name'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('galleries', function (Blueprint $table) { |
|
| 14 | + Schema::create('galleries', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('name'); |
| 17 | 17 | $table->string('slug')->unique(); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | - Schema::create('popups', function (Blueprint $table) { |
|
| 14 | + Schema::create('popups', function(Blueprint $table) { |
|
| 15 | 15 | $table->id(); |
| 16 | 16 | $table->string('slug'); |
| 17 | 17 | $table->string('name'); |