Skip to content

Commit c143323

Browse files
authored
Update README.md
1 parent 377daea commit c143323

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ echo $executor->setDivisionByZeroIsZero()->execute('1/0');
223223
```
224224
If you want another behavior, you can override division operator:
225225
```php
226-
$executor->addOperator(new Operator("/"m, false, 180, function($a, $b) {
226+
$executor->addOperator(new Operator("/", false, 180, function($a, $b) {
227227
if ($b == 0) {
228228
return null;
229229
}

0 commit comments

Comments
 (0)