$this->get('wallabag_core.content_proxy')->assignTagsToEntry($entry, $tags);
}
- if (true === (bool) $isStarred) {
- $entry->setStarred(true);
- }
+ $entry->setStarred((bool) $isStarred);
- if (true === (bool) $isArchived) {
- $entry->setArchived(true);
- }
+ $entry->setArchived((bool) $isArchived);
$em = $this->getDoctrine()->getManager();
$em->persist($entry);