From a2f7061f717af27670b32ed0fb5b20a481549acc Mon Sep 17 00:00:00 2001 From: "github@martinvanpetten.nl" Date: Mon, 20 Jan 2014 17:38:16 +0100 Subject: [PATCH] Removed @package and updated DocBlock with return self --- src/Response.php | 8 ++++---- test/ResponseTest.php | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Response.php b/src/Response.php index b3fd5e50fa..56c420dc49 100644 --- a/src/Response.php +++ b/src/Response.php @@ -164,7 +164,7 @@ class Response extends AbstractMessage implements ResponseInterface * Populate object from string * * @param string $string - * @return Response + * @return self * @throws Exception\InvalidArgumentException */ public static function fromString($string) @@ -235,7 +235,7 @@ public function getCookie() * * @param int $code * @throws Exception\InvalidArgumentException - * @return Response + * @return self */ public function setStatusCode($code) { @@ -266,7 +266,7 @@ public function getStatusCode() * * @param int $code * @throws Exception\InvalidArgumentException - * @return Response + * @return self */ public function setCustomStatusCode($code) { @@ -285,7 +285,7 @@ public function setCustomStatusCode($code) /** * @param string $reasonPhrase - * @return Response + * @return self */ public function setReasonPhrase($reasonPhrase) { diff --git a/test/ResponseTest.php b/test/ResponseTest.php index b66a2a1101..ef34745bfe 100644 --- a/test/ResponseTest.php +++ b/test/ResponseTest.php @@ -5,7 +5,6 @@ * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @package Zend_Http */ namespace ZendTest\Http;