Browse Source

Improve doc block.

mark_story 12 years ago
parent
commit
8f0c385874
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/ORM/Associations.php

+ 2 - 2
src/ORM/Associations.php

@@ -99,8 +99,8 @@ class Associations {
 /**
  * Get an array of associations matching a specific type.
  *
- * @param string $class
- * @return array
+ * @param string $class The type of associations you want. For example 'BelongsTo'
+ * @return array An array of Association objects.
  */
 	public function type($class) {
 		$out = array_filter($this->_items, function ($assoc) use ($class) {