Skip to content

Commit dd794ab

Browse files
author
Joe Bottigliero
committed
DataObject->(get|set)ContentLength Docblocks
Updates content length getter and setter docblocks to better reflect what can be returned due to various population methods.
1 parent 7b54706 commit dd794ab

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 $contentType 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)