1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Fixed undeclared properties

This commit is contained in:
François-Xavier de Guillebon
2015-09-17 14:33:27 +02:00
parent ec7f7001bd
commit f24867ad06
5 changed files with 11 additions and 1 deletions

View File

@@ -20,8 +20,8 @@ use Monolog\Logger;
*/
class MandrillHandler extends MailHandler
{
protected $client;
protected $message;
protected $apiKey;
/**
* @param string $apiKey A valid Mandrill API key

View File

@@ -15,6 +15,10 @@ class UdpSocket
{
const DATAGRAM_MAX_LENGTH = 65023;
protected $ip;
protected $port;
protected $socket;
public function __construct($ip, $port = 514)
{
$this->ip = $ip;

View File

@@ -21,6 +21,8 @@ use Monolog\Handler\SyslogUdp\UdpSocket;
*/
class SyslogUdpHandler extends AbstractSyslogHandler
{
protected $socket;
/**
* @param string $host
* @param int $port

View File

@@ -3,6 +3,8 @@ namespace Monolog\Formatter;
class ScalarFormatterTest extends \PHPUnit_Framework_TestCase
{
private $formatter;
public function setUp()
{
$this->formatter = new ScalarFormatter();

View File

@@ -15,6 +15,8 @@ use Monolog\TestCase;
class DynamoDbHandlerTest extends TestCase
{
private $client;
public function setUp()
{
if (!class_exists('Aws\DynamoDb\DynamoDbClient')) {