@@ -5,7 +5,7 @@ as constants to PHP on the class that it is implemented on. This requires the
55` #[php_class] ` macro to already be used on the underlying struct. Trait
66implementations cannot be exported to PHP.
77
8- If you do not want a function exported to PHP, you should place it in a seperate
8+ If you do not want a function exported to PHP, you should place it in a separate
99` impl ` block.
1010
1111## Methods
@@ -52,7 +52,7 @@ equivalent function attribute parameters.
5252By default, if a class does not have a constructor, it is not constructable from
5353PHP. It can only be returned from a Rust function to PHP.
5454
55- Constructors are Rust methods whick can take any amount of parameters and
55+ Constructors are Rust methods which can take any amount of parameters and
5656returns either ` Self ` or ` Result<Self, E> ` , where ` E: Into<PhpException> ` . When
5757the error variant of ` Result ` is encountered, it is thrown as an exception and
5858the class is not constructed.
@@ -80,7 +80,7 @@ If you want to use a different name for the property, you can pass a `rename`
8080option to the attribute which will change the property name.
8181
8282Properties do not necessarily have to have both a getter and a setter, if the
83- property is immutable the setter can be ommited , and vice versa for getters.
83+ property is immutable the setter can be omitted , and vice versa for getters.
8484
8585The ` #[getter] ` and ` #[setter] ` attributes are mutually exclusive on methods.
8686Properties cannot have multiple getters or setters, and the property name cannot
0 commit comments