Passed
Pull Request — main (#22)
by PRATIK
07:13 queued 02:38
created
src/Models/Admin/Facility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,15 +20,15 @@
 block discarded – undo
20 20
     {
21 21
         parent::boot();
22 22
 
23
-        static::saving(function () {
23
+        static::saving(function() {
24 24
             self::cacheKey();
25 25
         });
26 26
 
27
-        static::deleting(function () {
27
+        static::deleting(function() {
28 28
             self::cacheKey();
29 29
         });
30 30
 
31
-        Facility::creating(function ($model) {
31
+        Facility::creating(function($model) {
32 32
             $model->position = Facility::max('position') + 1;
33 33
         });
34 34
     }
Please login to merge, or discard this patch.
src/Models/Admin/Service.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,15 +20,15 @@
 block discarded – undo
20 20
     {
21 21
         parent::boot();
22 22
 
23
-        static::saving(function () {
23
+        static::saving(function() {
24 24
             self::cacheKey();
25 25
         });
26 26
 
27
-        static::deleting(function () {
27
+        static::deleting(function() {
28 28
             self::cacheKey();
29 29
         });
30 30
 
31
-        Service::creating(function ($model) {
31
+        Service::creating(function($model) {
32 32
             $model->position = Service::max('position') + 1;
33 33
         });
34 34
     }
Please login to merge, or discard this patch.
src/Models/Admin/Post.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/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.