Skip to content

Fix grammar & typos: correct PromptManager::get() signature - #17

Merged
veeqtoh merged 1 commit into
0.xfrom
mintlify/f93a196c
Aug 3, 2026
Merged

Fix grammar & typos: correct PromptManager::get() signature#17
veeqtoh merged 1 commit into
0.xfrom
mintlify/f93a196c

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Correct the documented PromptManager::get() signature in the API reference so it matches the actual behaviour (and the v0.4.5 changelog entry, which noted this specific correction was missed).

Changes

  • docs/advanced/api-reference.mdx: change get(string $name, ?int $version = null) to get(string $name, string|int|null $version = null) and note that 2, '2', and 'v2' are all accepted, matching the Deck facade table further down the page and the Deck::activate() signature.

Context

The 0.4.5 changelog states: "Corrected the documented Deck::get() signature, which read ?int rather than string|int|null." The facade table was updated, but the PromptManager::get() method heading in the API reference still showed the old ?int signature.

@mintlify
mintlify Bot requested a review from veeqtoh as a code owner August 3, 2026 17:55
@mintlify

mintlify Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Deck 🟢 Ready View Preview Aug 3, 2026, 5:57 PM

@veeqtoh
veeqtoh merged commit 8cd04b6 into 0.x Aug 3, 2026
8 checks passed
@veeqtoh
veeqtoh deleted the mintlify/f93a196c branch August 3, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant