@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | class TTextType extends IsOK |
21 | 21 | { |
22 | - public function IsOK(&$msg = null){ |
|
22 | + public function IsOK(&$msg = null) { |
|
23 | 23 | return true; |
24 | 24 | } |
25 | 25 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | public function isTSimpleIdentifierValid($string) |
15 | 15 | { |
16 | - if(null == $string || empty($string)){ |
|
16 | + if (null == $string || empty($string)) { |
|
17 | 17 | return false; |
18 | 18 | } |
19 | 19 | return true; |
@@ -14,7 +14,7 @@ |
||
14 | 14 | use TQualifiedNameTrait; |
15 | 15 | public function isTUndottedIdentifierValid($string) |
16 | 16 | { |
17 | - if(!$this->isTQualifiedNameValid($string)){ |
|
17 | + if (!$this->isTQualifiedNameValid($string)) { |
|
18 | 18 | return false; |
19 | 19 | } |
20 | 20 | // <!-- The below pattern represents the allowed identifiers in ECMA specification plus the '.' for namespace qualification --> |
@@ -13,13 +13,13 @@ |
||
13 | 13 | { |
14 | 14 | public function isTStoreGeneratedPatternValid($string) |
15 | 15 | { |
16 | - if("None" == $string ){ |
|
16 | + if ("None" == $string) { |
|
17 | 17 | return true; |
18 | 18 | } |
19 | - if("Identity" == $string ){ |
|
19 | + if ("Identity" == $string) { |
|
20 | 20 | return true; |
21 | 21 | } |
22 | - if("Computed" == $string ){ |
|
22 | + if ("Computed" == $string) { |
|
23 | 23 | return true; |
24 | 24 | } |
25 | 25 | return false; |
@@ -13,13 +13,13 @@ |
||
13 | 13 | { |
14 | 14 | public function isTMultiplicityValid($string) |
15 | 15 | { |
16 | - if("0..1" == $string ){ |
|
16 | + if ("0..1" == $string) { |
|
17 | 17 | return true; |
18 | 18 | } |
19 | - if("1" == $string ){ |
|
19 | + if ("1" == $string) { |
|
20 | 20 | return true; |
21 | 21 | } |
22 | - if("*" == $string ){ |
|
22 | + if ("*" == $string) { |
|
23 | 23 | return true; |
24 | 24 | } |
25 | 25 | return false; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | public function isTCommandTextValid($string) |
15 | 15 | { |
16 | - if(null == $string || empty($string)){ |
|
16 | + if (null == $string || empty($string)) { |
|
17 | 17 | return false; |
18 | 18 | } |
19 | 19 | return true; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function isTQualifiedNameValid($string) |
10 | 10 | { |
11 | - if(null == $string || empty($string)){ |
|
11 | + if (null == $string || empty($string)) { |
|
12 | 12 | return false; |
13 | 13 | } |
14 | 14 | return true; |