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

@@ -3,7 +3,6 @@
namespace MailPoet\Util;
class SecondLevelDomainNames {
public function get($host) {
if (preg_match('/[^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$/', $host, $matches)) {
return $matches[0];