Completed
Push — master ( b22872...1bbb18 )
by
unknown
7s
created
src/controller/ApiManagerController.php 1 patch
Doc Comments   +14 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;
@@ -611,6 +614,14 @@  discard block
 block discarded – undo
611 614
       }
612 615
     }
613 616
 
617
+    /**
618
+     * @param boolean $error
619
+     * @param integer $statusCode
620
+     * @param string $title
621
+     * @param string $type
622
+     * @param string $message
623
+     * @param string $transition
624
+     */
614 625
     private function SendClient($client, $host, $error, $statusCode, $title, $type, $message, $result, $state, $transition){
615 626
         if(Auth::guest()){ $current_user = 1; }
616 627
         else{ $current_user = Auth::user()->id; }
@@ -657,6 +668,9 @@  discard block
 block discarded – undo
657 668
         return $responses;
658 669
     }
659 670
 
671
+    /**
672
+     * @param string $keterangan
673
+     */
660 674
     private function send_apimanager($url_apimanager,$client,$host,$keterangan){
661 675
         if(Auth::guest()){ $current_user = 1; }
662 676
         else{ $current_user = Auth::user()->id; }
Please login to merge, or discard this patch.
src/controller/HostkeysController.php 1 patch
Doc Comments   +6 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
   {
@@ -214,6 +214,10 @@  discard block
 block discarded – undo
214 214
       return Redirect::to('host-keys');
215 215
   }
216 216
 
217
+  /**
218
+   * @param Request $request
219
+   * @param string $keterangan
220
+   */
217 221
   private function send_apimanager($url_apimanager,$request,$current_user,$keterangan){
218 222
       $headers = ['Content-Type' => 'application/json'];
219 223
       $host 			= str_replace(array('https://', 'http://'), array('',''),$request->host);
@@ -254,7 +258,7 @@  discard block
 block discarded – undo
254 258
    * Update the specified resource in storage.
255 259
    *
256 260
    * @param  int  $id
257
-   * @return Response
261
+   * @return \Illuminate\Http\JsonResponse
258 262
    */
259 263
    public function update(Request $request, $id)
260 264
    {
Please login to merge, or discard this patch.