Skip to content

Commit 7199ac4

Browse files
committed
docs: update @param style
1 parent 029d118 commit 7199ac4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/DataCaster/DataCaster.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ public function setTypes(array $types): static
114114
* Add ? at the beginning of $type (i.e. ?string) to get `null`
115115
* instead of casting $value if ($value === null).
116116
*
117-
* @param mixed $value The value to convert
118-
* @param string $field The field name
119-
* @param string $method Allowed to "get" and "set"
117+
* @param mixed $value The value to convert
118+
* @param string $field The field name
119+
* @param string $method Allowed to "get" and "set"
120120
* @phpstan-param 'get'|'set' $method
121121
*/
122122
public function castAs(mixed $value, string $field, string $method = 'get'): mixed

0 commit comments

Comments
 (0)