@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * {@inheritDoc} |
| 43 | - * @return GroupsUsersCollection |
|
| 43 | + * @return GroupUsersCollection |
|
| 44 | 44 | * @see \Core\Form\ViewPartialProviderInterface::setViewPartial() |
| 45 | 45 | */ |
| 46 | 46 | public function setViewPartial($partial) |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * {@inheritDoc} |
| 35 | - * @return UserInfoContainer |
|
| 35 | + * @return string |
|
| 36 | 36 | * @see \Core\Form\ViewPartialProviderInterface::getViewPartial() |
| 37 | 37 | */ |
| 38 | 38 | public function getViewPartial() |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | /** |
| 122 | 122 | * Sets the From: of the mail header |
| 123 | 123 | * |
| 124 | - * @param $fromName |
|
| 124 | + * @param string $fromName |
|
| 125 | 125 | * @return $this |
| 126 | 126 | */ |
| 127 | 127 | public function setFromName($fromName) |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * |
| 62 | 62 | * @var array() |
| 63 | 63 | */ |
| 64 | - protected $enableLogins = ['facebook','xing','linkedin','google','github']; |
|
| 64 | + protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github']; |
|
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | 67 | * Enable Registration |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - * @param $user |
|
| 116 | + * @param \Core\Entity\EntityInterface $user |
|
| 117 | 117 | * @return $this |
| 118 | 118 | */ |
| 119 | 119 | protected function setUser($user) |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | /** |
| 206 | 206 | * Email-Address |
| 207 | 207 | * @param $email string |
| 208 | - * @return mixed |
|
| 208 | + * @return Register |
|
| 209 | 209 | */ |
| 210 | 210 | protected function setEmail($email) |
| 211 | 211 | { |
@@ -23,6 +23,9 @@ |
||
| 23 | 23 | |
| 24 | 24 | protected $filter; |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @param StripQueryParamsFilter $filter |
|
| 28 | + */ |
|
| 26 | 29 | public function setFilter($filter) |
| 27 | 30 | { |
| 28 | 31 | $this->filter = $filter; |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | if (null === $uri && isset($_SERVER['REQUEST_URI'])) { |
| 52 | - $uri = preg_replace('~^' . $this->getView()->basePath() . '~', '', $_SERVER['REQUEST_URI']); |
|
| 52 | + $uri = preg_replace('~^'.$this->getView()->basePath().'~', '', $_SERVER['REQUEST_URI']); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | if (null === $stripParams) { |
@@ -23,6 +23,9 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | protected $filter; |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @param StripQueryParamsFilter $filter |
|
| 28 | + */ |
|
| 26 | 29 | public function setFilter($filter) |
| 27 | 30 | { |
| 28 | 31 | $this->filter = $filter; |
@@ -44,7 +47,6 @@ discard block |
||
| 44 | 47 | * Returns a property value of the authenticated user or null, if |
| 45 | 48 | * no user is authenticated or the property does not exists. |
| 46 | 49 | * |
| 47 | - * @param string $property |
|
| 48 | 50 | * @return \Auth\View\Helper\Auth|NULL |
| 49 | 51 | */ |
| 50 | 52 | public function __invoke($uri, array $stripParams = null) |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | $hybridAuth->restoreSessionData($sessionDataStored); |
| 136 | 136 | } |
| 137 | 137 | $adapter = $hybridAuth->authenticate($this->providerKey); |
| 138 | - $sessionData = $hybridAuth->getSessionData(); |
|
| 138 | + $sessionData = $hybridAuth->getSessionData(); |
|
| 139 | 139 | if ($sessionData != $sessionDataStored) { |
| 140 | 140 | $user->updateAuthSession($this->providerKey, $sessionData); |
| 141 | 141 | } |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | /** {@inheritdoc} */ |
| 178 | 178 | public function setLogin($login) |
| 179 | 179 | { |
| 180 | - $this->login = trim((String)$login); |
|
| 180 | + $this->login = trim((String) $login); |
|
| 181 | 181 | return $this; |
| 182 | 182 | } |
| 183 | 183 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | class MongoDbConnectionString extends AbstractValidator |
| 23 | 23 | { |
| 24 | - const INVALID = 'invalidConnectionString'; |
|
| 24 | + const INVALID = 'invalidConnectionString'; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * Options |