Skip to content

Commit 098df82

Browse files
committed
Merge branch 'develop'
2 parents 1f8a525 + 1450955 commit 098df82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Prompt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function promptLine(array $row): mixed
177177
if ($this->isEmpty($input)) {
178178
$input = $default;
179179
}
180-
180+
181181
if (!(is_array($validate) || is_callable($validate))) {
182182
throw new InvalidArgumentException("The validate item is wrong input data type", 1);
183183
}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "maplephp/prompts",
33
"type": "library",
4-
"version": "v1.1.0",
4+
"version": "v1.1.1",
55
"description": "PHP Prompts is a pretty, interactive, lightweight, and user-friendly CLI (Command Line Interface) PHP library designed for seamless use across Linux, Unix, Darwin, and Windows.",
66
"keywords": [
77
"php",
@@ -30,7 +30,7 @@
3030
],
3131
"require": {
3232
"php": ">=8.0",
33-
"maplephp/dto": "^1.0",
33+
"maplephp/dto": "^2.0",
3434
"maplephp/http": "^1.0",
3535
"maplephp/validate": "^1.0"
3636
},

0 commit comments

Comments
 (0)