We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc52385 commit ca7fd4cCopy full SHA for ca7fd4c
composer.json
@@ -10,8 +10,6 @@
10
],
11
"require": {
12
"php": ">=7.4",
13
- "ext-memcache": "*",
14
- "ext-mysqli": "*"
15
},
16
"require-dev": {
17
"phpunit/phpunit": "*",
src/Input.php
@@ -2,6 +2,7 @@
2
3
namespace MintyPHP\Form;
4
5
+use DOMDocument;
6
use DOMElement;
7
use MintyPHP\Form\Validator\Validator;
8
@@ -127,7 +128,7 @@ public function validate(Validator $validator): string
127
128
129
public function setError(string $message): void {}
130
- public function renderDom(\DOMDocument $doc): \DOMElement
131
+ public function renderDom(DOMDocument $doc): DOMElement
132
{
133
$input = $this->renderElement($doc);
134
$input->setAttribute('type', $this->type);
0 commit comments