Completed
Pull Request — master (#149)
by Raffael
05:07
created
src/app/Balloon.App.Notification/Notifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
 
349 349
             if ($node instanceof Collection && $recursive === true) {
350 350
                 $db = $this->db;
351
-                $node->doRecursiveAction(function ($child) use ($db, $subscription) {
351
+                $node->doRecursiveAction(function($child) use ($db, $subscription) {
352 352
                     $subscription['node'] = $child->getId();
353 353
                     $db->subscription->replaceOne(
354 354
                         [
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
 
375 375
             if ($node instanceof Collection && $recursive === true) {
376 376
                 $db = $this->db;
377
-                $node->doRecursiveAction(function ($child) use ($db, $node_id, $user_id) {
377
+                $node->doRecursiveAction(function($child) use ($db, $node_id, $user_id) {
378 378
                     $db->subscription->deleteOne([
379 379
                         'user' => $user_id,
380 380
                         'node' => $node_id,
Please login to merge, or discard this patch.