From 54397e1bf27049958f28fac94ba6e0808271fee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=B8ndergaard?= Date: Fri, 28 Sep 2012 10:10:35 +0200 Subject: [PATCH] Fixed wrong return type in phpdoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Bøndergaard --- laravel/asset.php | 2 +- laravel/database/eloquent/model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/asset.php b/laravel/asset.php index 6bc36478..57b45465 100644 --- a/laravel/asset.php +++ b/laravel/asset.php @@ -107,7 +107,7 @@ public function __construct($name) * @param string $source * @param array $dependencies * @param array $attributes - * @return void + * @return Asset_Container */ public function add($name, $source, $dependencies = array(), $attributes = array()) { diff --git a/laravel/database/eloquent/model.php b/laravel/database/eloquent/model.php index 8ae74f6b..914f94ed 100644 --- a/laravel/database/eloquent/model.php +++ b/laravel/database/eloquent/model.php @@ -333,7 +333,7 @@ public function belongs_to($model, $foreign = null) * @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) {