@@ -31,6 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * |
| 34 | + * @param string $name |
|
| 34 | 35 | */ |
| 35 | 36 | public function addPublisher($name, callable $callback) { |
| 36 | 37 | $this->publishers[$name] = $callback; |
@@ -88,6 +89,7 @@ discard block |
||
| 88 | 89 | |
| 89 | 90 | /** |
| 90 | 91 | * |
| 92 | + * @param string|null $filename |
|
| 91 | 93 | */ |
| 92 | 94 | public function makeNewFilePath($filename, $destination = null) { |
| 93 | 95 | $original = $this->getFilePath($filename, $destination); |
@@ -103,6 +105,8 @@ discard block |
||
| 103 | 105 | |
| 104 | 106 | /** |
| 105 | 107 | * |
| 108 | + * @param string $filepath |
|
| 109 | + * @param integer $index |
|
| 106 | 110 | */ |
| 107 | 111 | public function appendFilePathUniqueness($filepath, $index) { |
| 108 | 112 | $ext = $this->takeExtension($filepath); |
@@ -178,6 +182,7 @@ discard block |
||
| 178 | 182 | |
| 179 | 183 | /** |
| 180 | 184 | * |
| 185 | + * @param string $path |
|
| 181 | 186 | */ |
| 182 | 187 | public function chmodFile($path) { |
| 183 | 188 | return chmod($path, $this->options['chmod_files']); |
@@ -185,6 +190,7 @@ discard block |
||
| 185 | 190 | |
| 186 | 191 | /** |
| 187 | 192 | * |
| 193 | + * @param string $path |
|
| 188 | 194 | */ |
| 189 | 195 | public function chmodDir($path) { |
| 190 | 196 | return @chmod($path, $this->options['chmod_dirs']); |
@@ -192,6 +198,7 @@ discard block |
||
| 192 | 198 | |
| 193 | 199 | /** |
| 194 | 200 | * |
| 201 | + * @param string $path |
|
| 195 | 202 | */ |
| 196 | 203 | public function prepPublicDir($path) { |
| 197 | 204 | return $this->prepDir($this->public_path, $path); |
@@ -199,6 +206,7 @@ discard block |
||
| 199 | 206 | |
| 200 | 207 | /** |
| 201 | 208 | * |
| 209 | + * @param string $root |
|
| 202 | 210 | */ |
| 203 | 211 | public function prepDir($root, $path) { |
| 204 | 212 | $root = rtrim($root, '/'); |