@@ -15,8 +15,6 @@ |
||
15 | 15 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityPropertyType; |
16 | 16 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityTypeType; |
17 | 17 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionImportReturnTypeType; |
18 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType; |
|
19 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionType; |
|
20 | 18 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TNavigationPropertyType; |
21 | 19 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TPropertyRefType; |
22 | 20 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType; |
@@ -5,10 +5,7 @@ |
||
5 | 5 | use AlgoWeb\ODataMetadata\IsOK; |
6 | 6 | use AlgoWeb\ODataMetadata\MetadataManager; |
7 | 7 | use AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer; |
8 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\Schema; |
|
9 | 8 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityTypeType; |
10 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType; |
|
11 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionType; |
|
12 | 9 | use AlgoWeb\ODataMetadata\MetadataV3\edmx\Edmx; |
13 | 10 | use Mockery as m; |
14 | 11 |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | public function isTFunctionImportAttributesValid(&$msg) |
266 | 266 | { |
267 | 267 | if (!$this->isTSimpleIdentifierValid($this->name)) { |
268 | - $msg = "Name must be a valid TSimpleIdentifier: " . get_class($this); |
|
268 | + $msg = "Name must be a valid TSimpleIdentifier: ".get_class($this); |
|
269 | 269 | return false; |
270 | 270 | } |
271 | 271 | if ($this->isComposable && $this->isSideEffecting) { |
@@ -278,11 +278,11 @@ discard block |
||
278 | 278 | return false; |
279 | 279 | }*/ |
280 | 280 | if (!$this->isObjectNullOrType('\AlgoWeb\ODataMetadata\MetadataV3\edm\TOperandType', $this->entitySet)) { |
281 | - $msg = "Entity set must be either null or an instance of TOperandType: " . get_class($this); |
|
281 | + $msg = "Entity set must be either null or an instance of TOperandType: ".get_class($this); |
|
282 | 282 | return false; |
283 | 283 | } |
284 | 284 | if (null != $this->methodAccess && $this->isTAccessOk($this->methodAccess)) { |
285 | - $msg = "Method access must be a valid TAccess: " . get_class($this); |
|
285 | + $msg = "Method access must be a valid TAccess: ".get_class($this); |
|
286 | 286 | return false; |
287 | 287 | } |
288 | 288 | if (!$this->isValidArrayOK( |
@@ -308,7 +308,7 @@ |
||
308 | 308 | } |
309 | 309 | foreach ($this->returnType as $type) { |
310 | 310 | if (!is_string($type) || !$this->isTCommandTextValid($type)) { |
311 | - $msg = var_dump($type) . " must be a valid TCommandText"; |
|
311 | + $msg = var_dump($type)." must be a valid TCommandText"; |
|
312 | 312 | return false; |
313 | 313 | } |
314 | 314 | } |
@@ -138,7 +138,7 @@ |
||
138 | 138 | } |
139 | 139 | |
140 | 140 | $numParms = count($this->parameter); |
141 | - for ($i = 0; $i < $numParms -2; $i++) { |
|
141 | + for ($i = 0; $i < $numParms - 2; $i++) { |
|
142 | 142 | $outName = $this->parameter[$i]->getName(); |
143 | 143 | for ($j = $i + 1; $j < $numParms - 1; $j++) { |
144 | 144 | $inName = $this->parameter[$j]->getName(); |