File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
tests/src/integration/class Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,7 @@ impl<'a> Function<'a> {
337
337
. variadic( )
338
338
}
339
339
} ) ;
340
+ let docs = & self . docs ;
340
341
341
342
quote ! {
342
343
:: ext_php_rs:: class:: ConstructorMeta {
@@ -359,6 +360,7 @@ impl<'a> Function<'a> {
359
360
build_fn: {
360
361
fn inner( func: :: ext_php_rs:: builders:: FunctionBuilder ) -> :: ext_php_rs:: builders:: FunctionBuilder {
361
362
func
363
+ . docs( & [ #( #docs) , * ] )
362
364
#( . arg( #required_args) ) *
363
365
. not_required( )
364
366
#( . arg( #not_required_args) ) *
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ pub struct TestClassArrayAccess {}
53
53
54
54
#[ php_impl]
55
55
impl TestClassArrayAccess {
56
+ /// Constructor
57
+ /// doc
58
+ /// comment
56
59
pub fn __construct ( ) -> Self {
57
60
Self { }
58
61
}
You can’t perform that action at this time.
0 commit comments