phpcs fixes

This commit is contained in:
Dennis Eichhorn 2018-02-16 16:17:01 +01:00
parent 3059003191
commit 2fbf79bce0
2 changed files with 7 additions and 3 deletions

View File

@ -71,6 +71,8 @@ abstract class HeaderAbstract
/** /**
* Set header locked. * Set header locked.
* *
* @return void
*
* @since 1.0.0 * @since 1.0.0
*/ */
public static function lock() /* : void */ public static function lock() /* : void */
@ -163,6 +165,8 @@ abstract class HeaderAbstract
* *
* @param int $statusCode Status code * @param int $statusCode Status code
* *
* @return void
*
* @since 1.0.0 * @since 1.0.0
*/ */
abstract public function generate(int $statusCode); /* : void */ abstract public function generate(int $statusCode); /* : void */
@ -195,9 +199,11 @@ abstract class HeaderAbstract
* @param string $value Header value * @param string $value Header value
* @param bool $overwrite Overwrite if key already exists * @param bool $overwrite Overwrite if key already exists
* *
* @return void
*
* @since 1.0.0 * @since 1.0.0
*/ */
abstract public function set(string $key, string $value, bool $overwrite = false); abstract public function set(string $key, string $value, bool $overwrite = false); /* : void */
/** /**
* Get header by key. * Get header by key.

View File

@ -91,8 +91,6 @@ class Request extends RequestAbstract
* *
* This is used in order to either initialize the current http request or a batch of GET requests * This is used in order to either initialize the current http request or a batch of GET requests
* *
* @param void
*
* @return void * @return void
* *
* @since 1.0.0 * @since 1.0.0