Skip to content

Commit 85f9dde

Browse files
committed
doc: cleanup
1 parent b16d28c commit 85f9dde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,18 @@ subclasses must implement. It is a class method to allow validity checks
9393
of external values without wrapping them in an instance.
9494

9595

96-
* <code>public function <b>\_\_construct</b>($raw\_value)</code>
96+
* <code>public function <b>\_\_construct</b>($rawValue)</code>
9797

9898
The constructor uses the `isValid` class method to test its input argument.
9999
Valid values are stored in the new instance, invalid values cause an `InvalidArgumentException` to be thrown.
100100
Other instances of the same class are always considered valid (*re-wrapping*).
101101

102-
* <code>public static function <b>optional</b>($raw\_value): ?static</code>
102+
* <code>public static function <b>optional</b>($rawValue): ?static</code>
103103

104104
Same as the default constructor,
105105
but also accepts `null` values (which will be returned unchanged).
106106

107-
* <code>abstract public static function <b>isValid</b>($test\_value): bool</code>
107+
* <code>abstract public static function <b>isValid</b>($testValue): bool</code>
108108

109109
Checks the validity of a raw value.
110110
If it returns true, a new object can be instantiated with that value.
@@ -114,7 +114,7 @@ of external values without wrapping them in an instance.
114114

115115
Returns the object's wrapped initializer value.
116116

117-
* <code>final public function <b>equals</b>($test\_value): bool</code>
117+
* <code>final public function <b>equals</b>($testValue): bool</code>
118118

119119
Equality test.
120120
This method performs an equality check on other instances or raw values.

0 commit comments

Comments
 (0)