Skip to content

Commit deb9c46

Browse files
Fix return type hint in docblock (#41554)
The put method can return putFile, which in turn can return a string
1 parent d2fb4a7 commit deb9c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Filesystem/FilesystemAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ protected function fallbackName($name)
318318
* @param string $path
319319
* @param \Psr\Http\Message\StreamInterface|\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|resource $contents
320320
* @param mixed $options
321-
* @return bool
321+
* @return string|bool
322322
*/
323323
public function put($path, $contents, $options = [])
324324
{

0 commit comments

Comments
 (0)