+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -395,7 +395,7 @@ PHP_METHOD(FieldDescriptor, getNumber) {
395
395
* Returns the label of this field as an integer.
396
396
*/
397
397
PHP_METHOD(FieldDescriptor, getLabel) {
398
-
zend_error(E_USER_WARNING,
398
+
zend_error(E_USER_DEPRECATED,
399
399
"getLabel is deprecated. Use isRequired or isRepeated instead.\n");
400
400
FieldDescriptor* intern = (FieldDescriptor*)Z_OBJ_P(getThis());
401
401
RETURN_LONG(upb_FieldDef_Label(intern->fielddef));
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4