Completed
Pull Request — master (#58)
by Luke
02:41
created
app/Classes/Phpcs.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
         $this->convertToLines($result);
23 23
     }
24 24
 
25
+    /**
26
+     * @param string $result
27
+     */
25 28
     private function addSuggestionFix($result)
26 29
     {
27 30
         $arr = explode('<br />', nl2br($result));
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         }
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $result
55
+     */
50 56
     private function convertToLines($result)
51 57
     {
52 58
         $arr = explode('<br />', nl2br($result));
Please login to merge, or discard this patch.
app/Http/Controllers/IssueController.php 1 patch
Doc Comments   +3 added lines, -7 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      *
96 96
      * @param \Illuminate\Http\Request $request
97 97
      *
98
-     * @return \Illuminate\Http\Response
98
+     * @return \Illuminate\Http\RedirectResponse
99 99
      */
100 100
     public function store(IssueRequest $request)
101 101
     {
@@ -112,7 +112,6 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Display the specified resource.
114 114
      *
115
-     * @param int $id
116 115
      *
117 116
      * @return \Illuminate\Http\Response
118 117
      */
@@ -141,7 +140,6 @@  discard block
 block discarded – undo
141 140
     /**
142 141
      * Show the form for editing the specified resource.
143 142
      *
144
-     * @param int $id
145 143
      *
146 144
      * @return \Illuminate\Http\Response
147 145
      */
@@ -173,9 +171,8 @@  discard block
 block discarded – undo
173 171
      * Update the specified resource in storage.
174 172
      *
175 173
      * @param \Illuminate\Http\Request $request
176
-     * @param int                      $id
177 174
      *
178
-     * @return \Illuminate\Http\Response
175
+     * @return \Illuminate\Http\RedirectResponse
179 176
      */
180 177
     public function update(IssueRequest $request, $slug)
181 178
     {
@@ -212,9 +209,8 @@  discard block
 block discarded – undo
212 209
     /**
213 210
      * Remove the specified resource from storage.
214 211
      *
215
-     * @param int $id
216 212
      *
217
-     * @return \Illuminate\Http\Response
213
+     * @return \Illuminate\Http\RedirectResponse
218 214
      */
219 215
     public function destroy($slug)
220 216
     {
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,6 @@
 block discarded – undo
70 70
     /**
71 71
      * Display the specified resource.
72 72
      *
73
-     * @param int $id
74 73
      *
75 74
      * @return \Illuminate\Http\Response
76 75
      */
Please login to merge, or discard this patch.
app/Http/Controllers/UserStoryController.php 1 patch
Doc Comments   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param \Illuminate\Http\Request $request
54 54
      *
55
-     * @return \Illuminate\Http\Response
55
+     * @return \Illuminate\Http\RedirectResponse
56 56
      */
57 57
     public function store(Request $request)
58 58
     {
@@ -65,7 +65,6 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Display the specified resource.
67 67
      *
68
-     * @param int $id
69 68
      *
70 69
      * @return \Illuminate\Http\Response
71 70
      */
@@ -82,7 +81,6 @@  discard block
 block discarded – undo
82 81
     /**
83 82
      * Show the form for editing the specified resource.
84 83
      *
85
-     * @param int $id
86 84
      *
87 85
      * @return \Illuminate\Http\Response
88 86
      */
@@ -105,9 +103,8 @@  discard block
 block discarded – undo
105 103
      * Update the specified resource in storage.
106 104
      *
107 105
      * @param \Illuminate\Http\Request $request
108
-     * @param int                      $id
109 106
      *
110
-     * @return \Illuminate\Http\Response
107
+     * @return \Illuminate\Http\RedirectResponse
111 108
      */
112 109
     public function update(Request $request, $slug)
113 110
     {
Please login to merge, or discard this patch.
app/Models/Status.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         return Carbon::createFromFormat('Y-m-d H:i:s', $this->attributes['created_at'])->diffForHumans();
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $alias
79
+     */
77 80
     public function track($alias, $model)
78 81
     {
79 82
         if (!isset($model->config_status_id)) {
Please login to merge, or discard this patch.
app/Http/Controllers/ProductBacklogController.php 1 patch
Doc Comments   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param \Illuminate\Http\Request $request
54 54
      *
55
-     * @return \Illuminate\Http\Response
55
+     * @return \Illuminate\Http\RedirectResponse
56 56
      */
57 57
     public function store(Request $request)
58 58
     {
@@ -65,7 +65,6 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Display the specified resource.
67 67
      *
68
-     * @param int $id
69 68
      *
70 69
      * @return \Illuminate\Http\Response
71 70
      */
@@ -82,7 +81,6 @@  discard block
 block discarded – undo
82 81
     /**
83 82
      * Show the form for editing the specified resource.
84 83
      *
85
-     * @param int $id
86 84
      *
87 85
      * @return \Illuminate\Http\Response
88 86
      */
@@ -105,9 +103,8 @@  discard block
 block discarded – undo
105 103
      * Update the specified resource in storage.
106 104
      *
107 105
      * @param \Illuminate\Http\Request $request
108
-     * @param int                      $id
109 106
      *
110
-     * @return \Illuminate\Http\Response
107
+     * @return \Illuminate\Http\RedirectResponse
111 108
      */
112 109
     public function update(Request $request, $slug)
113 110
     {
Please login to merge, or discard this patch.
app/Http/Controllers/UserIssueController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,6 @@
 block discarded – undo
87 87
      * Update the specified resource in storage.
88 88
      *
89 89
      * @param \Illuminate\Http\Request $request
90
-     * @param int                      $id
91 90
      *
92 91
      * @return \Illuminate\Http\Response
93 92
      */
Please login to merge, or discard this patch.
app/Classes/Github.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -162,6 +162,9 @@
 block discarded – undo
162 162
         }
163 163
     }
164 164
 
165
+    /**
166
+     * @param string $customRequest
167
+     */
165 168
     private function request($url, $auth = true, $customRequest = null, $postFields = null)
166 169
     {
167 170
         $user = Auth::user();
Please login to merge, or discard this patch.
app/Http/Controllers/SprintController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Store a newly created resource in storage.
65 65
      *
66
-     * @param GitScrum\Http\Requests\SprintRequest $request
66
+     * @param SprintRequest $request
67 67
      *
68
-     * @return \Illuminate\Http\Response
68
+     * @return \Illuminate\Http\RedirectResponse
69 69
      */
70 70
     public function store(SprintRequest $request)
71 71
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 	 *
130 130
 	 * @param SprintRequest|Request $request
131 131
 	 * @param $slug
132
-	 * @return \Illuminate\Http\Response
132
+	 * @return \Illuminate\Http\RedirectResponse
133 133
 	 * @internal param int $id
134 134
 	 *
135 135
 	 */
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	 * Remove the specified resource from storage.
147 147
 	 *
148 148
 	 * @param Request $request
149
-	 * @return \Illuminate\Http\Response
149
+	 * @return \Illuminate\Http\RedirectResponse
150 150
 	 * @internal param int $id
151 151
 	 *
152 152
 	 */
Please login to merge, or discard this patch.