Test Failed
Push — vue-test ( 251e7e...4704e8 )
by Tony
04:15
created
app/QueryBuilderFilter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
         return json_encode(self::generateMacroFilter('alert.macros.rule', self::generateTableFilter()));
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $setting
43
+     */
41 44
     private static function generateMacroFilter($setting, $filter = [])
42 45
     {
43 46
         foreach (Settings::get($setting, []) as $key => $value) {
Please login to merge, or discard this patch.
app/Http/Controllers/Widgets/WidgetDataController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,6 @@
 block discarded – undo
60 60
     /**
61 61
      * Display the alerts widget.
62 62
      *
63
-     * @param AlertsDataTable $dataTable
64 63
      * @param null $action
65 64
      * @return \Illuminate\Http\JsonResponse|\Illuminate\View\View
66 65
      */
Please login to merge, or discard this patch.
app/Http/Controllers/DeviceGroupController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Store a newly created resource in storage.
58 58
      *
59 59
      * @param  \Illuminate\Http\Request $request
60
-     * @return \Illuminate\Http\Response
60
+     * @return \Illuminate\Http\JsonResponse
61 61
      */
62 62
     public function store(DeviceGroupRequest $request)
63 63
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * Display the specified resource.
71 71
      *
72 72
      * @param  int $id
73
-     * @return \Illuminate\Http\Response
73
+     * @return \Illuminate\Http\RedirectResponse
74 74
      */
75 75
     public function show($id)
76 76
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      *
95 95
      * @param  \Illuminate\Http\Request $request
96 96
      * @param  int $id
97
-     * @return \Illuminate\Http\Response
97
+     * @return \Illuminate\Http\JsonResponse
98 98
      */
99 99
     public function update(DeviceGroupRequest $request, $id)
100 100
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * @param \Illuminate\Http\Request $request
112 112
      * @param  int $id
113
-     * @return \Illuminate\Http\Response
113
+     * @return \Illuminate\Http\JsonResponse
114 114
      * @throws \Exception
115 115
      */
116 116
     public function destroy(AdminOnlyRequest $request, $id)
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * Store a newly created resource in storage.
44 44
      *
45 45
      * @param CreateUserRequest $request
46
-     * @return \Illuminate\Http\Response
46
+     * @return \Illuminate\Http\JsonResponse
47 47
      */
48 48
     public function store(CreateUserRequest $request)
49 49
     {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * Remove the specified resource from storage.
120 120
      *
121 121
      * @param  int $user_id
122
-     * @return \Illuminate\Http\Response
122
+     * @return \Illuminate\Http\JsonResponse
123 123
      */
124 124
     public function destroy(DeleteUserRequest $request, $user_id)
125 125
     {
Please login to merge, or discard this patch.
app/Models/DeviceGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
      * Convert a v1 device group pattern to sql that can be ingested by jQuery-QueryBuilder
208 208
      *
209 209
      * @param $pattern
210
-     * @return array
210
+     * @return string
211 211
      */
212 212
     private function convertV1Pattern($pattern)
213 213
     {
Please login to merge, or discard this patch.
app/Models/Notification.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @param $name
78
-     * @param $enabled
77
+     * @param string $name
78
+     * @param boolean $enabled
79 79
      * @return bool
80 80
      */
81 81
     private function setAttrib($name, $enabled)
Please login to merge, or discard this patch.