Add public keyword to methods

[MAILPOET-2413]
This commit is contained in:
Amine Ben hammou
2019-12-26 12:56:49 +01:00
committed by wxa
parent ec409042d5
commit 43df66d162
823 changed files with 4440 additions and 4440 deletions

View File

@ -7,7 +7,7 @@ use MailPoet\Twig\Functions;
use MailPoet\WP\Functions as WPFunctions;
class FunctionsTest extends \MailPoetTest {
function testItExecutesIsRtlFunction() {
public function testItExecutesIsRtlFunction() {
$template = ['template' => '{% if is_rtl() %}rtl{% endif %}'];
$twig = new \MailPoetVendor\Twig_Environment(new \MailPoetVendor\Twig_Loader_Array($template));
WPFunctions::set(Stub::make(new WPFunctions, [
@ -21,7 +21,7 @@ class FunctionsTest extends \MailPoetTest {
expect($result_no_rtl)->isEmpty();
}
function _after() {
public function _after() {
WPFunctions::set(new WPFunctions);
}
}