@@ -145,7 +145,7 @@ |
||
| 145 | 145 | * Retrieve the handler for a command. |
| 146 | 146 | * |
| 147 | 147 | * @param mixed $command |
| 148 | - * @return mixed |
|
| 148 | + * @return boolean |
|
| 149 | 149 | */ |
| 150 | 150 | public function getCommandHandler($command) |
| 151 | 151 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * |
| 36 | 36 | * @param \Illuminate\Contracts\Events\Dispatcher $dispatcher |
| 37 | 37 | * @param array|string $eventsToFake |
| 38 | - * @return void |
|
| 38 | + * @return Dispatcher |
|
| 39 | 39 | */ |
| 40 | 40 | public function __construct(Dispatcher $dispatcher, $eventsToFake = []) |
| 41 | 41 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * Assert if a job was pushed based on a truth-test callback. |
| 20 | 20 | * |
| 21 | 21 | * @param string $job |
| 22 | - * @param callable|int|null $callback |
|
| 22 | + * @param \Closure $callback |
|
| 23 | 23 | * @return void |
| 24 | 24 | */ |
| 25 | 25 | public function assertPushed($job, $callback = null) |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @param string $line |
| 13 | 13 | * @param int $number |
| 14 | 14 | * @param string $locale |
| 15 | - * @return mixed |
|
| 15 | + * @return string |
|
| 16 | 16 | */ |
| 17 | 17 | public function choose($line, $number, $locale) |
| 18 | 18 | { |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * |
| 39 | 39 | * @param array $segments |
| 40 | 40 | * @param int $number |
| 41 | - * @return mixed |
|
| 41 | + * @return string|null |
|
| 42 | 42 | */ |
| 43 | 43 | private function extract($segments, $number) |
| 44 | 44 | { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * |
| 55 | 55 | * @param string $part |
| 56 | 56 | * @param int $number |
| 57 | - * @return mixed |
|
| 57 | + * @return null|string |
|
| 58 | 58 | */ |
| 59 | 59 | private function extractFromString($part, $number) |
| 60 | 60 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * Get the echo methods in the proper order for compilation. |
| 24 | 24 | * |
| 25 | - * @return array |
|
| 25 | + * @return string[] |
|
| 26 | 26 | */ |
| 27 | 27 | protected function getEchoMethods() |
| 28 | 28 | { |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | /** |
| 176 | 176 | * Add a piece of data to the view. |
| 177 | 177 | * |
| 178 | - * @param string|array $key |
|
| 178 | + * @param string $key |
|
| 179 | 179 | * @param mixed $value |
| 180 | 180 | * @return $this |
| 181 | 181 | */ |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | * Remove a piece of bound data from the view. |
| 383 | 383 | * |
| 384 | 384 | * @param string $key |
| 385 | - * @return bool |
|
| 385 | + * @return boolean|null |
|
| 386 | 386 | */ |
| 387 | 387 | public function __unset($key) |
| 388 | 388 | { |
@@ -317,6 +317,9 @@ |
||
| 317 | 317 | return $this->listDirectoryContents($directory, $recursive); |
| 318 | 318 | } |
| 319 | 319 | |
| 320 | + /** |
|
| 321 | + * @param string $directory |
|
| 322 | + */ |
|
| 320 | 323 | abstract protected function listDirectoryContents($directory, $recursive = false); |
| 321 | 324 | |
| 322 | 325 | /** |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @param string $path |
| 38 | 38 | * |
| 39 | - * @return array|false |
|
| 39 | + * @return resource |
|
| 40 | 40 | * |
| 41 | 41 | * @see League\Flysystem\ReadInterface::read() |
| 42 | 42 | */ |
@@ -15,6 +15,7 @@ |
||
| 15 | 15 | * Set the Filesystem object. |
| 16 | 16 | * |
| 17 | 17 | * @param FilesystemInterface $filesystem |
| 18 | + * @return void |
|
| 18 | 19 | */ |
| 19 | 20 | public function setFilesystem(FilesystemInterface $filesystem); |
| 20 | 21 | } |