Passed
Push — main ( 5120da...58d108 )
by PRATIK
08:38 queued 04:48
created
src/Repositories/TestimonialRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Provider/WebsiteServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     protected function registerResource()
196 196
     {
197
-        if (! config('website.publish_migrations', true)) {
197
+        if (!config('website.publish_migrations', true)) {
198 198
             $this->loadMigrationsFrom(__DIR__.'/../../database/migrations'); // Loading Migration Files
199 199
         }
200 200
         $this->loadViewsFrom(__DIR__.'/../../resources/views', 'website'); // Loading Views Files
@@ -223,12 +223,12 @@  discard block
 block discarded – undo
223 223
      */
224 224
     protected function registerRoutes()
225 225
     {
226
-        Route::group($this->routeConfiguration(), function () {
226
+        Route::group($this->routeConfiguration(), function() {
227 227
             $this->loadRoutesFrom(__DIR__.'/../../routes/web.php');
228 228
         });
229 229
 
230 230
         if (config('website.website_api_end_points', true)) {
231
-            Route::group($this->apiRouteConfiguration(), function () {
231
+            Route::group($this->apiRouteConfiguration(), function() {
232 232
                 $this->loadRoutesFrom(__DIR__.'/../../routes/api.php');
233 233
             });
234 234
         }
Please login to merge, or discard this patch.
database/migrations/2023_05_10_115320_create_projects_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2023_05_09_094044_create_features_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2023_05_15_081759_create_taggables_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2023_05_10_075952_create_downloads_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
database/migrations/2023_05_24_081102_create_processes_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2023_05_09_084637_create_services_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2023_05_10_041835_create_galleries_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.