Change visibility of checkIfEntryAlreadyExists method to private

This commit is contained in:
Nicolas Lœuillet 2016-04-10 14:20:39 +02:00
parent b00a89e08f
commit 834efe84ac
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A

View file

@ -430,7 +430,7 @@ class EntryController extends Controller
*
* @return array|bool
*/
public function checkIfEntryAlreadyExists($entry)
private function checkIfEntryAlreadyExists($entry)
{
return $this->get('wallabag_core.entry_repository')->findByUrlAndUserId($entry->getUrl(), $this->getUser()->getId());
}