@@ -86,8 +86,8 @@ static bool php_phongo_binary_init_from_hash(php_phongo_binary_t *intern, HashTa
8686 return false;
8787}
8888
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 */
9191PHP_METHOD (Binary , __construct )
9292{
9393 php_phongo_binary_t * intern ;
@@ -110,7 +110,7 @@ PHP_METHOD(Binary, __construct)
110110}
111111/* }}} */
112112
113- /* {{{ proto Binary::__set_state(array $properties)
113+ /* {{{ proto void Binary::__set_state(array $properties)
114114*/
115115PHP_METHOD (Binary , __set_state )
116116{
@@ -131,7 +131,7 @@ PHP_METHOD(Binary, __set_state)
131131}
132132/* }}} */
133133
134- /* {{{ proto Binary::__wakeup()
134+ /* {{{ proto void Binary::__wakeup()
135135*/
136136PHP_METHOD (Binary , __wakeup )
137137{
@@ -150,7 +150,7 @@ PHP_METHOD(Binary, __wakeup)
150150/* }}} */
151151
152152/* {{{ proto string Binary::getData()
153- */
153+ */
154154PHP_METHOD (Binary , getData )
155155{
156156 php_phongo_binary_t * intern ;
@@ -165,8 +165,9 @@ PHP_METHOD(Binary, getData)
165165 PHONGO_RETURN_STRINGL (intern -> data , intern -> data_len );
166166}
167167/* }}} */
168+
168169/* {{{ proto integer Binary::getType()
169- */
170+ */
170171PHP_METHOD (Binary , getType )
171172{
172173 php_phongo_binary_t * intern ;
@@ -188,21 +189,21 @@ PHP_METHOD(Binary, getType)
188189ZEND_BEGIN_ARG_INFO_EX (ai_Binary___construct , 0 , 0 , 2 )
189190 ZEND_ARG_INFO (0 , data )
190191 ZEND_ARG_INFO (0 , type )
191- ZEND_END_ARG_INFO ();
192+ ZEND_END_ARG_INFO ()
192193
193194ZEND_BEGIN_ARG_INFO_EX (ai_Binary___set_state , 0 , 0 , 1 )
194195 ZEND_ARG_ARRAY_INFO (0 , properties , 0 )
195- ZEND_END_ARG_INFO ();
196+ ZEND_END_ARG_INFO ()
196197
197198ZEND_BEGIN_ARG_INFO_EX (ai_Binary_void , 0 , 0 , 0 )
198- ZEND_END_ARG_INFO ();
199+ ZEND_END_ARG_INFO ()
199200
200201static zend_function_entry php_phongo_binary_me [] = {
201202 PHP_ME (Binary , __construct , ai_Binary___construct , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
202203 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 )
203205 PHP_ME (Binary , getData , ai_Binary_void , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
204206 PHP_ME (Binary , getType , ai_Binary_void , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
205- PHP_ME (Binary , __wakeup , ai_Binary_void , ZEND_ACC_PUBLIC )
206207 PHP_FE_END
207208};
208209
0 commit comments