@@ -86,8 +86,8 @@ static bool php_phongo_binary_init_from_hash(php_phongo_binary_t *intern, HashTa
86
86
return false;
87
87
}
88
88
89
- /* {{{ proto BSON\Binary Binary::__construct(string $data, int $type)
90
- Construct a new BSON Binary type */
89
+ /* {{{ proto void Binary::__construct(string $data, int $type)
90
+ Construct a new BSON binary type */
91
91
PHP_METHOD (Binary , __construct )
92
92
{
93
93
php_phongo_binary_t * intern ;
@@ -110,7 +110,7 @@ PHP_METHOD(Binary, __construct)
110
110
}
111
111
/* }}} */
112
112
113
- /* {{{ proto Binary::__set_state(array $properties)
113
+ /* {{{ proto void Binary::__set_state(array $properties)
114
114
*/
115
115
PHP_METHOD (Binary , __set_state )
116
116
{
@@ -131,7 +131,7 @@ PHP_METHOD(Binary, __set_state)
131
131
}
132
132
/* }}} */
133
133
134
- /* {{{ proto Binary::__wakeup()
134
+ /* {{{ proto void Binary::__wakeup()
135
135
*/
136
136
PHP_METHOD (Binary , __wakeup )
137
137
{
@@ -150,7 +150,7 @@ PHP_METHOD(Binary, __wakeup)
150
150
/* }}} */
151
151
152
152
/* {{{ proto string Binary::getData()
153
- */
153
+ */
154
154
PHP_METHOD (Binary , getData )
155
155
{
156
156
php_phongo_binary_t * intern ;
@@ -165,8 +165,9 @@ PHP_METHOD(Binary, getData)
165
165
PHONGO_RETURN_STRINGL (intern -> data , intern -> data_len );
166
166
}
167
167
/* }}} */
168
+
168
169
/* {{{ proto integer Binary::getType()
169
- */
170
+ */
170
171
PHP_METHOD (Binary , getType )
171
172
{
172
173
php_phongo_binary_t * intern ;
@@ -188,21 +189,21 @@ PHP_METHOD(Binary, getType)
188
189
ZEND_BEGIN_ARG_INFO_EX (ai_Binary___construct , 0 , 0 , 2 )
189
190
ZEND_ARG_INFO (0 , data )
190
191
ZEND_ARG_INFO (0 , type )
191
- ZEND_END_ARG_INFO ();
192
+ ZEND_END_ARG_INFO ()
192
193
193
194
ZEND_BEGIN_ARG_INFO_EX (ai_Binary___set_state , 0 , 0 , 1 )
194
195
ZEND_ARG_ARRAY_INFO (0 , properties , 0 )
195
- ZEND_END_ARG_INFO ();
196
+ ZEND_END_ARG_INFO ()
196
197
197
198
ZEND_BEGIN_ARG_INFO_EX (ai_Binary_void , 0 , 0 , 0 )
198
- ZEND_END_ARG_INFO ();
199
+ ZEND_END_ARG_INFO ()
199
200
200
201
static zend_function_entry php_phongo_binary_me [] = {
201
202
PHP_ME (Binary , __construct , ai_Binary___construct , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
202
203
PHP_ME (Binary , __set_state , ai_Binary___set_state , ZEND_ACC_PUBLIC |ZEND_ACC_STATIC )
204
+ PHP_ME (Binary , __wakeup , ai_Binary_void , ZEND_ACC_PUBLIC )
203
205
PHP_ME (Binary , getData , ai_Binary_void , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
204
206
PHP_ME (Binary , getType , ai_Binary_void , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
205
- PHP_ME (Binary , __wakeup , ai_Binary_void , ZEND_ACC_PUBLIC )
206
207
PHP_FE_END
207
208
};
208
209
0 commit comments