We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e75e21 commit b6fa55fCopy full SHA for b6fa55f
1 file changed
src/Api.php
@@ -47,7 +47,7 @@ public function sendTestReport(Report $report)
47
$this->sendReportToApi($report);
48
}
49
50
- private function addReportToQueue(Report $report)
+ protected function addReportToQueue(Report $report)
51
{
52
$this->queue[] = $report;
53
@@ -65,12 +65,12 @@ public function sendQueuedReports()
65
66
67
68
- private function sendReportToApi(Report $report)
+ protected function sendReportToApi(Report $report)
69
70
$this->client->post('reports', $this->truncateReport($report->toArray()));
71
72
73
- private function truncateReport(array $payload): array
+ protected function truncateReport(array $payload): array
74
75
return (new ReportTrimmer())->trim($payload);
76
0 commit comments