Browse Source

Merge pull request #1294 from danielboendergaard/phpdoc-fix

Fixed wrong return type in phpdoc
Taylor Otwell 12 years ago
parent
commit
790a540620
2 changed files with 2 additions and 2 deletions
  1. 1 1
      laravel/asset.php
  2. 1 1
      laravel/database/eloquent/model.php

+ 1 - 1
laravel/asset.php

@@ -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())
 	{

+ 1 - 1
laravel/database/eloquent/model.php

@@ -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)
 	{