Completed
Branch master (53afa6)
by sebastian
04:54
created
Category
migrations/2020_06_15_083030_create_follows_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         Schema::create(
26 26
             config('follow.table_name'),
27
-            function (Blueprint $table) {
27
+            function(Blueprint $table) {
28 28
                 $table->bigIncrements('id');
29 29
                 $table->unsignedBigInteger('follower_id');
30 30
                 $table->unsignedBigInteger('following_id');
Please login to merge, or discard this patch.
src/Behaviors/CanBeFollowBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     public function removeManyFollowers(Collection $collection)
112 112
     {
113 113
         $collection->each(
114
-            function (Model $user) {
114
+            function(Model $user) {
115 115
                 $this->removeFollower($user);
116 116
             }
117 117
         );
Please login to merge, or discard this patch.
src/Behaviors/CanFollowBehavior.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     public function followMany(Collection $collection)
82 82
     {
83 83
         $collection->each(
84
-            function (Model $user) {
84
+            function(Model $user) {
85 85
                 $this->follow($user);
86 86
             }
87 87
         );
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     public function unFollowMany(Collection $collection)
137 137
     {
138 138
         $collection->each(
139
-            function (Model $user) {
139
+            function(Model $user) {
140 140
                 $this->unFollow($user);
141 141
             }
142 142
         );
Please login to merge, or discard this patch.