| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | * Holds the post method. |
| 15 | 15 | * |
| 16 | 16 | * @var string |
| 17 | 17 | */ |
| 18 | - const METHOD_POST = 'post'; | |
| 18 | + public const METHOD_POST = 'post'; | |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Holds the get method. |
| 22 | 22 | * |
| @@ -21,9 +21,9 @@ | ||
| 21 | 21 | * Holds the get method. |
| 22 | 22 | * |
| 23 | 23 | * @var string |
| 24 | 24 | */ |
| 25 | - const METHOD_GET = 'get'; | |
| 25 | + public const METHOD_GET = 'get'; | |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Holds the endpoint to send the request to. |
| 29 | 29 | * |
| @@ -69,8 +69,10 @@ | ||
| 69 | 69 | /** |
| 70 | 70 | * Sets the request body. |
| 71 | 71 | * |
| 72 | 72 | * @param mixed $body The body to set. |
| 73 | + * | |
| 74 | + * @return void | |
| 73 | 75 | */ |
| 74 | 76 | public function set_body( $body ) { |
| 75 | 77 | $this->args['body'] = $body; |
| 76 | 78 | } |