Completed
Pull Request — master (#29)
by Esza
01:16
created
src/controller/HostkeysController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
   /**
60 60
    * Store a newly created resource in storage.
61 61
    *
62
-   * @return Response
62
+   * @return \Illuminate\Http\JsonResponse
63 63
    */
64 64
   public function store(Request $request)
65 65
   {
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
    * Update the specified resource in storage.
211 211
    *
212 212
    * @param  int  $id
213
-   * @return Response
213
+   * @return \Illuminate\Http\JsonResponse
214 214
    */
215 215
    public function update(Request $request, $id)
216 216
    {
Please login to merge, or discard this patch.
src/controller/ApiManagerController.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -183,6 +183,9 @@  discard block
 block discarded – undo
183 183
         }
184 184
     }
185 185
 
186
+    /**
187
+     * @param string $model
188
+     */
186 189
     private function getWorkflow($model){
187 190
 			$data = WorkflowModel::where('content_type', 'like', '%' . $model . '%');
188 191
       return $data;
@@ -590,6 +593,14 @@  discard block
 block discarded – undo
590 593
       }
591 594
     }
592 595
 
596
+    /**
597
+     * @param boolean $error
598
+     * @param integer $statusCode
599
+     * @param string $title
600
+     * @param string $type
601
+     * @param string $message
602
+     * @param string $transition
603
+     */
593 604
     private function SendClient($client, $host, $error, $statusCode, $title, $type, $message, $result, $state, $transition){
594 605
         if(Auth::guest()){ $current_user = 1; }
595 606
         else{ $current_user = Auth::user()->id; }
Please login to merge, or discard this patch.