@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * |
30 | 30 | * @param \Symfony\Component\HttpFoundation\Request $request |
31 | 31 | * |
32 | - * @return \Illuminate\Http\JsonResponse |
|
32 | + * @return \Illuminate\Http\Response |
|
33 | 33 | */ |
34 | 34 | public function getSubscribers(Request $request) |
35 | 35 | { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Create a new subscriber. |
43 | 43 | * |
44 | - * @return \Illuminate\Http\JsonResponse |
|
44 | + * @return \Illuminate\Http\Response |
|
45 | 45 | */ |
46 | 46 | public function postSubscribers() |
47 | 47 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @param \Gitamin\Models\Subscriber $subscriber |
61 | 61 | * |
62 | - * @return \Illuminate\Http\JsonResponse |
|
62 | + * @return \Illuminate\Http\Response |
|
63 | 63 | */ |
64 | 64 | public function deleteSubscriber(Subscriber $subscriber) |
65 | 65 | { |
@@ -146,7 +146,7 @@ |
||
146 | 146 | /** |
147 | 147 | * Updates a project. |
148 | 148 | * |
149 | - * @param \Gitamin\Models\Project $projects |
|
149 | + * @param \Gitamin\Models\Project $project |
|
150 | 150 | * |
151 | 151 | * @return \Illuminate\Http\RedirectResponse |
152 | 152 | */ |
@@ -146,7 +146,6 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * Shows the project team view. |
148 | 148 | * |
149 | - * @param \Gitamin\Models\ProjectTeam $team |
|
150 | 149 | * |
151 | 150 | * @return \Illuminate\View\View |
152 | 151 | */ |
@@ -184,7 +183,7 @@ discard block |
||
184 | 183 | /** |
185 | 184 | * Updates a project. |
186 | 185 | * |
187 | - * @param \Gitamin\Models\Project $projects |
|
186 | + * @param \Gitamin\Models\Project $project |
|
188 | 187 | * |
189 | 188 | * @return \Illuminate\Http\RedirectResponse |
190 | 189 | */ |
@@ -44,6 +44,10 @@ |
||
44 | 44 | return $this->showTree($team.'/'.$project, ''); |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param string $repo |
|
49 | + * @param string $path |
|
50 | + */ |
|
47 | 51 | public function showTree($repo, $path) |
48 | 52 | { |
49 | 53 | $repository = $this->getRepositoryFromName([Setting::get('git_repositories_path')], $repo); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * |
44 | 44 | * @param string $date |
45 | 45 | * |
46 | - * @return \Jenssegers\Date\Date |
|
46 | + * @return string |
|
47 | 47 | */ |
48 | 48 | function formatted_date($date) |
49 | 49 | { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | * We're verifying that Gitamin is correctly installed. If it is, then we're |
24 | 24 | * redirecting the user to the dashboard so they can use Gitamin. |
25 | 25 | * |
26 | - * @param \Illuminate\Routing\Route $route |
|
27 | 26 | * @param \Closure $next |
28 | 27 | * |
29 | 28 | * @return mixed |
@@ -20,7 +20,6 @@ |
||
20 | 20 | * |
21 | 21 | * @param \Illuminate\Http\Request $request |
22 | 22 | * @param \Closure $next |
23 | - * @param string $type |
|
24 | 23 | * |
25 | 24 | * @return mixed |
26 | 25 | */ |