@@ -345,19 +345,21 @@ fn php_enum_internal(_args: TokenStream2, input: TokenStream2) -> TokenStream2 {
345345// BEGIN DOCS FROM interface.md
346346/// # `#[php_interface]` Attribute
347347///
348- /// Traits can be exported to PHP as interface with the `#[php_interface]` attribute
349- /// macro. This attribute generate empty struct and derives the `RegisteredClass`.
350- /// To register the interface use the `interface::<PhpInterface{TraitName}>()` method
351- /// on the `ModuleBuilder` in the `#[php_module]` macro.
348+ /// Traits can be exported to PHP as interface with the `#[php_interface]`
349+ /// attribute macro. This attribute generate empty struct and derives the
350+ /// `RegisteredClass`. To register the interface use the
351+ /// `interface::<PhpInterface{TraitName}>()` method on the `ModuleBuilder` in
352+ /// the `#[php_module]` macro.
352353///
353354/// ## Options
354355///
355- /// The `#[php_interface]` attribute can be configured with the following options:
356- /// - `#[php(name = "InterfaceName")]` or `#[php(change_case = snake_case)]`: Sets
357- /// the name of the interface in PHP. The default is the `PascalCase` name of the
358- /// interface.
359- /// - `#[php(extends(ce = ce::throwable, stub = "\\Throwable"))]`
360- /// to extends interface from other interface
356+ /// The `#[php_interface]` attribute can be configured with the following
357+ /// options:
358+ /// - `#[php(name = "InterfaceName")]` or `#[php(change_case = snake_case)]`:
359+ /// Sets the name of the interface in PHP. The default is the `PascalCase`
360+ /// name of the interface.
361+ /// - `#[php(extends(ce = ce::throwable, stub = "\\Throwable"))]` to extends
362+ /// interface from other interface
361363///
362364/// ### Example
363365///
0 commit comments