@@ -145,7 +145,16 @@ public static function getters()
145145 */
146146 public function listInvalidProperties ()
147147 {
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 ;
149158 }
150159
151160 /**
@@ -162,7 +171,7 @@ public function valid()
162171 /**
163172 * Gets expectedNbOfEvents.
164173 *
165- * @return null| int
174+ * @return int
166175 */
167176 public function getExpectedNbOfEvents ()
168177 {
@@ -172,7 +181,7 @@ public function getExpectedNbOfEvents()
172181 /**
173182 * Sets expectedNbOfEvents.
174183 *
175- * @param null| int $expectedNbOfEvents expectedNbOfEvents
184+ * @param int $expectedNbOfEvents expectedNbOfEvents
176185 *
177186 * @return self
178187 */
@@ -186,7 +195,7 @@ public function setExpectedNbOfEvents($expectedNbOfEvents)
186195 /**
187196 * Gets receivedNbOfEvents.
188197 *
189- * @return null| int
198+ * @return int
190199 */
191200 public function getReceivedNbOfEvents ()
192201 {
@@ -196,7 +205,7 @@ public function getReceivedNbOfEvents()
196205 /**
197206 * Sets receivedNbOfEvents.
198207 *
199- * @param null| int $receivedNbOfEvents receivedNbOfEvents
208+ * @param int $receivedNbOfEvents receivedNbOfEvents
200209 *
201210 * @return self
202211 */
0 commit comments