]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/Entity/User.php
Convert array + phpDoc
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Entity / User.php
index 4bbb68dcafbd4efcb652e92213f264d42c0e19dd..dfed8e47d4ab52000319f3536205004c7f87365b 100644 (file)
@@ -88,7 +88,7 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
     {
         parent::__construct();
         $this->entries = new ArrayCollection();
-        $this->roles = array('ROLE_USER');
+        $this->roles = ['ROLE_USER'];
     }
 
     /**