@@ -332,19 +332,21 @@ fn php_enum_internal(_args: TokenStream2, input: TokenStream2) -> TokenStream2 {
332332// BEGIN DOCS FROM interface.md
333333/// # `#[php_interface]` Attribute
334334///
335- /// Traits can be exported to PHP as interface with the `#[php_interface]` attribute
336- /// macro. This attribute generate empty struct and derives the `RegisteredClass`.
337- /// To register the interface use the `interface::<PhpInterface{TraitName}>()` method
338- /// on the `ModuleBuilder` in the `#[php_module]` macro.
335+ /// Traits can be exported to PHP as interface with the `#[php_interface]`
336+ /// attribute macro. This attribute generate empty struct and derives the
337+ /// `RegisteredClass`. To register the interface use the
338+ /// `interface::<PhpInterface{TraitName}>()` method on the `ModuleBuilder` in
339+ /// the `#[php_module]` macro.
339340///
340341/// ## Options
341342///
342- /// The `#[php_interface]` attribute can be configured with the following options:
343- /// - `#[php(name = "InterfaceName")]` or `#[php(change_case = snake_case)]`: Sets
344- /// the name of the interface in PHP. The default is the `PascalCase` name of the
345- /// interface.
346- /// - `#[php(extends(ce = ce::throwable, stub = "\\Throwable"))]`
347- /// to extends interface from other interface
343+ /// The `#[php_interface]` attribute can be configured with the following
344+ /// options:
345+ /// - `#[php(name = "InterfaceName")]` or `#[php(change_case = snake_case)]`:
346+ /// Sets the name of the interface in PHP. The default is the `PascalCase`
347+ /// name of the interface.
348+ /// - `#[php(extends(ce = ce::throwable, stub = "\\Throwable"))]` to extends
349+ /// interface from other interface
348350///
349351/// ### Example
350352///
0 commit comments