Skip to content

Commit 101c85d

Browse files
authored
README: fix typo in forbidArithmeticOperationOnNonNumber (#181)
1 parent abae9f1 commit 101c85d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ class EnforceReadonlyPublicPropertyRule {
309309
```
310310

311311
### forbidArithmeticOperationOnNonNumber
312-
- Allows using [arithmetic operators](https://www.php.net/manual/en/language.operators.arithmetic.php) with non-numeric types (only float and int is allowed)
313-
- You can allow even numeric-string by using `allowNumericString: true` configuration
312+
- Disallows using [arithmetic operators](https://www.php.net/manual/en/language.operators.arithmetic.php) with non-numeric types (only float and int is allowed)
313+
- You can allow numeric-string by using `allowNumericString: true` configuration
314314
- Modulo operator (`%`) allows only integers as it [emits deprecation otherwise](https://3v4l.org/VpVoq)
315315
- Plus operator is allowed for merging arrays
316316

0 commit comments

Comments
 (0)