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 {
572572///
573573/// The rest of the options are passed as separate attributes:
574574///
575- /// - `#[php(defaults(i = 5, b = "hello")]` - Sets the default value for
575+ /// - `#[php(defaults(i = 5, b = "hello")) ]` - Sets the default value for
576576/// parameter(s).
577577/// - `#[php(optional = i)]` - Sets the first optional parameter. Note that this
578578/// 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`.
3838
3939The rest of the options are passed as separate attributes:
4040
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).
4242- ` #[php(optional = i)] ` - Sets the first optional parameter. Note that this also sets
4343 the remaining parameters as optional, so all optional parameters must be a
4444 variant of ` Option<T> ` .
You can’t perform that action at this time.
0 commit comments