@@ -14,7 +14,7 @@ |
||
14 | 14 | public function isEDMSimpleTypeValid($string) |
15 | 15 | { |
16 | 16 | if (!is_string($string)) { |
17 | - $msg = "Input must be a string: " . get_class($this); |
|
17 | + $msg = "Input must be a string: ".get_class($this); |
|
18 | 18 | throw new \InvalidArgumentException($msg); |
19 | 19 | } |
20 | 20 | if (!in_array($string, static::$v3EDMSimpleType)) { |
@@ -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) { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | //$regex = "/[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}/"; |
18 | 18 | |
19 | 19 | if (!is_string($string)) { |
20 | - $msg = "Input must be a string: " . get_class($this); |
|
20 | + $msg = "Input must be a string: ".get_class($this); |
|
21 | 21 | throw new \InvalidArgumentException($msg); |
22 | 22 | } |
23 | 23 | if (isset(static::$v3PropertyTypeCache[$string])) { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | $result = null; |
28 | 28 | |
29 | 29 | list($CategoryType, $result) = $metadataManager->addEntityType("Category"); |
30 | - $this->assertNotFalse($CategoryType, "Etype is false not type " . $metadataManager->getLastError()); |
|
30 | + $this->assertNotFalse($CategoryType, "Etype is false not type ".$metadataManager->getLastError()); |
|
31 | 31 | $metadataManager->addPropertyToEntityType($CategoryType, "CategoryID", "Int32", null, false, true, "Identity"); |
32 | 32 | $metadataManager->addPropertyToEntityType($CategoryType, "CategoryName", "String"); |
33 | 33 | $metadataManager->addPropertyToEntityType($CategoryType, "Description", "String"); |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | $this->assertTrue($metadataManager->getEdmx()->isOK($msg), $msg); |
114 | 114 | |
115 | 115 | $expectedRelation = "Data.Category_Products_Product_Category"; |
116 | - list($principalNav, ) = $metadataManager->addNavigationPropertyToEntityType( |
|
116 | + list($principalNav,) = $metadataManager->addNavigationPropertyToEntityType( |
|
117 | 117 | $CategoryType, "*", "Products", $ProductType, "1", "Category", ["CategoryID"], ["CategoryID"] |
118 | 118 | ); |
119 | 119 | $this->assertEquals($expectedRelation, $principalNav->getRelationship()); |