ソースを参照

Merge pull request #201 from ADmad/patch-1

Fix typo
Mark Sch 8 年 前
コミット
bcb4d547bd
1 ファイル変更1 行追加1 行削除
  1. 1 1
      docs/Behavior/Bitmasked.md

+ 1 - 1
docs/Behavior/Bitmasked.md

@@ -78,7 +78,7 @@ It will save the final bitmask to the database field `status` as integer. For ex
 ### Custom finder
 You can use the built in custom finder `findBitmasked`:
 ```php
-$statuses = [Comment::STATUS_ACTIVE, STATUS_ACTIVE::STATUS_FEATURED];
+$statuses = [Comment::STATUS_ACTIVE, Comment::STATUS_FEATURED];
 $comments = $this->Comments->find('bits', ['bits' => $statuses])->toArray();
 ```