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 029d118 commit 7199ac4Copy full SHA for 7199ac4
system/DataCaster/DataCaster.php
@@ -114,9 +114,9 @@ public function setTypes(array $types): static
114
* Add ? at the beginning of $type (i.e. ?string) to get `null`
115
* instead of casting $value if ($value === null).
116
*
117
- * @param mixed $value The value to convert
118
- * @param string $field The field name
119
- * @param string $method Allowed to "get" and "set"
+ * @param mixed $value The value to convert
+ * @param string $field The field name
+ * @param string $method Allowed to "get" and "set"
120
* @phpstan-param 'get'|'set' $method
121
*/
122
public function castAs(mixed $value, string $field, string $method = 'get'): mixed
0 commit comments