]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/Group.php
Fix constructor prototype
[userbundle] / Entity / Group.php
index c97515c1f36f1e3ad260136508df93dc87f42cb0..901fbc64d82897989cad5722861d93b161020ee9 100644 (file)
@@ -190,6 +190,7 @@ class Group {
         * @return string
         */
        public function getRole(): string {
         * @return string
         */
        public function getRole(): string {
+               //XXX: $prefix = 'ROLE_' set in Role*Voter classes
                return 'ROLE_'.strtoupper($this->title);
        }
 }
                return 'ROLE_'.strtoupper($this->title);
        }
 }