protected function assertNoDuplicateTags($id) { if (array_key_exists($id, $this->tags)) { throw new DuplicateDeviseKeyException('Found duplicate key ' . $id); } }