Autofix number of newlines between methods

[MAILPOET-2715]
This commit is contained in:
Jan Jakeš
2020-02-17 13:08:33 +01:00
committed by Jack Kitterhing
parent 73963bd37a
commit b39dac75d6
285 changed files with 60 additions and 303 deletions

View File

@ -90,6 +90,7 @@ class Date {
'month' => ['MM'],
];
}
public function getMonthNames(): array {
return [__('January', 'mailpoet'), __('February', 'mailpoet'), __('March', 'mailpoet'), __('April', 'mailpoet'),
__('May', 'mailpoet'), __('June', 'mailpoet'), __('July', 'mailpoet'), __('August', 'mailpoet'), __('September', 'mailpoet'),

View File

@ -3,7 +3,6 @@
namespace MailPoet\Form\Block;
class Divider {
public function render(): string {
return '<hr class="mailpoet_divider" />';
}

View File

@ -3,7 +3,6 @@
namespace MailPoet\Form\Block;
class Html {
public function render(array $block): string {
$html = '';
$text = '';

View File

@ -139,5 +139,4 @@ class DisplayFormInWPContent {
) return true;
return false;
}
}

View File

@ -5,7 +5,6 @@ namespace MailPoet\Form;
use MailPoet\Models\Form;
class FormFactory {
/** @return Form */
public function createEmptyForm() {
$data = [
@ -41,5 +40,4 @@ class FormFactory {
];
return Form::createOrUpdate($data);
}
}

View File

@ -31,5 +31,4 @@ class FormsRepository extends Repository {
->getQuery()
->getResult();
}
}

View File

@ -46,5 +46,4 @@ class FieldNameObfuscator {
private function wasFieldObfuscated($name) {
return strpos($name, FieldNameObfuscator::OBFUSCATED_FIELD_PREFIX) === 0;
}
}