We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13a9080 + df351ed commit 5c258faCopy full SHA for 5c258fa
composer.json
@@ -35,5 +35,10 @@
35
"MaplePHP\\Validate\\": "src"
36
}
37
},
38
+ "extra": {
39
+ "branch-alias": {
40
+ "dev-main": "2.x-dev"
41
+ }
42
+ },
43
"minimum-stability": "dev"
44
src/ValidationChain.php
@@ -253,11 +253,12 @@ public function val(): mixed
253
* Set a value
254
*
255
* @param mixed $value
256
- * @return void
+ * @return self
257
*/
258
- public function setValue(mixed $value): void
+ public function setValue(mixed $value): self
259
{
260
$this->value = $value;
261
+ return $this;
262
263
264
/**
0 commit comments