@@ -24,7 +24,7 @@ |
||
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'); |
@@ -111,7 +111,7 @@ |
||
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 | ); |
@@ -81,7 +81,7 @@ discard block |
||
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 |
||
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 | ); |