Merge pull request #1294 from danielboendergaard/phpdoc-fix

Fixed wrong return type in phpdoc
This commit is contained in:
Taylor Otwell
2012-10-06 12:39:23 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ class Asset_Container {
* @param string $source
* @param array $dependencies
* @param array $attributes
* @return void
* @return Asset_Container
*/
public function add($name, $source, $dependencies = array(), $attributes = array())
{

View File

@@ -333,7 +333,7 @@ abstract class Model {
* @param string $table
* @param string $foreign
* @param string $other
* @return Relationship
* @return Has_Many_And_Belongs_To
*/
public function has_many_and_belongs_to($model, $table = null, $foreign = null, $other = null)
{