1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 15:14:14 +02:00

Move constructor argument before

This commit is contained in:
gkedzierski
2014-06-16 17:56:20 +02:00
parent f630bdf7de
commit be52105379
2 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ class SlackHandlerTest extends TestCase
private function createHandler($token = 'myToken', $channel = 'channel1', $username = 'Monolog', $useAttachment = true)
{
$constructorArgs = array($token, $channel, $username, Logger::DEBUG, true, $useAttachment);
$constructorArgs = array($token, $channel, $username, $useAttachment, Logger::DEBUG, true);
$this->res = fopen('php://memory', 'a');
$this->handler = $this->getMock(
'\Monolog\Handler\SlackHandler',