@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * Register an updated model event with the dispatcher. |
15 | 15 | * |
16 | - * @param \Closure|string $callback |
|
16 | + * @param Closure $callback |
|
17 | 17 | * |
18 | 18 | * @return void |
19 | 19 | */ |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * Register a created model event with the dispatcher. |
24 | 24 | * |
25 | - * @param \Closure|string $callback |
|
25 | + * @param Closure $callback |
|
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Register a deleted model event with the dispatcher. |
33 | 33 | * |
34 | - * @param \Closure|string $callback |
|
34 | + * @param Closure $callback |
|
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
@@ -50,8 +50,8 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * Store a newly created resource in storage. |
52 | 52 | * |
53 | - * @param \Illuminate\Http\NotificationCreateRequest $request |
|
54 | - * @return \Illuminate\Http\Response |
|
53 | + * @param NotificationCreateRequest $request |
|
54 | + * @return \Illuminate\Http\RedirectResponse |
|
55 | 55 | */ |
56 | 56 | public function store(NotificationCreateRequest $request) |
57 | 57 | { |
@@ -81,9 +81,9 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Update the specified resource in storage. |
83 | 83 | * |
84 | - * @param \Illuminate\Http\NotificationUpdateRequest $request |
|
84 | + * @param NotificationUpdateRequest $request |
|
85 | 85 | * @param int $id |
86 | - * @return \Illuminate\Http\Response |
|
86 | + * @return \Illuminate\Http\RedirectResponse |
|
87 | 87 | */ |
88 | 88 | public function update(NotificationUpdateRequest $request, $id) |
89 | 89 | { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * Remove the specified resource from storage. |
101 | 101 | * |
102 | 102 | * @param int $id |
103 | - * @return \Illuminate\Http\Response |
|
103 | + * @return \Illuminate\Http\RedirectResponse |
|
104 | 104 | */ |
105 | 105 | public function destroy($id) |
106 | 106 | { |
@@ -39,7 +39,6 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Display the specified resource. |
41 | 41 | * |
42 | - * @param int $id |
|
43 | 42 | * @return \Illuminate\Http\Response |
44 | 43 | */ |
45 | 44 | public function read($uuid) |
@@ -54,7 +53,7 @@ discard block |
||
54 | 53 | * Remove the specified resource from storage. |
55 | 54 | * |
56 | 55 | * @param int $id |
57 | - * @return \Illuminate\Http\Response |
|
56 | + * @return \Illuminate\Http\RedirectResponse |
|
58 | 57 | */ |
59 | 58 | public function delete($id) |
60 | 59 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * Create a notification instance. |
19 | 19 | * |
20 | - * @param string $token |
|
21 | 20 | * @return void |
22 | 21 | */ |
23 | 22 | public function __construct($info) |
@@ -147,7 +147,6 @@ |
||
147 | 147 | * Update a user's profile. |
148 | 148 | * |
149 | 149 | * @param int $userId User Id |
150 | - * @param array $inputs UserMeta info |
|
151 | 150 | * |
152 | 151 | * @return User |
153 | 152 | */ |
@@ -37,7 +37,6 @@ |
||
37 | 37 | /** |
38 | 38 | * Leave all transmissor |
39 | 39 | * |
40 | - * @param integer $transmissorId |
|
41 | 40 | * @param integer $userId |
42 | 41 | * @return void |
43 | 42 | */ |
@@ -36,6 +36,9 @@ |
||
36 | 36 | return array_merge(['u' . $this->id], $followings, $subscribed_blogs); |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string[] $causers |
|
41 | + */ |
|
39 | 42 | public function activitiesByCausers($causers) |
40 | 43 | { |
41 | 44 | return Activity::whereIn('causer', $causers) |
@@ -147,7 +147,7 @@ |
||
147 | 147 | /** |
148 | 148 | * Get the services provided by the provider. |
149 | 149 | * |
150 | - * @return array |
|
150 | + * @return string[] |
|
151 | 151 | */ |
152 | 152 | public function provides() |
153 | 153 | { |