diff --git a/src/Aws/AwsStorageProvider.php b/src/Aws/AwsStorageProvider.php index 0b5e91b..99fa0f8 100644 --- a/src/Aws/AwsStorageProvider.php +++ b/src/Aws/AwsStorageProvider.php @@ -39,7 +39,7 @@ public function __construct(ConsoleVaporClient $vapor) * @param string $url * @param array $headers * @param string $file - * @param bool $progress + * @param bool $withProgress * @return void */ public function store($url, array $headers, $file, $withProgress = false) @@ -184,7 +184,7 @@ protected function retryHandler() { $stack = HandlerStack::create(); - $stack->push(Middleware::retry(function (int $retries, RequestInterface $request, ResponseInterface $response = null) { + $stack->push(Middleware::retry(function (int $retries, RequestInterface $request, ?ResponseInterface $response = null) { $text = 'Retrying Request: '.$request->getMethod().' '.Str::before($request->getUri(), '?'); if ($retries === 0) {