@@ -58,6 +58,9 @@ |
||
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param Exception $e |
|
| 63 | + */ |
|
| 61 | 64 | protected function renderException($e) { |
| 62 | 65 | |
| 63 | 66 | switch ($e) { |
@@ -151,6 +151,9 @@ |
||
| 151 | 151 | } |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | + /** |
|
| 155 | + * @param Invoice $invoice |
|
| 156 | + */ |
|
| 154 | 157 | public function checkoutAction($invoice) { |
| 155 | 158 | try { |
| 156 | 159 | //dd($invoice); |
@@ -86,7 +86,6 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | 88 | * List only one release by tag |
| 89 | - * @param Request $request |
|
| 90 | 89 | * @return type |
| 91 | 90 | */ |
| 92 | 91 | public function getReleaseByTag($owner,$repo) { |
@@ -149,7 +148,7 @@ discard block |
||
| 149 | 148 | /** |
| 150 | 149 | * |
| 151 | 150 | * @param type $release |
| 152 | - * @return type .zip file |
|
| 151 | + * @return null|\Illuminate\Http\RedirectResponse .zip file |
|
| 153 | 152 | */ |
| 154 | 153 | public function download($release) { |
| 155 | 154 | try { |
@@ -18,6 +18,10 @@ |
||
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | // Breadcrumbs::register($name, $callback) is tested by other methods |
| 21 | + |
|
| 22 | + /** |
|
| 23 | + * @param string $name |
|
| 24 | + */ |
|
| 21 | 25 | protected function register($name) |
| 22 | 26 | { |
| 23 | 27 | $this->manager->register($name, $fn = function() { |