1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 17:46:09 +02:00

Merge pull request #417 from lyrixx/visibility

Fixed visibility of some classes to match parent visibility
This commit is contained in:
Jordi Boggiano
2014-09-10 16:16:15 +01:00
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);