Skip to content

Commit b6890c8

Browse files
committed
chore: corrects too specific Message return type
1 parent 3e36f0f commit b6890c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Messages/DTO/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function toArray(): array
122122
*
123123
* @since n.e.x.t
124124
*
125-
* @return UserMessage|ModelMessage|SystemMessage
125+
* @return Message The specific message class based on the role.
126126
*/
127127
final public static function fromArray(array $array): Message
128128
{

0 commit comments

Comments
 (0)