You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
375 B
22 lines
375 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace OSS\Result;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Class CallbackResult
|
||
|
* @package OSS\Result
|
||
|
*/
|
||
|
class CallbackResult extends PutSetDeleteResult
|
||
|
{
|
||
|
protected function isResponseOk()
|
||
|
{
|
||
|
$status = $this->rawResponse->status;
|
||
|
if ((int)(intval($status) / 100) == 2 && (int)(intval($status)) !== 203) {
|
||
|
return true;
|
||
|
}
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
}
|