Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDFBuilder now honours pdf name set by either name() or download() methods during download #114

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

albertStaalburger
Copy link
Contributor

Updated PDFBuilder function to first check whether pdf name has been set, if not it uses the name parameter from download. If download name parameter is empty default name is used.

Added tests to assert changes don't break current name and download functionality

@freekmurze freekmurze merged commit e9e9c13 into spatie:main Apr 8, 2024
1 check passed
@freekmurze
Copy link
Member

Thanks!

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.

2 participants