1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 22:26:41 +02:00

Fixed visibility

This commit is contained in:
Grégoire Pineau
2014-09-08 20:01:00 +02:00
parent 12545cda2f
commit f3b61cf48a
5 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ class FlowdockHandler extends SocketHandler
* *
* @param array $record * @param array $record
*/ */
public function write(array $record) protected function write(array $record)
{ {
parent::write($record); parent::write($record);

View File

@@ -165,7 +165,7 @@ class HipChatHandler extends SocketHandler
* *
* @param array $record * @param array $record
*/ */
public function write(array $record) protected function write(array $record)
{ {
parent::write($record); parent::write($record);
$this->closeSocket(); $this->closeSocket();

View File

@@ -121,7 +121,7 @@ class PushoverHandler extends SocketHandler
return $header; return $header;
} }
public function write(array $record) protected function write(array $record)
{ {
foreach ($this->users as $user) { foreach ($this->users as $user) {
$this->user = $user; $this->user = $user;

View File

@@ -146,7 +146,7 @@ class SlackHandler extends SocketHandler
* *
* @param array $record * @param array $record
*/ */
public function write(array $record) protected function write(array $record)
{ {
parent::write($record); parent::write($record);
$this->closeSocket(); $this->closeSocket();

View File

@@ -49,7 +49,7 @@ class SocketHandler extends AbstractProcessingHandler
* @throws \UnexpectedValueException * @throws \UnexpectedValueException
* @throws \RuntimeException * @throws \RuntimeException
*/ */
public function write(array $record) protected function write(array $record)
{ {
$this->connectIfNotConnected(); $this->connectIfNotConnected();
$data = $this->generateDataStream($record); $data = $this->generateDataStream($record);