@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @return mixed |
|
| 68 | + * @return string |
|
| 69 | 69 | */ |
| 70 | 70 | public static function getBackUrl() |
| 71 | 71 | { |
@@ -88,6 +88,8 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * @see Security::getPasswordResetLink() |
| 90 | 90 | * We overload this, so we can add the BackURL to the password resetlink |
| 91 | + * @param Member $member |
|
| 92 | + * @param string $autologinToken |
|
| 91 | 93 | */ |
| 92 | 94 | public static function getPasswordResetLink($member, $autologinToken) |
| 93 | 95 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function matchRange() |
| 79 | 79 | { |
| 80 | - if ($ranges = array_filter($this->allowedIps, function ($ip) { |
|
| 80 | + if ($ranges = array_filter($this->allowedIps, function($ip) { |
|
| 81 | 81 | return strstr($ip, '-'); |
| 82 | 82 | }) |
| 83 | 83 | ) { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | */ |
| 101 | 101 | public function matchCIDR() |
| 102 | 102 | { |
| 103 | - if ($ranges = array_filter($this->allowedIps, function ($ip) { |
|
| 103 | + if ($ranges = array_filter($this->allowedIps, function($ip) { |
|
| 104 | 104 | return strstr($ip, '/'); |
| 105 | 105 | }) |
| 106 | 106 | ) { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | */ |
| 121 | 121 | public function matchWildCard() |
| 122 | 122 | { |
| 123 | - if ($ranges = array_filter($this->allowedIps, function ($ip) { |
|
| 123 | + if ($ranges = array_filter($this->allowedIps, function($ip) { |
|
| 124 | 124 | return substr($ip, -1) === '*'; |
| 125 | 125 | }) |
| 126 | 126 | ) { |