@@ -184,78 +184,66 @@ function snmp_read_mib(string $filename): bool {}
184
184
class SNMP
185
185
{
186
186
/**
187
- * @var int
188
187
* @cvalue SNMP_VERSION_1
189
188
* @link snmp.class.constants.version-1
190
189
*/
191
- public const VERSION_1 = UNKNOWN ;
190
+ public const int VERSION_1 = UNKNOWN ;
192
191
/**
193
- * @var int
194
192
* @cvalue SNMP_VERSION_2c
195
193
* @link snmp.class.constants.version-2c
196
194
*/
197
- public const VERSION_2c = UNKNOWN ;
195
+ public const int VERSION_2c = UNKNOWN ;
198
196
/**
199
- * @var int
200
197
* @cvalue SNMP_VERSION_2c
201
198
* @link snmp.class.constants.version-2c
202
199
*/
203
- public const VERSION_2C = UNKNOWN ;
200
+ public const int VERSION_2C = UNKNOWN ;
204
201
/**
205
- * @var int
206
202
* @cvalue SNMP_VERSION_3
207
203
* @link snmp.class.constants.version-3
208
204
*/
209
- public const VERSION_3 = UNKNOWN ;
205
+ public const int VERSION_3 = UNKNOWN ;
210
206
211
207
/**
212
- * @var int
213
208
* @cvalue PHP_SNMP_ERRNO_NOERROR
214
209
* @link snmp.class.constants.errno-noerror
215
210
*/
216
- public const ERRNO_NOERROR = UNKNOWN ;
211
+ public const int ERRNO_NOERROR = UNKNOWN ;
217
212
/**
218
- * @var int
219
213
* @cvalue PHP_SNMP_ERRNO_ANY
220
214
* @link snmp.class.constants.errno-any
221
215
*/
222
- public const ERRNO_ANY = UNKNOWN ;
216
+ public const int ERRNO_ANY = UNKNOWN ;
223
217
/**
224
- * @var int
225
218
* @cvalue PHP_SNMP_ERRNO_GENERIC
226
219
* @link snmp.class.constants.errno-generic
227
220
*/
228
- public const ERRNO_GENERIC = UNKNOWN ;
221
+ public const int ERRNO_GENERIC = UNKNOWN ;
229
222
/**
230
- * @var int
231
223
* @cvalue PHP_SNMP_ERRNO_TIMEOUT
232
224
* @link snmp.class.constants.errno-timeout
233
225
*/
234
- public const ERRNO_TIMEOUT = UNKNOWN ;
226
+ public const int ERRNO_TIMEOUT = UNKNOWN ;
235
227
/**
236
- * @var int
237
228
* @cvalue PHP_SNMP_ERRNO_ERROR_IN_REPLY
238
229
* @link snmp.class.constants.errno-error-in-reply
239
230
*/
240
- public const ERRNO_ERROR_IN_REPLY = UNKNOWN ;
231
+ public const int ERRNO_ERROR_IN_REPLY = UNKNOWN ;
241
232
/**
242
- * @var int
243
233
* @cvalue PHP_SNMP_ERRNO_OID_NOT_INCREASING
244
234
* @link snmp.class.constants.errno-oid-not-increasing
245
235
*/
246
- public const ERRNO_OID_NOT_INCREASING = UNKNOWN ;
236
+ public const int ERRNO_OID_NOT_INCREASING = UNKNOWN ;
247
237
/**
248
- * @var int
249
238
* @cvalue PHP_SNMP_ERRNO_OID_PARSING_ERROR
250
239
* @link snmp.class.constants.errno-oid-parsing-error
251
240
*/
252
- public const ERRNO_OID_PARSING_ERROR = UNKNOWN ;
241
+ public const int ERRNO_OID_PARSING_ERROR = UNKNOWN ;
253
242
/**
254
- * @var int
255
243
* @cvalue PHP_SNMP_ERRNO_MULTIPLE_SET_QUERIES
256
244
* @link snmp.class.constants.errno-multiple-set-queries
257
245
*/
258
- public const ERRNO_MULTIPLE_SET_QUERIES = UNKNOWN ;
246
+ public const int ERRNO_MULTIPLE_SET_QUERIES = UNKNOWN ;
259
247
260
248
/** @readonly */
261
249
public array $ info ;
0 commit comments