Repository navigation
updated get method to public - #25
Merged
Merged
Conversation
Owner
|
Hi @necenzurat Thanks for the PR, but I wanted to keep this method protected, because is something only for Response ( get items from array using dots) Where this error is being thrown? |
Contributor
Author
|
When using the api after the request.
I ran it out of the box and did not work until i’ve change the protected,
maybe try private?
…--
*Costin Moise* aka necenzurat
Dev-at-large 💻
Find me: +4 0726 459 188 <+4+0726.459.188> | Github
<https://github.com/necenzurat> | Linkedin
<http://www.linkedin.com/in/necenzurat>
On Sat, Aug 24, 2024 at 17:44 Sergkei Melingk ***@***.***> wrote:
Hi @necenzurat <https://github.com/necenzurat>
Thanks for the PR, but I wanted to keep this method protected, because is
something only for Response ( get items from array using dots)
Where this error is being thrown?
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABDQKJXALPRVOSGK77B72DZTCL4TAVCNFSM6AAAAABNBLQ67OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQYTONRZHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Owner
|
@necenzurat can you share the code you used? |
Contributor
Author
|
This part use Cloudflare\Client;
$client = new Client('CLOUDFLARE_TOKEN');
$response = $client->accounts()->list();
$results = $response->json();latest laravel and php 8.2 |
SergkeiM
approved these changes
Aug 26, 2024
Owner
|
@necenzurat thank you. This is awkard that I put protected inside |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
Access type for interface method Cloudflare\Contracts\ResponseInterface::get() must be publicerror