]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Change visibility of checkIfEntryAlreadyExists method to private 1887/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Sun, 10 Apr 2016 12:20:39 +0000 (14:20 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Sun, 10 Apr 2016 12:20:39 +0000 (14:20 +0200)
src/Wallabag/CoreBundle/Controller/EntryController.php

index 177597ba8aa8bb3d0e050c807521369d8e51fe80..cba58858a16f68d868b5f09e8604e1c41cf4de3f 100644 (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());
     }