mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
bug fix
This commit is contained in:
parent
ddd1b04b3a
commit
94b293e1df
|
|
@ -58,6 +58,12 @@ abstract class HeaderAbstract
|
||||||
*/
|
*/
|
||||||
public int $status = 0;
|
public int $status = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Response timestamp.
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public int $timestamp = 0;
|
public int $timestamp = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -157,7 +163,10 @@ abstract class HeaderAbstract
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
abstract public function getRequestTime() : int;
|
public function getRequestTime() : int
|
||||||
|
{
|
||||||
|
return $this->timestamp;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Push all headers.
|
* Push all headers.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user