Completed
Push — master ( bcb82e...80085e )
by vijay
07:39
created
app/Http/Controllers/Auth/PasswordController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Display the form to request a password reset link.
48 48
      *
49
-     * @return Response
49
+     * @return \Illuminate\Http\RedirectResponse
50 50
      */
51 51
     public function postEmail(Request $request)
52 52
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param \Illuminate\Http\Request $request
98 98
      *
99
-     * @return \Illuminate\Http\Response
99
+     * @return \Illuminate\Http\RedirectResponse
100 100
      */
101 101
     public function reset(Request $request)
102 102
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/UserController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * @param type User            $user
163 163
      * @param type Sys_userRequest $request
164 164
      *
165
-     * @return type Response
165
+     * @return \Illuminate\Http\RedirectResponse Response
166 166
      */
167 167
     public function store(User $user, Sys_userRequest $request)
168 168
     {
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * @param type User           $user
238 238
      * @param type Sys_userUpdate $request
239 239
      *
240
-     * @return type Response
240
+     * @return \Illuminate\Http\RedirectResponse Response
241 241
      */
242 242
     public function update($id, User $user, Sys_userUpdate $request)
243 243
     {
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
      * @param type int            $id
318 318
      * @param type ProfileRequest $request
319 319
      *
320
-     * @return type Response
320
+     * @return \Illuminate\Http\RedirectResponse|null Response
321 321
      */
322 322
     public function postProfileedit(ProfileRequest $request)
323 323
     {
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      * @param type int             $id
360 360
      * @param type ProfilePassword $request
361 361
      *
362
-     * @return type Response
362
+     * @return \Illuminate\Http\RedirectResponse Response
363 363
      */
364 364
     public function postProfilePassword($id, ProfilePassword $request)
365 365
     {
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
      *
381 381
      * @param type $id
382 382
      *
383
-     * @return type boolean
383
+     * @return integer boolean
384 384
      */
385 385
     public function UserAssignOrg($id)
386 386
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Client/helpdesk/ClientTicketController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,9 +52,8 @@
 block discarded – undo
52 52
     /**
53 53
      * reply.
54 54
      *
55
-     * @param type $value
56 55
      *
57
-     * @return type view
56
+     * @return \Illuminate\Http\RedirectResponse view
58 57
      */
59 58
     public function reply($id, Request $request)
60 59
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Client/helpdesk/FormController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,9 +251,8 @@
 block discarded – undo
251 251
     /**
252 252
      * reply.
253 253
      *
254
-     * @param type $value
255 254
      *
256
-     * @return type view
255
+     * @return \Illuminate\Http\RedirectResponse view
257 256
      */
258 257
     public function post_ticket_reply($id, Request $request) {
259 258
         try {
Please login to merge, or discard this patch.
app/Http/Controllers/Client/helpdesk/GuestController.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Save profile data.
75 75
      *
76
-     * @param type                $id
77 76
      * @param type ProfileRequest $request
78 77
      *
79 78
      * @return type Response
@@ -226,10 +225,9 @@  discard block
 block discarded – undo
226 225
     /**
227 226
      * Post porfile password.
228 227
      *
229
-     * @param type                 $id
230 228
      * @param type ProfilePassword $request
231 229
      *
232
-     * @return type Response
230
+     * @return \Illuminate\Http\RedirectResponse Response
233 231
      */
234 232
     public function postProfilePassword(ProfilePassword $request)
235 233
     {
@@ -255,7 +253,7 @@  discard block
 block discarded – undo
255 253
      * @param type Ticket_Thread $thread
256 254
      * @param type TicketRequest $request
257 255
      *
258
-     * @return type Response
256
+     * @return \Illuminate\Http\RedirectResponse Response
259 257
      */
260 258
     public function reply(Ticket_Thread $thread, TicketRequest $request)
261 259
     {
@@ -293,7 +291,7 @@  discard block
 block discarded – undo
293 291
      * @param type Tickets       $ticket
294 292
      * @param type Ticket_Thread $thread
295 293
      *
296
-     * @return type Response
294
+     * @return \Illuminate\Http\RedirectResponse Response
297 295
      */
298 296
     public function PostCheckTicket(Request $request)
299 297
     {
@@ -485,6 +483,9 @@  discard block
 block discarded – undo
485 483
         \Session::forget($provider.'redirect');
486 484
     }
487 485
 
486
+    /**
487
+     * @param string $key
488
+     */
488 489
     public function checkArray($key, $array)
489 490
     {
490 491
         $value = '';
Please login to merge, or discard this patch.
app/Http/Controllers/Client/helpdesk/UnAuthController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param type Tickets       $ticket
48 48
      * @param type Ticket_Thread $thread
49 49
      *
50
-     * @return type Response
50
+     * @return \Illuminate\Http\RedirectResponse Response
51 51
      */
52 52
     public function PostCheckTicket(Request $request)
53 53
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * generate random string token for ticket.
117 117
      *
118
-     * @param type $length
118
+     * @param integer $length
119 119
      *
120 120
      * @return string
121 121
      */
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Store ratings of the user.
166 166
      *
167
-     * @return type Redirect
167
+     * @return \Illuminate\Http\RedirectResponse Redirect
168 168
      */
169 169
     public function rating($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref)
170 170
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * Store Client rating about reply of agent quality.
201 201
      *
202
-     * @return type Redirect
202
+     * @return \Illuminate\Http\RedirectResponse Redirect
203 203
      */
204 204
     public function ratingReply($id, Request $request, \App\Model\helpdesk\Ratings\RatingRef $rating_ref)
205 205
     {
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
      *
324 324
      *@param string $lang //desired language's iso code
325 325
      *
326
-     *@return response
326
+     *@return boolean
327 327
      */
328 328
     public static function changeLanguage($lang)
329 329
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Client/kb/UserController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * send message to the mail adderess that define in the system.
187 187
      *
188
-     * @return response
188
+     * @return \Illuminate\Http\RedirectResponse
189 189
      */
190 190
     public function postContact(ContactRequest $request, Contact $contact)
191 191
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * @param type Comment $comment
229 229
      * @param type Id      $id
230 230
      *
231
-     * @return type response
231
+     * @return \Illuminate\Http\RedirectResponse response
232 232
      */
233 233
     public function postComment($slug, Article $article, CommentRequest $request, Comment $comment)
234 234
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Common/FileuploadController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
 //        return $max_size_in_bytes;
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $size
43
+     */
41 44
     public function parse_size($size)
42 45
     {
43 46
         $unit = preg_replace('/[^bkmgtpezy]/i', '', $size); // Remove the non-unit characters from the size.
Please login to merge, or discard this patch.
app/Http/Controllers/Common/PhpMailController.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -45,6 +45,8 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @param type Reg        $reg
47 47
      * @param type Department $dept_id
48
+     * @param string $reg
49
+     * @param string $dept_id
48 50
      *
49 51
      * @return type integer
50 52
      */
@@ -70,6 +72,9 @@  discard block
 block discarded – undo
70 72
         $this->dispatch($job);
71 73
     }
72 74
 
75
+    /**
76
+     * @param string $template_variables
77
+     */
73 78
     public function sendEmail($from, $to, $message, $template_variables)
74 79
     {
75 80
         $from_address = $this->fetch_smtp_details($from);
@@ -211,6 +216,9 @@  discard block
 block discarded – undo
211 216
         $controller->setServiceConfig($protocol, $services);
212 217
     }
213 218
 
219
+    /**
220
+     * @param string $element
221
+     */
214 222
     public function checkElement($element, $array)
215 223
     {
216 224
         $value = '';
Please login to merge, or discard this patch.