for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace STS\StorageConnect;
class UploadResponse
{
/**
* @var UploadRequest
*/
protected $request;
* Original response from storage provider
*
* @var mixed
protected $original;
* @var bool
protected $async = false;
* @var int
protected $statusChecks = 0;
public function __construct( UploadRequest $request, $original, $async = false )
$original
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->request = $request;
$this->original;
$this->async = $async;
}
* @return bool
public function isAsync()
return $this->async;
public function incrementStatusCheck()
$this->statusChecks++;
* @return int
public function getStatusChecks()
return $this->statusChecks;
* @return UploadRequest
public function getRequest()
return $this->request;
* @return mixed
public function getOriginal()
return $this->original;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.