@@ -37,7 +37,7 @@ |
||
37 | 37 | $plain = $text->getPlainText(); |
38 | 38 | $hash = sha1($plain); |
39 | 39 | |
40 | - if (! isset( static::$cache[$hash])) { |
|
40 | + if (!isset(static::$cache[$hash])) { |
|
41 | 41 | $result = parent::calculate($text); |
42 | 42 | static::$cache[$hash] = $result; |
43 | 43 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | $plain = $text->getPlainText(); |
38 | 38 | $hash = sha1($plain); |
39 | 39 | |
40 | - if (! isset( static::$cache[$hash])) { |
|
40 | + if (!isset(static::$cache[$hash])) { |
|
41 | 41 | $result = parent::calculate($text); |
42 | 42 | static::$cache[$hash] = $result; |
43 | 43 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | $plain = $text->getPlainText(); |
38 | 38 | $hash = sha1($plain); |
39 | 39 | |
40 | - if (! isset( static::$cache[$hash])) { |
|
40 | + if (!isset(static::$cache[$hash])) { |
|
41 | 41 | $result = parent::calculate($text); |
42 | 42 | static::$cache[$hash] = $result; |
43 | 43 | } |
@@ -38,10 +38,10 @@ |
||
38 | 38 | { |
39 | 39 | $o = new Options(); |
40 | 40 | $o->setDefaultLocale($locale) |
41 | - ->setRightMin(2) |
|
42 | - ->setLeftMin(2) |
|
43 | - ->setWordMin(4) |
|
44 | - ->setTokenizers('Whitespace, Punctuation'); |
|
41 | + ->setRightMin(2) |
|
42 | + ->setLeftMin(2) |
|
43 | + ->setWordMin(4) |
|
44 | + ->setTokenizers('Whitespace, Punctuation'); |
|
45 | 45 | |
46 | 46 | $hyphenator = new Hyphenator(); |
47 | 47 | $hyphenator->setOptions($o); |
@@ -38,10 +38,10 @@ |
||
38 | 38 | { |
39 | 39 | $o = new Options(); |
40 | 40 | $o->setDefaultLocale($locale) |
41 | - ->setRightMin(2) |
|
42 | - ->setLeftMin(2) |
|
43 | - ->setWordMin(4) |
|
44 | - ->setTokenizers('Whitespace, Punctuation'); |
|
41 | + ->setRightMin(2) |
|
42 | + ->setLeftMin(2) |
|
43 | + ->setWordMin(4) |
|
44 | + ->setTokenizers('Whitespace, Punctuation'); |
|
45 | 45 | |
46 | 46 | $hyphenator = new Hyphenator(); |
47 | 47 | $hyphenator->setOptions($o); |
@@ -38,10 +38,10 @@ |
||
38 | 38 | { |
39 | 39 | $o = new Options(); |
40 | 40 | $o->setDefaultLocale($locale) |
41 | - ->setRightMin(2) |
|
42 | - ->setLeftMin(2) |
|
43 | - ->setWordMin(4) |
|
44 | - ->setTokenizers('Whitespace, Punctuation'); |
|
41 | + ->setRightMin(2) |
|
42 | + ->setLeftMin(2) |
|
43 | + ->setWordMin(4) |
|
44 | + ->setTokenizers('Whitespace, Punctuation'); |
|
45 | 45 | |
46 | 46 | $hyphenator = new Hyphenator(); |
47 | 47 | $hyphenator->setOptions($o); |