Use short array syntax

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 13:48:48 +02:00
committed by M. Shull
parent 9f16cb6a5f
commit 5da7110eb6
385 changed files with 40133 additions and 40131 deletions

View File

@@ -8,7 +8,7 @@ use MailPoet\Mailer\MailerLog;
class MailerTest extends \MailPoetTest {
function testItResumesSending() {
// create mailer log with a "paused" status
$mailer_log = array('status' => MailerLog::STATUS_PAUSED);
$mailer_log = ['status' => MailerLog::STATUS_PAUSED];
MailerLog::updateMailerLog($mailer_log);
$mailer_log = MailerLog::getMailerLog();
expect($mailer_log['status'])->equals(MailerLog::STATUS_PAUSED);