Skip to content

Commit 9fd56d7

Browse files
authored
Adjust CastsAttributes::set's expected return type (#34142)
1 parent d6b771e commit 9fd56d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Contracts/Database/Eloquent/CastsAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function get($model, string $key, $value, array $attributes);
2222
* @param string $key
2323
* @param mixed $value
2424
* @param array $attributes
25-
* @return array|string
25+
* @return array|string|null
2626
*/
2727
public function set($model, string $key, $value, array $attributes);
2828
}

0 commit comments

Comments
 (0)