@@ -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 | } |
@@ -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) { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Gets or sets the inner value |
37 | 37 | * |
38 | - * @param string[] $value |
|
38 | + * @param string $value |
|
39 | 39 | * @return string |
40 | 40 | */ |
41 | 41 | public function value(...$value) |
@@ -75,9 +75,4 @@ |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -75,9 +75,4 @@ |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -75,9 +75,4 @@ |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -75,9 +75,4 @@ |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | private $type = null; |
34 | 34 | |
35 | -<<<<<<< HEAD |
|
35 | +<< << <<< HEAD |
|
36 | 36 | /** |
37 | 37 | * Gets as type |
38 | 38 | * |
@@ -75,9 +75,4 @@ discard block |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -75,9 +75,4 @@ |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -75,9 +75,4 @@ |
||
75 | 75 | if (!$this->isExtensibilityElementOK($msg)) { |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (!$this->isTFacetAttributesTraitValid($msg)) { |
|
79 | - return false; |
|
80 | - } |
|
81 | - return true; |
|
82 | - } |
|
83 | -} |
|
78 | + if (!$this->isTFacetAttributesTraitValid($msg |
|
84 | 79 | \ No newline at end of file |
@@ -176,10 +176,4 @@ |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -176,10 +176,4 @@ |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -176,10 +176,4 @@ |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -176,10 +176,4 @@ |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | { |
154 | 154 | if (!$this->isValidArrayOK( |
155 | 155 | $dataServices, |
156 | -<<<<<<< HEAD |
|
156 | +<< << <<< HEAD |
|
157 | 157 | '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', |
158 | 158 | $msg, |
159 | 159 | 1 |
@@ -176,10 +176,4 @@ discard block |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -176,10 +176,4 @@ |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -176,10 +176,4 @@ |
||
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | |
179 | - if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg, 1)) { |
|
180 | - return false; |
|
181 | - } |
|
182 | - |
|
183 | - return true; |
|
184 | - } |
|
185 | -} |
|
179 | + if (!$this->isValidArrayOK($this->schema, '\AlgoWeb\ODataMetadata\MetadataV3\edm\Schema', $msg |
|
186 | 180 | \ No newline at end of file |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace AlgoWeb\ODataMetadata\MetadataV3\edmx; |
4 | 4 | |
5 | 5 | use AlgoWeb\ODataMetadata\IsOK; |
6 | -use AlgoWeb\ODataMetadata\MetadataV3\edm\Schema; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Class representing TEdmxType |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Gets or sets the inner value |
32 | 32 | * |
33 | - * @param string[] $value |
|
33 | + * @param string $value |
|
34 | 34 | * @return string |
35 | 35 | */ |
36 | 36 | public function value(...$value) |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Gets or sets the inner value |
32 | 32 | * |
33 | - * @param boolean[] $value |
|
33 | + * @param boolean $value |
|
34 | 34 | * @return boolean |
35 | 35 | */ |
36 | 36 | public function value(...$value) |