Test Setup Failed
Branch master (8ac892)
by Christopher
11:05
created
src/Traits/Friendable.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -313,13 +313,13 @@
 block discarded – undo
313 313
 
314 314
 
315 315
         $fofs = Friendship::where('status', Status::ACCEPTED)
316
-                          ->where(function ($query) use ($friendIds) {
317
-                              $query->where(function ($q) use ($friendIds) {
318
-                                  $q->whereIn('sender_id', $friendIds);
319
-                              })->orWhere(function ($q) use ($friendIds) {
320
-                                  $q->whereIn('recipient_id', $friendIds);
321
-                              });
322
-                          })->get(['sender_id', 'recipient_id']);
316
+                            ->where(function ($query) use ($friendIds) {
317
+                                $query->where(function ($q) use ($friendIds) {
318
+                                    $q->whereIn('sender_id', $friendIds);
319
+                                })->orWhere(function ($q) use ($friendIds) {
320
+                                    $q->whereIn('recipient_id', $friendIds);
321
+                                });
322
+                            })->get(['sender_id', 'recipient_id']);
323 323
 
324 324
         $fofIds = array_unique(
325 325
             array_merge($fofs->pluck('sender_id')->all(), $fofs->lists('recipient_id')->all())
Please login to merge, or discard this patch.