@@ -153,7 +153,7 @@ pub use ext_php_rs_derive::php_extern;
153153///
154154/// - Most primitive integers ([`i8`], [`i16`], [`i32`], [`i64`], [`u8`],
155155/// [`u16`], [`u32`], [`u64`],
156- /// [`usize`], [`isize`])
156+ /// [`usize`], [`isize`])
157157/// - Double-precision floating point numbers ([`f64`])
158158/// - [`bool`]
159159/// - [`String`]
@@ -164,9 +164,9 @@ pub use ext_php_rs_derive::php_extern;
164164/// values.
165165/// - [`Option<T>`] where `T: FromZval`. When used as a parameter, the parameter
166166/// will be
167- /// deemed nullable, and will contain [`None`] when `null` is passed. When used
168- /// as a return type, if [`None`] is returned the [`Zval`] will be set to null.
169- /// Optional parameters *must* be of the type [`Option<T>`].
167+ /// deemed nullable, and will contain [`None`] when `null` is passed. When used
168+ /// as a return type, if [`None`] is returned the [`Zval`] will be set to null.
169+ /// Optional parameters *must* be of the type [`Option<T>`].
170170///
171171/// Additionally, you are able to return a variant of [`Result<T, E>`]. `T` must
172172/// implement [`IntoZval`] and `E` must implement `Into<PhpException>`. If an
@@ -324,14 +324,14 @@ pub use ext_php_rs_derive::php_function;
324324///
325325/// - `#[defaults(key = value, ...)]` for setting defaults of method variables,
326326/// similar to the
327- /// function macro. Arguments with defaults need to be optional.
327+ /// function macro. Arguments with defaults need to be optional.
328328/// - `#[optional(key)]` for setting `key` as an optional argument (and
329329/// therefore the rest of the
330- /// arguments).
330+ /// arguments).
331331/// - `#[public]`, `#[protected]` and `#[private]` for setting the visibility of
332332/// the method,
333- /// defaulting to public. The Rust visibility has no effect on the PHP
334- /// visibility.
333+ /// defaulting to public. The Rust visibility has no effect on the PHP
334+ /// visibility.
335335///
336336/// Methods can take a immutable or a mutable reference to `self`, but cannot
337337/// consume `self`. They can also take no reference to `self` which indicates a
0 commit comments