Completed
Push — master ( f01300...e5b8b7 )
by
unknown
01:51 queued 28s
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/database/seeds/BantenprovNilaiSeeder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -89,6 +89,10 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /* text color: orange */
92
+
93
+    /**
94
+     * @param string $text
95
+     */
92 96
     protected function orangeText($text)
93 97
     {    
94 98
         printf($this->ORANGE.$text.$this->NC);
Please login to merge, or discard this patch.
src/database/seeds/BantenprovAkademikSeeder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -89,6 +89,10 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /* text color: orange */
92
+
93
+    /**
94
+     * @param string $text
95
+     */
92 96
     protected function orangeText($text)
93 97
     {    
94 98
         printf($this->ORANGE.$text.$this->NC);
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, -11 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Show the form for creating a new resource.
78 78
      *
79
-     * @return \Illuminate\Http\Response
79
+     * @return \Illuminate\Http\JsonResponse
80 80
      */
81 81
     public function create()
82 82
     {
@@ -101,8 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Display the specified resource.
103 103
      *
104
-     * @param  \App\Nilai  $nilai
105
-     * @return \Illuminate\Http\Response
104
+     * @return \Illuminate\Http\JsonResponse
106 105
      */
107 106
     public function store(Request $request)
108 107
     {
@@ -187,8 +186,7 @@  discard block
 block discarded – undo
187 186
     /**
188 187
      * Store a newly created resource in storage.
189 188
      *
190
-     * @param  \Illuminate\Http\Request  $request
191
-     * @return \Illuminate\Http\Response
189
+     * @return \Illuminate\Http\JsonResponse
192 190
      */
193 191
     public function show($id)
194 192
     {
@@ -205,8 +203,7 @@  discard block
 block discarded – undo
205 203
     /**
206 204
      * Show the form for editing the specified resource.
207 205
      *
208
-     * @param  \App\Nilai  $nilai
209
-     * @return \Illuminate\Http\Response
206
+     * @return \Illuminate\Http\JsonResponse
210 207
      */
211 208
     public function edit($id)
212 209
     {
@@ -227,8 +224,7 @@  discard block
 block discarded – undo
227 224
      * Update the specified resource in storage.
228 225
      *
229 226
      * @param  \Illuminate\Http\Request  $request
230
-     * @param  \App\Nilai  $nilai
231
-     * @return \Illuminate\Http\Response
227
+     * @return \Illuminate\Http\JsonResponse
232 228
      */
233 229
     public function update(Request $request, $id)
234 230
     {
@@ -311,8 +307,7 @@  discard block
 block discarded – undo
311 307
     /**
312 308
      * Remove the specified resource from storage.
313 309
      *
314
-     * @param  \App\Nilai  $nilai
315
-     * @return \Illuminate\Http\Response
310
+     * @return string
316 311
      */
317 312
     public function destroy($id)
318 313
     {
Please login to merge, or discard this patch.