diff --git a/.travis.yml b/.travis.yml index 46368ae..caba7c8 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 7.0 - 7.1 sudo: false diff --git a/composer.json b/composer.json index 30e2c2d..6012ec0 100755 --- a/composer.json +++ b/composer.json @@ -18,15 +18,15 @@ } ], "require": { - "php": ">=7.0.0", - "illuminate/http": "5.6.x-dev", - "illuminate/routing": "5.6.x-dev", - "illuminate/session": "5.6.x-dev", - "illuminate/support": "5.6.x-dev", - "illuminate/view": "5.6.x-dev" + "php": ">=7.1.3", + "illuminate/http": "5.6.*", + "illuminate/routing": "5.6.*", + "illuminate/session": "5.6.*", + "illuminate/support": "5.6.*", + "illuminate/view": "5.6.*" }, "require-dev": { - "illuminate/database": "5.6.x-dev", + "illuminate/database": "5.6.*", "mockery/mockery": "~0.9.4", "phpunit/phpunit": "~5.4" }, diff --git a/src/FormBuilder.php b/src/FormBuilder.php index 94870b6..01a8d88 100644 --- a/src/FormBuilder.php +++ b/src/FormBuilder.php @@ -527,7 +527,7 @@ class FormBuilder // the element. Then we'll create the final textarea elements HTML for us. $options = $this->html->attributes($options); - return $this->toHtmlString(''); + return $this->toHtmlString(''); } /** @@ -722,10 +722,10 @@ class FormBuilder if (is_array($display)) { $html[] = $this->optionGroup($display, $value, $selected, $attributes, $optionAttributes, $level+5); } else { - $html[] = $this->option($space.$display, $value, $selected, $attributes, $optionAttributes); + $html[] = $this->option($space.$display, $value, $selected, $optionAttributes); } } - return $this->toHtmlString(''); + return $this->toHtmlString(''); } /** @@ -746,7 +746,7 @@ class FormBuilder $string = ''; + $string .= e($display, false) . ''; } return $this->toHtmlString($string); @@ -769,7 +769,7 @@ class FormBuilder 'value' => '', ]; - return $this->toHtmlString(''); + return $this->toHtmlString(''); } /** diff --git a/src/HtmlBuilder.php b/src/HtmlBuilder.php index 7eb37ae..ec95354 100755 --- a/src/HtmlBuilder.php +++ b/src/HtmlBuilder.php @@ -387,7 +387,7 @@ class HtmlBuilder if (is_array($value)) { return $this->nestedListing($key, $type, $value); } else { - return '