@@ -148,6 +148,9 @@ |
||
| 148 | 148 | $this->info('Fertig.'); |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | + /** |
|
| 152 | + * @return string |
|
| 153 | + */ |
|
| 151 | 154 | public function search_for_base_path($filepath) |
| 152 | 155 | { |
| 153 | 156 | $dirarray = [ |
@@ -93,6 +93,9 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @param string $path |
|
| 98 | + */ |
|
| 96 | 99 | public function Delete($path) |
| 97 | 100 | { |
| 98 | 101 | // check for directory is not a file |
@@ -122,6 +125,10 @@ discard block |
||
| 122 | 125 | return false; |
| 123 | 126 | } |
| 124 | 127 | |
| 128 | + /** |
|
| 129 | + * @param string $source |
|
| 130 | + * @param string $destination |
|
| 131 | + */ |
|
| 125 | 132 | public function Zip($source, $destination) |
| 126 | 133 | { |
| 127 | 134 | // check for php_zip extension and file existance |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @param string $branch The git branch to check |
| 18 | 18 | * |
| 19 | - * @return mixed Either the hash or a boolean false |
|
| 19 | + * @return string Either the hash or a boolean false |
|
| 20 | 20 | */ |
| 21 | 21 | public static function get_current_git_commit($branch = 'master') |
| 22 | 22 | { |
@@ -11,6 +11,9 @@ discard block |
||
| 11 | 11 | |
| 12 | 12 | class PlayerHelper |
| 13 | 13 | { |
| 14 | + /** |
|
| 15 | + * @param string $data |
|
| 16 | + */ |
|
| 14 | 17 | public static function getSavegameValidation($data) |
| 15 | 18 | { |
| 16 | 19 | $br = new BinaryReader($data); |
@@ -27,6 +30,9 @@ discard block |
||
| 27 | 30 | } |
| 28 | 31 | } |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @return string |
|
| 35 | + */ |
|
| 30 | 36 | public function getZipRootPath($zipfilepath) |
| 31 | 37 | { |
| 32 | 38 | $dirarray = [ |
@@ -12,6 +12,9 @@ |
||
| 12 | 12 | |
| 13 | 13 | class SearchFilterHelper |
| 14 | 14 | { |
| 15 | + /** |
|
| 16 | + * @param string $searchterm |
|
| 17 | + */ |
|
| 15 | 18 | public static function searchFilter($searchterm) |
| 16 | 19 | { |
| 17 | 20 | $result = []; |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @param \Illuminate\Http\Request $request |
| 59 | 59 | * |
| 60 | - * @return \Illuminate\Http\Response |
|
| 60 | + * @return \Illuminate\Http\RedirectResponse |
|
| 61 | 61 | */ |
| 62 | 62 | public function store(Request $request) |
| 63 | 63 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * @param \Illuminate\Http\Request $request |
| 129 | 129 | * @param int $id |
| 130 | 130 | * |
| 131 | - * @return \Illuminate\Http\Response |
|
| 131 | + * @return \Illuminate\Http\RedirectResponse |
|
| 132 | 132 | */ |
| 133 | 133 | public function update(Request $request, $id) |
| 134 | 134 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * |
| 157 | 157 | * @param int $id |
| 158 | 158 | * |
| 159 | - * @return \Illuminate\Http\Response |
|
| 159 | + * @return \Illuminate\Http\RedirectResponse |
|
| 160 | 160 | */ |
| 161 | 161 | public function destroy($id) |
| 162 | 162 | { |