Browse Source

Merge pull request #3126 from dereuromark/3.0-docblocks

correct doc blocks
Mark Story 12 years ago
parent
commit
de7ec70fc7
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/Datasource/EntityTrait.php

+ 3 - 4
src/Datasource/EntityTrait.php

@@ -390,18 +390,18 @@ trait EntityTrait {
  * Implements isset($entity);
  *
  * @param mixed $offset
- * @return void
+ * @return boolean Success
  */
 	public function offsetExists($offset) {
 		return $this->has($offset);
 	}
+
 /**
  * Implements $entity[$offset];
  *
  * @param mixed $offset
- * @return void
+ * @return mixed
  */
-
 	public function &offsetGet($offset) {
 		return $this->get($offset);
 	}
@@ -413,7 +413,6 @@ trait EntityTrait {
  * @param mixed $value
  * @return void
  */
-
 	public function offsetSet($offset, $value) {
 		$this->set($offset, $value);
 	}