@@ -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 | } |
@@ -53,11 +53,11 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | public function addEntityType($name, |
| 56 | - TEntityTypeType $baseType = null, |
|
| 57 | - $isAbstract = false, |
|
| 58 | - $accessType = 'Public', |
|
| 59 | - $summary = null, |
|
| 60 | - $longDescription = null) |
|
| 56 | + TEntityTypeType $baseType = null, |
|
| 57 | + $isAbstract = false, |
|
| 58 | + $accessType = 'Public', |
|
| 59 | + $summary = null, |
|
| 60 | + $longDescription = null) |
|
| 61 | 61 | { |
| 62 | 62 | $NewEntity = new TEntityTypeType(); |
| 63 | 63 | $NewEntity->setName($name); |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | $NewEntity->setName($name); |
| 64 | 64 | $this->addDocumentation($summary, $longDescription, $NewEntity); |
| 65 | 65 | $NewEntity->setAbstract($isAbstract); |
| 66 | - $NewEntity->setBaseType(null === $baseType ? null:$baseType->getName()); |
|
| 66 | + $NewEntity->setBaseType(null === $baseType ? null : $baseType->getName()); |
|
| 67 | 67 | if ($isAbstract) { |
| 68 | 68 | return [$NewEntity, null]; |
| 69 | 69 | } |