@@ -270,6 +270,11 @@ discard block |
||
270 | 270 | } |
271 | 271 | } |
272 | 272 | |
273 | + /** |
|
274 | + * @param string $sModule |
|
275 | + * @param string $sController |
|
276 | + * @param string $sAction |
|
277 | + */ |
|
273 | 278 | public function url($sModule, $sController, $sAction, $sVars = null, $bClear = true) |
274 | 279 | { |
275 | 280 | $sUrl = Uri::get($sModule, $sController, $sAction, $sVars, $bClear); |
@@ -540,7 +545,7 @@ discard block |
||
540 | 545 | * @internal If it's an IPv6, show only the beginning, otherwise it would be too long in the template. |
541 | 546 | * @param string $sIp Allows to speciy another IP address than the client one. |
542 | 547 | * @param boolean $bPrint Print or Return the HTML code. Default TRUE |
543 | - * @return mixed (string | void) |
|
548 | + * @return null|string (string | void) |
|
544 | 549 | */ |
545 | 550 | public function ip($sIp = null, $bPrint = true) |
546 | 551 | { |
@@ -557,7 +562,7 @@ discard block |
||
557 | 562 | * Show the geolocation of the user (with link that points to the Country controller). |
558 | 563 | * |
559 | 564 | * @param boolean $bPrint Print or Return the HTML code. Default TRUE |
560 | - * @return mixed (string | void) |
|
565 | + * @return null|string (string | void) |
|
561 | 566 | */ |
562 | 567 | public function geoIp($bPrint = true) |
563 | 568 | { |
@@ -592,7 +597,7 @@ discard block |
||
592 | 597 | * @param integer $iSize |
593 | 598 | * @param boolean $bPrint Print or Return the HTML code. |
594 | 599 | * |
595 | - * @return void Html contents. URL avatar default 150px or the user avatar. |
|
600 | + * @return string Html contents. URL avatar default 150px or the user avatar. |
|
596 | 601 | */ |
597 | 602 | public function getUserAvatar($sUsername, $sSex = '', $iSize = null, $bPrint = true) |
598 | 603 | { |