@@ -18,7 +18,6 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Get system resources name. |
| 20 | 20 | * |
| 21 | - * @param string $rootDir Root directory path. |
|
| 22 | 21 | * |
| 23 | 22 | * @return array Array of system resources. |
| 24 | 23 | */ |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | /** |
| 137 | 137 | * Return form if is not valid, otherwise process form and return setting object. |
| 138 | 138 | * |
| 139 | - * @param [type] $setting |
|
| 139 | + * @param Setting $setting |
|
| 140 | 140 | * @param string $method |
| 141 | 141 | * |
| 142 | 142 | * @return [type] |
@@ -167,8 +167,6 @@ discard block |
||
| 167 | 167 | * |
| 168 | 168 | * |
| 169 | 169 | * @param int $id [description] |
| 170 | - * @param int $expectedVersion [description] |
|
| 171 | - * @param boolean $saveLockVersion [description] |
|
| 172 | 170 | * |
| 173 | 171 | * @return Setting [description] |
| 174 | 172 | */ |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | /** |
| 179 | 179 | * Return form if is not valid, otherwise process form and return role object. |
| 180 | 180 | * |
| 181 | - * @param [type] $user |
|
| 181 | + * @param User $user |
|
| 182 | 182 | * @param string $method |
| 183 | 183 | * |
| 184 | 184 | * @return [type] |
@@ -223,7 +223,6 @@ discard block |
||
| 223 | 223 | * |
| 224 | 224 | * @param int $id [description] |
| 225 | 225 | * @param int $expectedVersion [description] |
| 226 | - * @param boolean $saveLockVersion [description] |
|
| 227 | 226 | * |
| 228 | 227 | * @return User [description] |
| 229 | 228 | */ |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * Add admin user. |
| 60 | 60 | * |
| 61 | - * @param [type] $manager [description] |
|
| 61 | + * @param ObjectManager $manager [description] |
|
| 62 | 62 | */ |
| 63 | 63 | private function addAdmin($manager) |
| 64 | 64 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * Add editor user. |
| 83 | 83 | * |
| 84 | - * @param [type] $manager [description] |
|
| 84 | + * @param ObjectManager $manager [description] |
|
| 85 | 85 | */ |
| 86 | 86 | private function addEditor($manager) |
| 87 | 87 | { |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * Add Test user. |
| 106 | 106 | * |
| 107 | - * @param [type] $manager [description] |
|
| 107 | + * @param ObjectManager $manager [description] |
|
| 108 | 108 | */ |
| 109 | 109 | private function addTestUser($manager) |
| 110 | 110 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Sets the value of name. |
| 75 | 75 | * |
| 76 | - * @param mixed $name the name |
|
| 76 | + * @param string $name the name |
|
| 77 | 77 | * |
| 78 | 78 | * @return self |
| 79 | 79 | */ |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | /** |
| 88 | 88 | * Sets the value of role. |
| 89 | 89 | * |
| 90 | - * @param mixed $role the role |
|
| 90 | + * @param string $role the role |
|
| 91 | 91 | * |
| 92 | 92 | * @return self |
| 93 | 93 | */ |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * |
| 69 | 69 | * @param [type] $attribute [description] |
| 70 | 70 | * |
| 71 | - * @return boolean [description] |
|
| 71 | + * @return boolean|null [description] |
|
| 72 | 72 | */ |
| 73 | 73 | public function isGranted($attribute) |
| 74 | 74 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * Gets the value of view. |
| 100 | 100 | * |
| 101 | - * @return mixed |
|
| 101 | + * @return boolean |
|
| 102 | 102 | */ |
| 103 | 103 | public function getView() |
| 104 | 104 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | /** |
| 123 | 123 | * Gets the value of edit. |
| 124 | 124 | * |
| 125 | - * @return mixed |
|
| 125 | + * @return boolean |
|
| 126 | 126 | */ |
| 127 | 127 | public function getEdit() |
| 128 | 128 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * Sets the value of edit. |
| 134 | 134 | * |
| 135 | - * @param mixed $edit the edit |
|
| 135 | + * @param boolean $edit the edit |
|
| 136 | 136 | * |
| 137 | 137 | * @return self |
| 138 | 138 | */ |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | /** |
| 147 | 147 | * Gets the value of delete. |
| 148 | 148 | * |
| 149 | - * @return mixed |
|
| 149 | + * @return boolean |
|
| 150 | 150 | */ |
| 151 | 151 | public function getDelete() |
| 152 | 152 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | /** |
| 157 | 157 | * Sets the value of delete. |
| 158 | 158 | * |
| 159 | - * @param mixed $delete the delete |
|
| 159 | + * @param boolean $delete the delete |
|
| 160 | 160 | * |
| 161 | 161 | * @return self |
| 162 | 162 | */ |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | /** |
| 219 | 219 | * Gets the Insert permission. |
| 220 | 220 | * |
| 221 | - * @return mixed |
|
| 221 | + * @return boolean |
|
| 222 | 222 | */ |
| 223 | 223 | public function getInsert() |
| 224 | 224 | { |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | /** |
| 229 | 229 | * Sets the Insert permission. |
| 230 | 230 | * |
| 231 | - * @param mixed $insert the insert |
|
| 231 | + * @param boolean $insert the insert |
|
| 232 | 232 | * |
| 233 | 233 | * @return self |
| 234 | 234 | */ |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | /** |
| 208 | 208 | * Sets the value of email. |
| 209 | 209 | * |
| 210 | - * @param mixed $email the email |
|
| 210 | + * @param string $email the email |
|
| 211 | 211 | * |
| 212 | 212 | * @return self |
| 213 | 213 | */ |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * Sets the value of username. |
| 247 | 247 | * |
| 248 | - * @param mixed $username the username |
|
| 248 | + * @param string $username the username |
|
| 249 | 249 | * |
| 250 | 250 | * @return self |
| 251 | 251 | */ |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | /** |
| 307 | 307 | * Gets the value of settings. |
| 308 | 308 | * |
| 309 | - * @return mixed |
|
| 309 | + * @return ArrayCollection |
|
| 310 | 310 | */ |
| 311 | 311 | public function getSettings() |
| 312 | 312 | { |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | /** |
| 336 | 336 | * Sets the value of password reset token. |
| 337 | 337 | * |
| 338 | - * @param mixed $passwordResetToken the passwordResetToken |
|
| 338 | + * @param null|string $passwordResetToken the passwordResetToken |
|
| 339 | 339 | * |
| 340 | 340 | * @return self |
| 341 | 341 | */ |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | /** |
| 360 | 360 | * Sets the value of password reset token. |
| 361 | 361 | * |
| 362 | - * @param mixed $passwordResetExpiration the passwordResetExpiration |
|
| 362 | + * @param null|\DateTime $passwordResetExpiration the passwordResetExpiration |
|
| 363 | 363 | * |
| 364 | 364 | * @return self |
| 365 | 365 | */ |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | /** |
| 83 | 83 | * {@inheritdoc} |
| 84 | 84 | * |
| 85 | - * @param [type] $class [description] |
|
| 85 | + * @param string $class [description] |
|
| 86 | 86 | * @return [type] [description] |
| 87 | 87 | */ |
| 88 | 88 | public function supportsClass($class) |