Passed
Branch main (0b385e)
by PRATIK
13:06
created
Category
src/Models/Admin/Contact.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Models/Admin/Group.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Repositories/ContactRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Repositories/GroupRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Provider/ContactServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
database/migrations/2019_08_19_000000_create_failed_jobs_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2021_06_09_135609_create_contact_group_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
database/migrations/2014_10_12_100000_create_password_resets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.