Skip to content

Commit ca7fd4c

Browse files
committed
update
1 parent bc52385 commit ca7fd4c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
],
1111
"require": {
1212
"php": ">=7.4",
13-
"ext-memcache": "*",
14-
"ext-mysqli": "*"
1513
},
1614
"require-dev": {
1715
"phpunit/phpunit": "*",

src/Input.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace MintyPHP\Form;
44

5+
use DOMDocument;
56
use DOMElement;
67
use MintyPHP\Form\Validator\Validator;
78

@@ -127,7 +128,7 @@ public function validate(Validator $validator): string
127128

128129
public function setError(string $message): void {}
129130

130-
public function renderDom(\DOMDocument $doc): \DOMElement
131+
public function renderDom(DOMDocument $doc): DOMElement
131132
{
132133
$input = $this->renderElement($doc);
133134
$input->setAttribute('type', $this->type);

0 commit comments

Comments
 (0)