Skip to content

Commit 20767d0

Browse files
committed
fix(docs): Clarify parameter descriptions in Message::getMessage() method in Message enum.
1 parent 003f7ee commit 20767d0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 0.3.1 Under development
44

55
- Bug #14: Update descriptions in stub classes to clarify purpose (@terabytesoftw)
6+
- Bug #15: Clarify parameter descriptions in `Message::getMessage()` method in `Message` enum (@terabytesoftw)
67

78
## 0.3.0 January 19, 2026
89

src/Exception/Message.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ enum Message: string
4141
/**
4242
* Returns the formatted message string for the error case.
4343
*
44-
* Retrieves and formats the error message string by interpolating the provided arguments.
44+
* @param int|string ...$argument Values to insert into the message template.
4545
*
46-
* @param int|string ...$argument Dynamic arguments to insert into the message.
47-
*
48-
* @return string Error message with interpolated arguments.
46+
* @return string Formatted error message with interpolated arguments.
4947
*
5048
* Usage example:
5149
* ```php

0 commit comments

Comments
 (0)