@@ -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 | } |
@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | 5 | interface IComplexType{ |
6 | - /** |
|
7 | - * Gets as name |
|
8 | - * |
|
9 | - * @return string |
|
10 | - */ |
|
6 | + /** |
|
7 | + * Gets as name |
|
8 | + * |
|
9 | + * @return string |
|
10 | + */ |
|
11 | 11 | public function getName(); |
12 | 12 | } |
13 | 13 | \ No newline at end of file |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | -interface IComplexType{ |
|
5 | +interface IComplexType { |
|
6 | 6 | /** |
7 | 7 | * Gets as name |
8 | 8 | * |
@@ -2,7 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | -interface IComplexType{ |
|
5 | +interface IComplexType |
|
6 | +{ |
|
6 | 7 | /** |
7 | 8 | * Gets as name |
8 | 9 | * |
@@ -3,22 +3,22 @@ |
||
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | 5 | interface IEntityType{ |
6 | - /** |
|
7 | - * Gets as name |
|
8 | - * |
|
9 | - * @return string |
|
10 | - */ |
|
6 | + /** |
|
7 | + * Gets as name |
|
8 | + * |
|
9 | + * @return string |
|
10 | + */ |
|
11 | 11 | public function getName(); |
12 | 12 | /** |
13 | - * Gets as baseType |
|
14 | - * |
|
15 | - * @return string |
|
16 | - */ |
|
13 | + * Gets as baseType |
|
14 | + * |
|
15 | + * @return string |
|
16 | + */ |
|
17 | 17 | public function getBaseType(); |
18 | 18 | /** |
19 | - * Gets as abstract |
|
20 | - * |
|
21 | - * @return boolean |
|
22 | - */ |
|
19 | + * Gets as abstract |
|
20 | + * |
|
21 | + * @return boolean |
|
22 | + */ |
|
23 | 23 | public function getAbstract(); |
24 | 24 | } |
25 | 25 | \ No newline at end of file |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | -interface IEntityType{ |
|
5 | +interface IEntityType { |
|
6 | 6 | /** |
7 | 7 | * Gets as name |
8 | 8 | * |
@@ -2,7 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | -interface IEntityType{ |
|
5 | +interface IEntityType |
|
6 | +{ |
|
6 | 7 | /** |
7 | 8 | * Gets as name |
8 | 9 | * |
@@ -3,5 +3,5 @@ |
||
3 | 3 | |
4 | 4 | namespace AlgoWeb\ODataMetadata\Interfaces; |
5 | 5 | |
6 | -interface IFunctionImportParameterType{ |
|
6 | +interface IFunctionImportParameterType { |
|
7 | 7 | } |
8 | 8 | \ No newline at end of file |
@@ -3,5 +3,6 @@ |
||
3 | 3 | |
4 | 4 | namespace AlgoWeb\ODataMetadata\Interfaces; |
5 | 5 | |
6 | -interface IFunctionImportParameterType{ |
|
6 | +interface IFunctionImportParameterType |
|
7 | +{ |
|
7 | 8 | } |
8 | 9 | \ No newline at end of file |
@@ -11,17 +11,17 @@ |
||
11 | 11 | public function getName(); |
12 | 12 | |
13 | 13 | /** |
14 | - * Gets as returnType |
|
15 | - * |
|
16 | - * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionImportReturnTypeType[] |
|
17 | - */ |
|
14 | + * Gets as returnType |
|
15 | + * |
|
16 | + * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionImportReturnTypeType[] |
|
17 | + */ |
|
18 | 18 | public function getReturnType(); |
19 | 19 | |
20 | 20 | /** |
21 | - * Adds as parameter |
|
22 | - * |
|
23 | - * @return self |
|
24 | - * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionImportParameterType $parameter |
|
25 | - */ |
|
21 | + * Adds as parameter |
|
22 | + * |
|
23 | + * @return self |
|
24 | + * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionImportParameterType $parameter |
|
25 | + */ |
|
26 | 26 | public function addToParameter(TFunctionImportParameterType $parameter); |
27 | 27 | } |
28 | 28 | \ No newline at end of file |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | -interface IFunctionImportType{ |
|
5 | +interface IFunctionImportType { |
|
6 | 6 | /** |
7 | 7 | * Gets as name |
8 | 8 | * |
@@ -2,7 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace AlgoWeb\ODataMetadata\Interfaces; |
4 | 4 | |
5 | -interface IFunctionImportType{ |
|
5 | +interface IFunctionImportType |
|
6 | +{ |
|
6 | 7 | /** |
7 | 8 | * Gets as name |
8 | 9 | * |