@@ -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; |
@@ -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( |
@@ -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(); |
@@ -7,8 +7,6 @@ |
||
| 7 | 7 | use AlgoWeb\ODataMetadata\MetadataV3\edm\EntityContainer; |
| 8 | 8 | use AlgoWeb\ODataMetadata\MetadataV3\edm\Schema; |
| 9 | 9 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityTypeType; |
| 10 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReturnTypeType; |
|
| 11 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionType; |
|
| 12 | 10 | use AlgoWeb\ODataMetadata\MetadataV3\edmx\Edmx; |
| 13 | 11 | use Mockery as m; |
| 14 | 12 | |
@@ -308,7 +308,7 @@ |
||
| 308 | 308 | } |
| 309 | 309 | foreach ($this->returnType as $type) { |
| 310 | 310 | if (!is_string($type) || !$this->isTCommandTextValid($type)) { |
| 311 | - $msg = implode($type) . " must be a valid TCommandText"; |
|
| 311 | + $msg = implode($type)." must be a valid TCommandText"; |
|
| 312 | 312 | return false; |
| 313 | 313 | } |
| 314 | 314 | } |