]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
CS
authorThomas Citharel <tcit@tcit.fr>
Fri, 1 Jul 2016 08:58:15 +0000 (10:58 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 8 Oct 2016 11:27:17 +0000 (13:27 +0200)
src/Wallabag/CoreBundle/Controller/ConfigController.php
src/Wallabag/UserBundle/Entity/User.php

index 0a306d57c8aa271455d915cb7da7784f60696140..3cafd1bc69708ce11b777bb40d9465aed66f0f6f 100644 (file)
@@ -252,13 +252,13 @@ class ConfigController extends Controller
         return $config;
     }
 
-    /**
-     * Delete account for current user.
-     *
-     * @Route("/account/delete", name="delete_account")
-     *
-     * @return \Symfony\Component\HttpFoundation\RedirectResponse
-     */
+     /**
+      * Delete account for current user.
+      *
+      * @Route("/account/delete", name="delete_account")
+      *
+      * @return \Symfony\Component\HttpFoundation\RedirectResponse
+      */
      public function deleteAccountAction()
      {
          $em = $this->get('fos_user.user_manager');
index eb7774cd1153175da779e0a74d3e9fe90034ca24..ae12e5d54829b2860821ff389982a3673fd734b7 100644 (file)
@@ -243,11 +243,11 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
 
     public function serialize()
     {
-       return serialize($this->id);
-   }
+        return serialize($this->id);
+    }
 
-   public function unserialize($serialized)
-   {
-       $this->id = unserialize($serialized);
-   }
+    public function unserialize($serialized)
+    {
+        $this->id = unserialize($serialized);
+    }
 }