Passed
Push — master ( 0f1f7e...1fed69 )
by Innocent
09:38
created
src/Services/ImageService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,6 +39,6 @@
 block discarded – undo
39 39
      */
40 40
     public function getUnsetFields(): array
41 41
     {
42
-        return ['image_id'];
42
+        return [ 'image_id' ];
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
src/Services/ProfileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function getUnsetFields(): array
35 35
     {
36
-        return ['name', 'email', 'phone'];
36
+        return [ 'name', 'email', 'phone' ];
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -6,26 +6,26 @@
 block discarded – undo
6 6
 use FaithGen\SDK\Http\Controllers\ReviewController;
7 7
 use Illuminate\Support\Facades\Route;
8 8
 
9
-Route::name('ministry.')->prefix('ministry/')->group(function () {
10
-    Route::post('social-link', [MinistryController::class, 'getSocialLink']);
11
-    Route::get('profile', [MinistryController::class, 'getProfile']);
12
-    Route::get('account-type', [MinistryController::class, 'accountType']);
9
+Route::name('ministry.')->prefix('ministry/')->group(function() {
10
+    Route::post('social-link', [ MinistryController::class, 'getSocialLink' ]);
11
+    Route::get('profile', [ MinistryController::class, 'getProfile' ]);
12
+    Route::get('account-type', [ MinistryController::class, 'accountType' ]);
13 13
 });
14 14
 
15
-Route::name('images.')->prefix('images')->group(function () {
16
-    Route::post('comment/{image}', [ImageController::class, 'comment']);
17
-    Route::get('comments/{image}', [ImageController::class, 'comments']);
15
+Route::name('images.')->prefix('images')->group(function() {
16
+    Route::post('comment/{image}', [ ImageController::class, 'comment' ]);
17
+    Route::get('comments/{image}', [ ImageController::class, 'comments' ]);
18 18
 });
19 19
 
20 20
 Route::prefix('reviews')
21
-    ->group(function () {
22
-        Route::post('', [ReviewController::class, 'sendReview']);
21
+    ->group(function() {
22
+        Route::post('', [ ReviewController::class, 'sendReview' ]);
23 23
     });
24 24
 
25
-if (! config('faithgen-sdk.source')) {
25
+if (!config('faithgen-sdk.source')) {
26 26
     Route::prefix('comments')
27
-        ->group(function () {
28
-            Route::post('presence', [CommentController::class, 'presenceRegister']);
29
-            Route::post('typing', [CommentController::class, 'showTyping']);
27
+        ->group(function() {
28
+            Route::post('presence', [ CommentController::class, 'presenceRegister' ]);
29
+            Route::post('typing', [ CommentController::class, 'showTyping' ]);
30 30
         });
31 31
 }
Please login to merge, or discard this patch.