@@ -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 | } |
@@ -309,7 +309,7 @@ |
||
| 309 | 309 | if (null != $dependentNavigationProperty) { |
| 310 | 310 | if ($dependentNavigationProperty->getRelationship() != $principalNavigationProperty->getRelationship()) { |
| 311 | 311 | $msg = 'If you have both a dependent property and a principal property,' |
| 312 | - .' relationship should match'; |
|
| 312 | + .' relationship should match'; |
|
| 313 | 313 | throw new \InvalidArgumentException($msg); |
| 314 | 314 | } |
| 315 | 315 | if ($dependentNavigationProperty->getFromRole() != $principalNavigationProperty->getToRole() |
@@ -442,7 +442,7 @@ |
||
| 442 | 442 | |
| 443 | 443 | $namespace = $this->getNamespace(); |
| 444 | 444 | $typeName = $expectedReturnType->getName(); |
| 445 | - $fqTypeName = $namespace.$typeName; |
|
| 445 | + $fqTypeName = $namespace . $typeName; |
|
| 446 | 446 | $fqSetName = ($entitySet == null) ? $typeName : $entitySet->getName(); |
| 447 | 447 | |
| 448 | 448 | $returnType = new TFunctionImportReturnTypeType(); |
@@ -472,7 +472,7 @@ discard block |
||
| 472 | 472 | $propName = $prop->getName(); |
| 473 | 473 | if (in_array($propName, $pArray)) { |
| 474 | 474 | $msg = 'Prop: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on ' |
| 475 | - . $this->getName() . ' '. __CLASS__; |
|
| 475 | + . $this->getName() . ' '. __CLASS__; |
|
| 476 | 476 | return false; |
| 477 | 477 | } |
| 478 | 478 | $pArray[] = $propName; |
@@ -481,7 +481,7 @@ discard block |
||
| 481 | 481 | $propName = $prop->getName(); |
| 482 | 482 | if (in_array($propName, $pArray)) { |
| 483 | 483 | $msg = 'Nav: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on ' |
| 484 | - . $this->getName() . ' '. __CLASS__; |
|
| 484 | + . $this->getName() . ' '. __CLASS__; |
|
| 485 | 485 | return false; |
| 486 | 486 | } |
| 487 | 487 | $pArray[] = $prop->getName(); |
@@ -471,8 +471,8 @@ discard block |
||
| 471 | 471 | foreach ($this->getProperty() as $prop) { |
| 472 | 472 | $propName = $prop->getName(); |
| 473 | 473 | if (in_array($propName, $pArray)) { |
| 474 | - $msg = 'Prop: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on ' |
|
| 475 | - . $this->getName() . ' '. __CLASS__; |
|
| 474 | + $msg = 'Prop: Property Names, and Navigation Property Must Be Unique for ' . $propName . ' on ' |
|
| 475 | + . $this->getName() . ' ' . __CLASS__; |
|
| 476 | 476 | return false; |
| 477 | 477 | } |
| 478 | 478 | $pArray[] = $propName; |
@@ -480,8 +480,8 @@ discard block |
||
| 480 | 480 | foreach ($this->getNavigationProperty() as $prop) { |
| 481 | 481 | $propName = $prop->getName(); |
| 482 | 482 | if (in_array($propName, $pArray)) { |
| 483 | - $msg = 'Nav: Property Names, and Navigation Property Must Be Unique for '. $propName . ' on ' |
|
| 484 | - . $this->getName() . ' '. __CLASS__; |
|
| 483 | + $msg = 'Nav: Property Names, and Navigation Property Must Be Unique for ' . $propName . ' on ' |
|
| 484 | + . $this->getName() . ' ' . __CLASS__; |
|
| 485 | 485 | return false; |
| 486 | 486 | } |
| 487 | 487 | $pArray[] = $prop->getName(); |