@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * Create a verify subscriber command instance. |
27 | 27 | * |
28 | - * @param string $subscriber |
|
28 | + * @param Subscriber $subscriber |
|
29 | 29 | * |
30 | 30 | * @return void |
31 | 31 | */ |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Create a new invite group member command instance. |
34 | 34 | * |
35 | - * @param array $email |
|
35 | + * @param array $emails |
|
36 | 36 | * |
37 | 37 | * @return void |
38 | 38 | */ |
@@ -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); |
@@ -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 | */ |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | 'as' => 'activities.', |
92 | 92 | 'prefix' => 'activities', |
93 | 93 | ], function ($router) { |
94 | - $router->get('/', [ |
|
94 | + $router->get('/', [ |
|
95 | 95 | 'as' => 'index', |
96 | 96 | 'uses' => 'ActivityController@showActivities', |
97 | 97 | ]); |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | 'as' => 'milestones.', |
103 | 103 | 'prefix' => 'milestones', |
104 | 104 | ], function ($router) { |
105 | - $router->get('/', [ |
|
105 | + $router->get('/', [ |
|
106 | 106 | 'as' => 'index', |
107 | 107 | 'uses' => 'MilestoneController@showMilestones', |
108 | 108 | ]); |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | 'as' => 'merge_requests.', |
114 | 114 | 'prefix' => 'merge_requests', |
115 | 115 | ], function ($router) { |
116 | - $router->get('/', [ |
|
116 | + $router->get('/', [ |
|
117 | 117 | 'as' => 'index', |
118 | 118 | 'uses' => 'MergeRequestController@showMergeRequests', |
119 | 119 | ]); |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | 'as' => 'snippets.', |
125 | 125 | 'prefix' => 'snippets', |
126 | 126 | ], function ($router) { |
127 | - $router->get('/', [ |
|
127 | + $router->get('/', [ |
|
128 | 128 | 'as' => 'index', |
129 | 129 | 'uses' => 'SnippetController@showSnippets', |
130 | 130 | ]); |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | 'uses' => 'Dashboard\\TeamController@showProjectTeam', |
45 | 45 | ]); |
46 | 46 | |
47 | - $router->get('{repo}/issues', [ |
|
47 | + $router->get('{repo}/issues', [ |
|
48 | 48 | 'as' => 'repo_tree', |
49 | 49 | 'uses' => 'Dashboard\\IssueController@showIndex', |
50 | 50 | ])->where('repo', '.*'); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | 'uses' => 'RepositoryController@showRepo', |
55 | 55 | ])->where('projectTeam', '[A-Za-z]+'); |
56 | 56 | |
57 | - $router->get('{repo}/tree/{path}/', [ |
|
57 | + $router->get('{repo}/tree/{path}/', [ |
|
58 | 58 | 'as' => 'repo_tree', |
59 | 59 | 'uses' => 'RepositoryController@showTree', |
60 | 60 | ])->where('repo', '.*')->where('path', '.*'); |