Fix various undefined variables and argument types [MAILPOET-2488]

This commit is contained in:
wxa
2019-12-26 18:51:14 +03:00
committed by amine-mp
parent 17b578a09f
commit cde877122a
12 changed files with 23 additions and 17 deletions

View File

@ -29,8 +29,8 @@ class SimpleWorkerTest extends \MailPoetTest {
[],
$this
);
$worker_class = get_class($worker);
try {
$worker_class = get_class($worker);
new $worker_class();
$this->fail('SimpleWorker did not throw an exception');
} catch (\Exception $e) {