Skip to content

Commit

Permalink
Merge remote-tracking branch 'collective/master' into 6.x
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Aug 29, 2019
2 parents 52c499e + 6d5c716 commit 9d0ca4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ return PhpCsFixer\Config::create()
'phpdoc_order' => true,
'pre_increment' => false,
'self_accessor' => false,
'single_trait_insert_per_statement' => false,
'yoda_style' => false,
])
->setFinder($finder);
4 changes: 2 additions & 2 deletions src/Concerns/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ public function input(string $type, ?string $name, ?string $value = null, array
// attributes array so we can convert them into their HTML attribute format
// when creating the HTML element. Then, we will return the entire input.

$options['type'] = $type;
$options['type'] = $type;
$options['value'] = $value;
$options['id'] = $id;
$options['id'] = $id;

return $this->toHtmlString('<input'.$this->html->attributes($options).'>');
}
Expand Down
1 change: 0 additions & 1 deletion src/Eloquent/FormAccessible.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Collective\Html\Eloquent;

use ReflectionClass;
use Illuminate\Support\Str;

trait FormAccessible
Expand Down
2 changes: 1 addition & 1 deletion src/HtmlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ protected function attributeElement($key, $value)
*/
public function meta(?string $name, $content, array $attributes = []): Htmlable
{
$attributes['name'] = $name;
$attributes['name'] = $name;
$attributes['content'] = $content;

return $this->toHtmlString('<meta'.$this->attributes($attributes).'>');
Expand Down

0 comments on commit 9d0ca4f

Please sign in to comment.