Completed
Branch v2.x (9d132c)
by Loic
02:44
created
Security/User/AdUser.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@  discard block
 block discarded – undo
24 24
     /** @var string */
25 25
     private $email;
26 26
 
27
+    /**
28
+     * @param string $username
29
+     * @param string $password
30
+     */
27 31
     public function __construct($username, $password, array $roles)
28 32
     {
29 33
         $this->username = $username;
@@ -146,7 +150,7 @@  discard block
 block discarded – undo
146 150
      * and populated in any number of different ways when the user object
147 151
      * is created.
148 152
      *
149
-     * @return array Role[] The user roles
153
+     * @return string Role[] The user roles
150 154
      */
151 155
     public function getRoles()
152 156
     {
Please login to merge, or discard this patch.
Security/User/AdUserProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * @param string $name Key name
44 44
      * @param mixed $default Default value
45 45
      *
46
-     * @return mixed
46
+     * @return string
47 47
      */
48 48
     protected function getConfig($name, $default)
49 49
     {
Please login to merge, or discard this patch.