File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ pub fn php_module(args: TokenStream, input: TokenStream) -> TokenStream {
572
572
///
573
573
/// The rest of the options are passed as separate attributes:
574
574
///
575
- /// - `#[php(defaults(i = 5, b = "hello")]` - Sets the default value for
575
+ /// - `#[php(defaults(i = 5, b = "hello")) ]` - Sets the default value for
576
576
/// parameter(s).
577
577
/// - `#[php(optional = i)]` - Sets the first optional parameter. Note that this
578
578
/// also sets the remaining parameters as optional, so all optional parameters
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ be named `self_`. This can also be used to return a reference to `$this`.
38
38
39
39
The rest of the options are passed as separate attributes:
40
40
41
- - ` #[php(defaults(i = 5, b = "hello")] ` - Sets the default value for parameter(s).
41
+ - ` #[php(defaults(i = 5, b = "hello")) ] ` - Sets the default value for parameter(s).
42
42
- ` #[php(optional = i)] ` - Sets the first optional parameter. Note that this also sets
43
43
the remaining parameters as optional, so all optional parameters must be a
44
44
variant of ` Option<T> ` .
You can’t perform that action at this time.
0 commit comments