@@ -80,7 +80,6 @@ discard block |
||
80 | 80 | /** |
81 | 81 | * Display the specified resource. |
82 | 82 | * |
83 | - * @param \App\User $user |
|
84 | 83 | * @return \Illuminate\Http\Response |
85 | 84 | */ |
86 | 85 | public function store(Request $request) |
@@ -120,7 +119,6 @@ discard block |
||
120 | 119 | /** |
121 | 120 | * Store a newly created resource in storage. |
122 | 121 | * |
123 | - * @param \Illuminate\Http\Request $request |
|
124 | 122 | * @return \Illuminate\Http\Response |
125 | 123 | */ |
126 | 124 | public function show($id) |
@@ -136,7 +134,6 @@ discard block |
||
136 | 134 | /** |
137 | 135 | * Show the form for editing the specified resource. |
138 | 136 | * |
139 | - * @param \App\User $user |
|
140 | 137 | * @return \Illuminate\Http\Response |
141 | 138 | */ |
142 | 139 | public function edit($id) |
@@ -153,7 +150,6 @@ discard block |
||
153 | 150 | * Update the specified resource in storage. |
154 | 151 | * |
155 | 152 | * @param \Illuminate\Http\Request $request |
156 | - * @param \App\User $user |
|
157 | 153 | * @return \Illuminate\Http\Response |
158 | 154 | */ |
159 | 155 | public function update(Request $request, $id) |
@@ -201,8 +197,7 @@ discard block |
||
201 | 197 | /** |
202 | 198 | * Remove the specified resource from storage. |
203 | 199 | * |
204 | - * @param \App\User $user |
|
205 | - * @return \Illuminate\Http\Response |
|
200 | + * @return string |
|
206 | 201 | */ |
207 | 202 | public function destroy($id) |
208 | 203 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | /* Require */ |
6 | 6 | use App\Http\Controllers\Controller; |
7 | 7 | use Illuminate\Http\Request; |
8 | -use Bantenprov\User\Facades\UserFacade; |
|
9 | 8 | |
10 | 9 | /* Models */ |
11 | 10 | use App\User; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * Get the services provided by the provider. |
60 | 60 | * |
61 | - * @return array |
|
61 | + * @return string[] |
|
62 | 62 | */ |
63 | 63 | public function provides() |
64 | 64 | { |
@@ -98,12 +98,20 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /* text color: orange */ |
101 | + |
|
102 | + /** |
|
103 | + * @param string $text |
|
104 | + */ |
|
101 | 105 | protected function orangeText($text) |
102 | 106 | { |
103 | 107 | printf($this->ORANGE.$text.$this->NC); |
104 | 108 | } |
105 | 109 | |
106 | 110 | /* text color: green */ |
111 | + |
|
112 | + /** |
|
113 | + * @param string $text |
|
114 | + */ |
|
107 | 115 | protected function greenText($text) |
108 | 116 | { |
109 | 117 | printf($this->GRN.$text.$this->NC); |