Skip to content

Commit

Permalink
Fix visibility of the methods
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
  • Loading branch information
MauricioFauth committed Feb 8, 2018
1 parent 56daea7 commit d60f28e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/classes/ErrorReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ErrorReport
*
* @return String the report
*/
public function getPrettyReportData()
private function getPrettyReportData()
{
$report = $this->getReportData();

Expand Down Expand Up @@ -135,7 +135,7 @@ public function getReportData($exception_type = 'js')
*
* @return array the uri and script name
*/
public function sanitizeUrl($url)
private function sanitizeUrl($url)
{
$components = parse_url($url);
if (isset($components["fragment"])
Expand Down Expand Up @@ -198,7 +198,7 @@ public function send(array $report)
*
* @return array $stack the modified stack trace
*/
public function translateStacktrace(array $stack)
private function translateStacktrace(array $stack)
{
foreach ($stack as &$level) {
foreach ($level["context"] as &$line) {
Expand Down

0 comments on commit d60f28e

Please sign in to comment.