Browse Source

Add Enum support to Bitmasked behavior.

mscherer 1 year ago
parent
commit
9f4f30c75c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Model/Behavior/BitmaskedBehavior.php

+ 1 - 1
src/Model/Behavior/BitmaskedBehavior.php

@@ -250,7 +250,7 @@ class BitmaskedBehavior extends Behavior {
 	}
 
 	/**
-	 * @param int|string $value Bitmask.
+	 * @param string|int $value Bitmask.
 	 * @return array<int|\BackedEnum> Bitmask array (from DB to APP).
 	 */
 	public function decodeBitmask($value): array {