fix class name.
This commit is contained in:
1 parent
172673c879
commit
335535eca7
1 file changed
+4
-2
+4
-2
@@ -1,6 +1,6 @@
|
|||||||
<?php namespace Illuminate\Html;
|
<?php namespace Illuminate\Html;
|
||||||
|
|
||||||
class Html {
|
class HtmlBuilder {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate an ordered list of items.
|
* Generate an ordered list of items.
|
||||||
@@ -108,7 +108,9 @@ class Html {
|
|||||||
// form like required="required" instead of using incorrect numerics.
|
// form like required="required" instead of using incorrect numerics.
|
||||||
foreach ((array) $attributes as $key => $value)
|
foreach ((array) $attributes as $key => $value)
|
||||||
{
|
{
|
||||||
$html[] = static::attributeElement($key, $value);
|
$element = static::attributeElement($key, $value);
|
||||||
|
|
||||||
|
if ( ! is_null($element)) $html[] = $element;
|
||||||
}
|
}
|
||||||
|
|
||||||
return count($html) > 0 ? ' '.implode(' ', $html) : '';
|
return count($html) > 0 ? ' '.implode(' ', $html) : '';
|
||||||
|
|||||||
Reference in new issue
Block a user