Completed
Push — master ( 50e7fd...435ed2 )
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
     {        
@@ -98,8 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * Display the specified resource.
100 100
      *
101
-     * @param  \App\Nilai  $nilai
102
-     * @return \Illuminate\Http\Response
101
+     * @return \Illuminate\Http\JsonResponse
103 102
      */
104 103
     public function store(Request $request)
105 104
     {
@@ -150,8 +149,7 @@  discard block
 block discarded – undo
150 149
     /**
151 150
      * Store a newly created resource in storage.
152 151
      *
153
-     * @param  \Illuminate\Http\Request  $request
154
-     * @return \Illuminate\Http\Response
152
+     * @return \Illuminate\Http\JsonResponse
155 153
      */
156 154
     public function show($id)
157 155
     {
@@ -168,8 +166,7 @@  discard block
 block discarded – undo
168 166
     /**
169 167
      * Show the form for editing the specified resource.
170 168
      *
171
-     * @param  \App\Nilai  $nilai
172
-     * @return \Illuminate\Http\Response
169
+     * @return \Illuminate\Http\JsonResponse
173 170
      */
174 171
     public function edit($id)
175 172
     {
@@ -190,8 +187,7 @@  discard block
 block discarded – undo
190 187
      * Update the specified resource in storage.
191 188
      *
192 189
      * @param  \Illuminate\Http\Request  $request
193
-     * @param  \App\Nilai  $nilai
194
-     * @return \Illuminate\Http\Response
190
+     * @return \Illuminate\Http\JsonResponse
195 191
      */
196 192
     public function update(Request $request, $id)
197 193
     {   
@@ -254,8 +250,7 @@  discard block
 block discarded – undo
254 250
     /**
255 251
      * Remove the specified resource from storage.
256 252
      *
257
-     * @param  \App\Nilai  $nilai
258
-     * @return \Illuminate\Http\Response
253
+     * @return string
259 254
      */
260 255
     public function destroy($id)
261 256
     {
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
Doc Comments   +6 added lines, -11 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Show the form for creating a new resource.
81 81
      *
82
-     * @return \Illuminate\Http\Response
82
+     * @return \Illuminate\Http\JsonResponse
83 83
      */
84 84
     public function create()
85 85
     {        
@@ -116,8 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * Display the specified resource.
118 118
      *
119
-     * @param  \App\Nilai  $nilai
120
-     * @return \Illuminate\Http\Response
119
+     * @return \Illuminate\Http\JsonResponse
121 120
      */
122 121
     public function store(Request $request)
123 122
     {
@@ -171,8 +170,7 @@  discard block
 block discarded – undo
171 170
     /**
172 171
      * Store a newly created resource in storage.
173 172
      *
174
-     * @param  \Illuminate\Http\Request  $request
175
-     * @return \Illuminate\Http\Response
173
+     * @return \Illuminate\Http\JsonResponse
176 174
      */
177 175
     public function show($id)
178 176
     {
@@ -191,8 +189,7 @@  discard block
 block discarded – undo
191 189
     /**
192 190
      * Show the form for editing the specified resource.
193 191
      *
194
-     * @param  \App\Nilai  $nilai
195
-     * @return \Illuminate\Http\Response
192
+     * @return \Illuminate\Http\JsonResponse
196 193
      */
197 194
     public function edit($id)
198 195
     {
@@ -217,8 +214,7 @@  discard block
 block discarded – undo
217 214
      * Update the specified resource in storage.
218 215
      *
219 216
      * @param  \Illuminate\Http\Request  $request
220
-     * @param  \App\Nilai  $nilai
221
-     * @return \Illuminate\Http\Response
217
+     * @return \Illuminate\Http\JsonResponse
222 218
      */
223 219
     public function update(Request $request, $id)
224 220
     {   
@@ -289,8 +285,7 @@  discard block
 block discarded – undo
289 285
     /**
290 286
      * Remove the specified resource from storage.
291 287
      *
292
-     * @param  \App\Nilai  $nilai
293
-     * @return \Illuminate\Http\Response
288
+     * @return string
294 289
      */
295 290
     public function destroy($id)
296 291
     {
Please login to merge, or discard this patch.
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.