1 | <?php |
||
14 | class TAssociationType extends IsOK |
||
15 | { |
||
16 | use TUndottedIdentifierTrait; |
||
17 | /** |
||
18 | * @property string $name |
||
19 | */ |
||
20 | private $name = null; |
||
21 | |||
22 | /** |
||
23 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TDocumentationType $documentation |
||
24 | */ |
||
25 | private $documentation = null; |
||
26 | |||
27 | /** |
||
28 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TAssociationEndType[] $end |
||
29 | */ |
||
30 | private $end = []; |
||
31 | |||
32 | /** |
||
33 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TConstraintType $referentialConstraint |
||
34 | */ |
||
35 | private $referentialConstraint = null; |
||
36 | |||
37 | /** |
||
38 | * Gets as name |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getName() |
||
46 | |||
47 | /** |
||
48 | * Sets a new name |
||
49 | * |
||
50 | * @param string $name |
||
51 | * @return self |
||
52 | */ |
||
53 | public function setName($name) |
||
58 | |||
59 | /** |
||
60 | * Gets as documentation |
||
61 | * |
||
62 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TDocumentationType |
||
63 | */ |
||
64 | public function getDocumentation() |
||
68 | |||
69 | /** |
||
70 | * Sets a new documentation |
||
71 | * |
||
72 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TDocumentationType $documentation |
||
73 | * @return self |
||
74 | */ |
||
75 | public function setDocumentation(TDocumentationType $documentation) |
||
80 | |||
81 | /** |
||
82 | * Adds as end |
||
83 | * |
||
84 | * @return self |
||
85 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TAssociationEndType $end |
||
86 | */ |
||
87 | public function addToEnd(TAssociationEndType $end) |
||
92 | |||
93 | /** |
||
94 | * isset end |
||
95 | * |
||
96 | * @param scalar $index |
||
97 | * @return boolean |
||
98 | */ |
||
99 | public function issetEnd($index) |
||
103 | |||
104 | /** |
||
105 | * unset end |
||
106 | * |
||
107 | * @param scalar $index |
||
108 | * @return void |
||
109 | */ |
||
110 | public function unsetEnd($index) |
||
114 | |||
115 | /** |
||
116 | * Gets as end |
||
117 | * |
||
118 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TAssociationEndType[] |
||
119 | */ |
||
120 | public function getEnd() |
||
124 | |||
125 | /** |
||
126 | * Sets a new end |
||
127 | * |
||
128 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TAssociationEndType[] $end |
||
129 | * @return self |
||
130 | */ |
||
131 | public function setEnd(array $end) |
||
136 | |||
137 | /** |
||
138 | * Gets as referentialConstraint |
||
139 | * |
||
140 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TConstraintType |
||
141 | */ |
||
142 | public function getReferentialConstraint() |
||
146 | |||
147 | /** |
||
148 | * Sets a new referentialConstraint |
||
149 | * |
||
150 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\TConstraintType $referentialConstraint |
||
151 | * @return self |
||
152 | */ |
||
153 | public function setReferentialConstraint(TConstraintType $referentialConstraint) |
||
158 | |||
159 | public function isOK(&$msg = null) |
||
191 | } |
||
192 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: