Completed
Push — master ( e39f08...a725bb )
by
unknown
10s
created
src/Http/Controllers/NilaiController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 /* Require */
6 6
 use App\Http\Controllers\Controller;
7 7
 use Illuminate\Http\Request;
8
-use Bantenprov\Nilai\Facades\NilaiFacade;
9 8
 
10 9
 /* Models */
11 10
 use Bantenprov\Nilai\Models\Bantenprov\Nilai\Nilai;
Please login to merge, or discard this patch.
Doc Comments   +7 added lines, -12 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Display a listing of the resource.
44 44
      *
45
-     * @return \Illuminate\Http\Response
45
+     * @return \Illuminate\Http\JsonResponse
46 46
      */
47 47
     public function index(Request $request)
48 48
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Show the form for creating a new resource.
75 75
      *
76
-     * @return \Illuminate\Http\Response
76
+     * @return \Illuminate\Http\JsonResponse
77 77
      */
78 78
     public function create()
79 79
     {
@@ -114,8 +114,7 @@  discard block
 block discarded – undo
114 114
     /**
115 115
      * Display the specified resource.
116 116
      *
117
-     * @param  \App\Nilai  $nilai
118
-     * @return \Illuminate\Http\Response
117
+     * @return \Illuminate\Http\JsonResponse
119 118
      */
120 119
     public function store(Request $request)
121 120
     {
@@ -166,8 +165,7 @@  discard block
 block discarded – undo
166 165
     /**
167 166
      * Store a newly created resource in storage.
168 167
      *
169
-     * @param  \Illuminate\Http\Request  $request
170
-     * @return \Illuminate\Http\Response
168
+     * @return \Illuminate\Http\JsonResponse
171 169
      */
172 170
     public function show($id)
173 171
     {
@@ -184,8 +182,7 @@  discard block
 block discarded – undo
184 182
     /**
185 183
      * Show the form for editing the specified resource.
186 184
      *
187
-     * @param  \App\Nilai  $nilai
188
-     * @return \Illuminate\Http\Response
185
+     * @return \Illuminate\Http\JsonResponse
189 186
      */
190 187
     public function edit($id)
191 188
     {
@@ -206,8 +203,7 @@  discard block
 block discarded – undo
206 203
      * Update the specified resource in storage.
207 204
      *
208 205
      * @param  \Illuminate\Http\Request  $request
209
-     * @param  \App\Nilai  $nilai
210
-     * @return \Illuminate\Http\Response
206
+     * @return \Illuminate\Http\JsonResponse
211 207
      */
212 208
     public function update(Request $request, $id)
213 209
     {
@@ -270,8 +266,7 @@  discard block
 block discarded – undo
270 266
     /**
271 267
      * Remove the specified resource from storage.
272 268
      *
273
-     * @param  \App\Nilai  $nilai
274
-     * @return \Illuminate\Http\Response
269
+     * @return string
275 270
      */
276 271
     public function destroy($id)
277 272
     {
Please login to merge, or discard this patch.
src/NilaiServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Http/Controllers/AkademikController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 /* Require */
6 6
 use App\Http\Controllers\Controller;
7 7
 use Illuminate\Http\Request;
8
-use Bantenprov\Nilai\Facades\NilaiFacade;
9 8
 
10 9
 /* Models */
11 10
 use Bantenprov\Nilai\Models\Bantenprov\Nilai\Akademik;
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -10 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     /**
79 79
      * Show the form for creating a new resource.
80 80
      *
81
-     * @return \Illuminate\Http\Response
81
+     * @return \Illuminate\Http\JsonResponse
82 82
      */
83 83
     public function create()
84 84
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * Store a newly created resource in storage.
131 131
      *
132 132
      * @param  \Illuminate\Http\Request  $request
133
-     * @return \Illuminate\Http\Response
133
+     * @return \Illuminate\Http\JsonResponse
134 134
      */
135 135
     public function store(Request $request)
136 136
     {
@@ -172,8 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Display the specified resource.
174 174
      *
175
-     * @param  \App\Nilai  $nilai
176
-     * @return \Illuminate\Http\Response
175
+     * @return \Illuminate\Http\JsonResponse
177 176
      */
178 177
     public function show($id)
179 178
     {
@@ -190,8 +189,7 @@  discard block
 block discarded – undo
190 189
     /**
191 190
      * Show the form for editing the specified resource.
192 191
      *
193
-     * @param  \App\Nilai  $nilai
194
-     * @return \Illuminate\Http\Response
192
+     * @return \Illuminate\Http\JsonResponse
195 193
      */
196 194
     public function edit($id)
197 195
     {
@@ -247,8 +245,7 @@  discard block
 block discarded – undo
247 245
      * Update the specified resource in storage.
248 246
      *
249 247
      * @param  \Illuminate\Http\Request  $request
250
-     * @param  \App\Nilai  $nilai
251
-     * @return \Illuminate\Http\Response
248
+     * @return \Illuminate\Http\JsonResponse
252 249
      */
253 250
     public function update(Request $request, $id)
254 251
     {
@@ -290,8 +287,7 @@  discard block
 block discarded – undo
290 287
     /**
291 288
      * Remove the specified resource from storage.
292 289
      *
293
-     * @param  \App\Nilai  $nilai
294
-     * @return \Illuminate\Http\Response
290
+     * @return string
295 291
      */
296 292
     public function destroy($id)
297 293
     {
Please login to merge, or discard this patch.
src/database/seeds/BantenprovNilaiSeederAkademik.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -86,6 +86,10 @@
 block discarded – undo
86 86
     }
87 87
 
88 88
     /* text color: orange */
89
+
90
+    /**
91
+     * @param string $text
92
+     */
89 93
     protected function orangeText($text)
90 94
     {
91 95
         printf($this->ORANGE.$text.$this->NC);
Please login to merge, or discard this patch.
src/database/seeds/BantenprovNilaiSeederNilai.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -86,6 +86,10 @@
 block discarded – undo
86 86
     }
87 87
 
88 88
     /* text color: orange */
89
+
90
+    /**
91
+     * @param string $text
92
+     */
89 93
     protected function orangeText($text)
90 94
     {
91 95
         printf($this->ORANGE.$text.$this->NC);
Please login to merge, or discard this patch.