Skip to content

Commit 9b153ea

Browse files
committed
Restrict Calculator::bitwise() param type
1 parent cf30036 commit 9b153ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Internal/Calculator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -611,9 +611,9 @@ public function xor(string $a, string $b) : string
611611
/**
612612
* Performs a bitwise operation on a decimal number.
613613
*
614-
* @param string $operator The operator to use, must be "and", "or" or "xor".
615-
* @param string $a The left operand.
616-
* @param string $b The right operand.
614+
* @param 'and'|'or'|'xor' $operator The operator to use.
615+
* @param string $a The left operand.
616+
* @param string $b The right operand.
617617
*
618618
* @return string
619619
*/

0 commit comments

Comments
 (0)