Skip to content

Commit e2ce394

Browse files
author
Jamie Hannaford
committed
Merge pull request rackspace#607 from jbottigliero/hotfix/DataObject-contentLength
hotfix – DataObject->setContentLength : Ensure int
2 parents 7b54706 + f250bad commit e2ce394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/OpenCloud/ObjectStore/Resource/DataObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function getContentType()
265265
}
266266

267267
/**
268-
* @param $contentType int
268+
* @param $contentLength mixed
269269
* @return $this
270270
*/
271271
public function setContentLength($contentLength)
@@ -276,7 +276,7 @@ public function setContentLength($contentLength)
276276
}
277277

278278
/**
279-
* @return int
279+
* @return mixed
280280
*/
281281
public function getContentLength()
282282
{

0 commit comments

Comments
 (0)