@@ -145,7 +145,16 @@ public static function getters()
145
145
*/
146
146
public function listInvalidProperties ()
147
147
{
148
- return [];
148
+ $ invalidProperties = [];
149
+
150
+ if (!isset ($ this ->container ['expectedNbOfEvents ' ]) || null === $ this ->container ['expectedNbOfEvents ' ]) {
151
+ $ invalidProperties [] = "'expectedNbOfEvents' can't be null " ;
152
+ }
153
+ if (!isset ($ this ->container ['receivedNbOfEvents ' ]) || null === $ this ->container ['receivedNbOfEvents ' ]) {
154
+ $ invalidProperties [] = "'receivedNbOfEvents' can't be null " ;
155
+ }
156
+
157
+ return $ invalidProperties ;
149
158
}
150
159
151
160
/**
@@ -162,7 +171,7 @@ public function valid()
162
171
/**
163
172
* Gets expectedNbOfEvents.
164
173
*
165
- * @return null| int
174
+ * @return int
166
175
*/
167
176
public function getExpectedNbOfEvents ()
168
177
{
@@ -172,7 +181,7 @@ public function getExpectedNbOfEvents()
172
181
/**
173
182
* Sets expectedNbOfEvents.
174
183
*
175
- * @param null| int $expectedNbOfEvents expectedNbOfEvents
184
+ * @param int $expectedNbOfEvents expectedNbOfEvents
176
185
*
177
186
* @return self
178
187
*/
@@ -186,7 +195,7 @@ public function setExpectedNbOfEvents($expectedNbOfEvents)
186
195
/**
187
196
* Gets receivedNbOfEvents.
188
197
*
189
- * @return null| int
198
+ * @return int
190
199
*/
191
200
public function getReceivedNbOfEvents ()
192
201
{
@@ -196,7 +205,7 @@ public function getReceivedNbOfEvents()
196
205
/**
197
206
* Sets receivedNbOfEvents.
198
207
*
199
- * @param null| int $receivedNbOfEvents receivedNbOfEvents
208
+ * @param int $receivedNbOfEvents receivedNbOfEvents
200
209
*
201
210
* @return self
202
211
*/
0 commit comments