From e8fe1f172cc94da7af8c16859bdb3c609d707e16 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 21 Mar 2012 11:41:31 -0500 Subject: [PATCH] Removed extra PHP_EOL from Form class. --- laravel/form.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/laravel/form.php b/laravel/form.php index 63d2d9f5..59cd2b18 100644 --- a/laravel/form.php +++ b/laravel/form.php @@ -77,7 +77,7 @@ class Form { $append = static::hidden(Request::spoofer, $method); } - return ''.$append.PHP_EOL; + return ''.$append; } /** @@ -190,7 +190,7 @@ class Form { $value = HTML::entities($value); - return ''.PHP_EOL; + return ''; } /** @@ -218,7 +218,7 @@ class Form { $attributes = array_merge($attributes, compact('type', 'name', 'value', 'id')); - return ''.PHP_EOL; + return ''; } /** @@ -367,7 +367,7 @@ class Form { if ( ! isset($attributes['cols'])) $attributes['cols'] = 50; - return ''.HTML::entities($value).''.PHP_EOL; + return ''.HTML::entities($value).''; } /** @@ -400,7 +400,7 @@ class Form { $html[] = static::option($value, $display, $selected); } - return ''.implode('', $html).''.PHP_EOL; + return ''.implode('', $html).''; } /** @@ -545,7 +545,7 @@ class Form { */ public static function button($value, $attributes = array()) { - return ''.HTML::entities($value).''.PHP_EOL; + return ''.HTML::entities($value).''; } /**