Autofix number of newlines between methods
[MAILPOET-2715]
This commit is contained in:
committed by
Jack Kitterhing
parent
73963bd37a
commit
b39dac75d6
@ -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'),
|
||||
|
@ -3,7 +3,6 @@
|
||||
namespace MailPoet\Form\Block;
|
||||
|
||||
class Divider {
|
||||
|
||||
public function render(): string {
|
||||
return '<hr class="mailpoet_divider" />';
|
||||
}
|
||||
|
@ -3,7 +3,6 @@
|
||||
namespace MailPoet\Form\Block;
|
||||
|
||||
class Html {
|
||||
|
||||
public function render(array $block): string {
|
||||
$html = '';
|
||||
$text = '';
|
||||
|
@ -139,5 +139,4 @@ class DisplayFormInWPContent {
|
||||
) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -31,5 +31,4 @@ class FormsRepository extends Repository {
|
||||
->getQuery()
|
||||
->getResult();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -46,5 +46,4 @@ class FieldNameObfuscator {
|
||||
private function wasFieldObfuscated($name) {
|
||||
return strpos($name, FieldNameObfuscator::OBFUSCATED_FIELD_PREFIX) === 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user