Skip to content

Commit 892638a

Browse files
authored
make function protected for better inheritance
1 parent 702bc4e commit 892638a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/TelegramFormatter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function formatBatch(array $records)
9696
return $message;
9797
}
9898

99-
private function getMessageForException($exception)
99+
protected function getMessageForException($exception)
100100
{
101101
$severity = '';
102102
$request = app('request');
@@ -153,7 +153,7 @@ private function getMessageForException($exception)
153153
return $message;
154154
}
155155

156-
private function getTags()
156+
protected function getTags()
157157
{
158158
$message = '';
159159
foreach ($this->tags as $tag) {
@@ -165,7 +165,7 @@ private function getTags()
165165
return $message;
166166
}
167167

168-
private function getMessageForLog($record)
168+
protected function getMessageForLog($record)
169169
{
170170
$message = $this->format;
171171
$lineFormatter = new LineFormatter();
@@ -205,7 +205,7 @@ private function getMessageForLog($record)
205205
return $message;
206206
}
207207

208-
private function getSeverityName($key)
208+
protected function getSeverityName($key)
209209
{
210210
$severities = [
211211
1 => 'ERROR',

0 commit comments

Comments
 (0)