@@ -146,7 +146,7 @@ |
||
| 146 | 146 | for ($j = $i + 1; $j < $numParms; $j++) { |
| 147 | 147 | assert( |
| 148 | 148 | $this->parameter[$j] instanceof TFunctionImportParameterType, |
| 149 | - get_class($this->parameter[$j]). ' ' . $j |
|
| 149 | + get_class($this->parameter[$j]) . ' ' . $j |
|
| 150 | 150 | ); |
| 151 | 151 | $inName = $this->parameter[$j]->getName(); |
| 152 | 152 | if ($outName == $inName) { |
@@ -203,7 +203,7 @@ |
||
| 203 | 203 | return false; |
| 204 | 204 | } |
| 205 | 205 | if (!in_array($navProp->getFromRole(), $roles)) { |
| 206 | - $msg = 'Navigation Property Role ' .$navProp->getToRole() |
|
| 206 | + $msg = 'Navigation Property Role ' . $navProp->getToRole() |
|
| 207 | 207 | . ' lacks a matching Property in the assocation'; |
| 208 | 208 | return false; |
| 209 | 209 | } |
@@ -687,12 +687,12 @@ |
||
| 687 | 687 | $counter += isset($this->$name) ? 1 : 0; |
| 688 | 688 | } |
| 689 | 689 | if (-1 < $this->gExpressionMinimum && $counter < $this->gExpressionMinimum) { |
| 690 | - $msg = $counter . ' fields not null. Need minimum of '.$this->gExpressionMinimum. ': ' |
|
| 690 | + $msg = $counter . ' fields not null. Need minimum of ' . $this->gExpressionMinimum . ': ' |
|
| 691 | 691 | . get_class($this); |
| 692 | 692 | return false; |
| 693 | 693 | } |
| 694 | 694 | if (-1 < $this->gExpressionMaximum && $counter > $this->gExpressionMaximum) { |
| 695 | - $msg = $counter . ' fields not null. Need maximum of '.$this->gExpressionMaximum. ': ' |
|
| 695 | + $msg = $counter . ' fields not null. Need maximum of ' . $this->gExpressionMaximum . ': ' |
|
| 696 | 696 | . get_class($this); |
| 697 | 697 | return false; |
| 698 | 698 | } |
@@ -3,12 +3,12 @@ |
||
| 3 | 3 | |
| 4 | 4 | use AlgoWeb\xsdTypes\xsString; |
| 5 | 5 | |
| 6 | -abstract class EDMSimpleTypeBase extends xsString{ |
|
| 6 | +abstract class EDMSimpleTypeBase extends xsString { |
|
| 7 | 7 | public function __construct($value) |
| 8 | 8 | { |
| 9 | 9 | parent::__construct($value); |
| 10 | - $this->setEnumeration(['Binary','Boolean','Byte','DateTime','DateTimeOffset','Time','Decimal','Double', |
|
| 11 | - 'Single','Guid','Int16','Int32','Int64','String','SByte']); |
|
| 10 | + $this->setEnumeration(['Binary', 'Boolean', 'Byte', 'DateTime', 'DateTimeOffset', 'Time', 'Decimal', 'Double', |
|
| 11 | + 'Single', 'Guid', 'Int16', 'Int32', 'Int64', 'String', 'SByte']); |
|
| 12 | 12 | |
| 13 | 13 | } |
| 14 | 14 | } |
| 15 | 15 | \ No newline at end of file |
@@ -3,7 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | use AlgoWeb\xsdTypes\xsString; |
| 5 | 5 | |
| 6 | -abstract class EDMSimpleTypeBase extends xsString{ |
|
| 6 | +abstract class EDMSimpleTypeBase extends xsString |
|
| 7 | +{ |
|
| 7 | 8 | public function __construct($value) |
| 8 | 9 | { |
| 9 | 10 | parent::__construct($value); |