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

Fixes, improvements, samples #117

Merged
merged 4 commits into from
Apr 1, 2025
Merged

Fixes, improvements, samples #117

merged 4 commits into from
Apr 1, 2025

Conversation

seba-aln
Copy link
Contributor

@seba-aln seba-aln commented Mar 28, 2025

fix: Added missing information in file publish endpoint

docs: Basic usage examples have been added

echo "PubNub Timetoken: " . $result->getTimetoken() . PHP_EOL;

// Calculate and display the Unix timestamp (seconds)
$unixTimestamp = floor($result->getTimetoken() / 10000000);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can 10000000 be extracted to constant with meaningful name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess maybe but it's just an example. And even our docs don't name it in any way. it's jus 10M

@seba-aln
Copy link
Contributor Author

seba-aln commented Apr 1, 2025

@pubnub-release-bot release

@seba-aln seba-aln merged commit a7d0f51 into master Apr 1, 2025
8 checks passed
@seba-aln seba-aln deleted the fix/fixes-and-samples branch April 1, 2025 13:30
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

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.

4 participants