Browse Source

Fixed wrong return type in phpdoc

Signed-off-by: Daniel Bøndergaard <db@helmstmt.com>
Daniel Bøndergaard 12 years ago
parent
commit
54397e1bf2
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  string  $source
 	 * @param  array   $dependencies
 	 * @param  array   $dependencies
 	 * @param  array   $attributes
 	 * @param  array   $attributes
-	 * @return void
+	 * @return Asset_Container
 	 */
 	 */
 	public function add($name, $source, $dependencies = array(), $attributes = array())
 	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        $table
 	 * @param  string        $foreign
 	 * @param  string        $foreign
 	 * @param  string        $other
 	 * @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)
 	public function has_many_and_belongs_to($model, $table = null, $foreign = null, $other = null)
 	{
 	{