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

Lockable immutable config #104

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Lockable immutable config #104

merged 4 commits into from
Jun 27, 2024

Conversation

seba-aln
Copy link
Contributor

No description provided.

@seba-aln seba-aln marked this pull request as draft June 19, 2024 20:25
@seba-aln seba-aln force-pushed the feat/immutable-config branch 3 times, most recently from ebb6012 to 6448e00 Compare June 19, 2024 21:53

/** @var string Secret key provided by PubNub */
private $secretKey;
private ?string $secretKey = null;

/** @var string */

Choose a reason for hiding this comment

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

Do we need this comment now that we have authKey typed?

The same question for other properties.

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've added descriptions to them from the docs

{
return (is_string($value) && strlen(trim($value)) > 0);
}

public function disableImmutableCheck(): self

Choose a reason for hiding this comment

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

What is a purpose of this method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so you can disable checking and on your own responsibility have a mutable config

Choose a reason for hiding this comment

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

ok. Thanks.

@seba-aln seba-aln force-pushed the feat/immutable-config branch 2 times, most recently from 912d445 to b7b204f Compare June 24, 2024 22:11
@seba-aln seba-aln force-pushed the feat/immutable-config branch from b7b204f to e87253e Compare June 24, 2024 22:21
@seba-aln seba-aln marked this pull request as ready for review June 24, 2024 22:48
@seba-aln seba-aln merged commit ad76ff3 into master Jun 27, 2024
6 checks passed
@seba-aln seba-aln deleted the feat/immutable-config branch June 27, 2024 11:21
@seba-aln seba-aln restored the feat/immutable-config branch June 27, 2024 11:22
@seba-aln seba-aln deleted the feat/immutable-config branch June 27, 2024 11:23
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