@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @access public |
| 43 | 43 | * @param string $sCode code of the url between "routes" and "route" in Route.conf |
| 44 | 44 | * @param array $aParams parameters to create the url |
| 45 | - * @return void |
|
| 45 | + * @return string |
|
| 46 | 46 | * |
| 47 | 47 | * @tutorial If I have this route I could make my URL: |
| 48 | 48 | * |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | |
| 83 | 83 | $aRoutes = array(); |
| 84 | 84 | |
| 85 | - foreach($oHost->routes as $sKey => $oRoute) { |
|
| 85 | + foreach ($oHost->routes as $sKey => $oRoute) { |
|
| 86 | 86 | |
| 87 | 87 | if ($sKey === $sCode) { |
| 88 | 88 | |
@@ -135,8 +135,8 @@ discard block |
||
| 135 | 135 | throw new \Exception(); |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | - $sStringToEncode = str_replace(['à','á','â','ã','ä','ç','è','é','ê','ë','ì','í','î','ï','ñ','ò','ó','ô','õ','ö','ù','ú','û','ü','ý','ÿ','À','Á','Â','Ã','Ä','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ñ','Ò','Ó','Ô','Õ','Ö','Ù','Ú','Û','Ü','Ý'], |
|
| 139 | - ['a','a','a','a','a','c','e','e','e','e','i','i','i','i','n','o','o','o','o','o','u','u','u','u','y','y','A','A','A','A','A','C','E','E','E','E','I','I','I','I','N','O','O','O','O','O','U','U','U','U','Y'], |
|
| 138 | + $sStringToEncode = str_replace(['à', 'á', 'â', 'ã', 'ä', 'ç', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', 'ù', 'ú', 'û', 'ü', 'ý', 'ÿ', 'À', 'Á', 'Â', 'Ã', 'Ä', 'Ç', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', 'Ù', 'Ú', 'Û', 'Ü', 'Ý'], |
|
| 139 | + ['a', 'a', 'a', 'a', 'a', 'c', 'e', 'e', 'e', 'e', 'i', 'i', 'i', 'i', 'n', 'o', 'o', 'o', 'o', 'o', 'u', 'u', 'u', 'u', 'y', 'y', 'A', 'A', 'A', 'A', 'A', 'C', 'E', 'E', 'E', 'E', 'I', 'I', 'I', 'I', 'N', 'O', 'O', 'O', 'O', 'O', 'U', 'U', 'U', 'U', 'Y'], |
|
| 140 | 140 | $sStringToEncode); |
| 141 | 141 | |
| 142 | 142 | $sStringToEncode = preg_replace('/[^a-zA-Z0-9_]+/', '_', preg_quote($sStringToEncode)); |
@@ -503,7 +503,7 @@ discard block |
||
| 503 | 503 | * Get the UID of the connected user, or 0 |
| 504 | 504 | * if the Facebook user is not connected. |
| 505 | 505 | * |
| 506 | - * @return string the UID if available. |
|
| 506 | + * @return integer the UID if available. |
|
| 507 | 507 | */ |
| 508 | 508 | public function getUser() { |
| 509 | 509 | if ($this->user !== null) { |
@@ -757,6 +757,7 @@ discard block |
||
| 757 | 757 | * either logged in to Facebook or has granted an offline access permission. |
| 758 | 758 | * |
| 759 | 759 | * @param string $code An authorization code. |
| 760 | + * @param string $redirect_uri |
|
| 760 | 761 | * @return mixed An access token exchanged for the authorization code, or |
| 761 | 762 | * false if an access token could not be generated. |
| 762 | 763 | */ |
@@ -1135,7 +1136,7 @@ discard block |
||
| 1135 | 1136 | /** |
| 1136 | 1137 | * Build the URL for given domain alias, path and parameters. |
| 1137 | 1138 | * |
| 1138 | - * @param $name string The name of the domain |
|
| 1139 | + * @param string $name string The name of the domain |
|
| 1139 | 1140 | * @param $path string Optional path (without a leading slash) |
| 1140 | 1141 | * @param $params array Optional query parameters |
| 1141 | 1142 | * |
@@ -1402,6 +1403,9 @@ discard block |
||
| 1402 | 1403 | return self::endsWith($big, '.'.$small); |
| 1403 | 1404 | } |
| 1404 | 1405 | |
| 1406 | + /** |
|
| 1407 | + * @param string $small |
|
| 1408 | + */ |
|
| 1405 | 1409 | protected static function endsWith($big, $small) { |
| 1406 | 1410 | $len = strlen($small); |
| 1407 | 1411 | if ($len === 0) { |
@@ -98,11 +98,11 @@ discard block |
||
| 98 | 98 | * @return string The string representation of the error |
| 99 | 99 | */ |
| 100 | 100 | public function __toString() { |
| 101 | - $str = $this->getType() . ': '; |
|
| 101 | + $str = $this->getType().': '; |
|
| 102 | 102 | if ($this->code != 0) { |
| 103 | - $str .= $this->code . ': '; |
|
| 103 | + $str .= $this->code.': '; |
|
| 104 | 104 | } |
| 105 | - return $str . $this->message; |
|
| 105 | + return $str.$this->message; |
|
| 106 | 106 | } |
| 107 | 107 | } |
| 108 | 108 | |
@@ -530,7 +530,7 @@ discard block |
||
| 530 | 530 | if (array_key_exists('user_id', $signed_request)) { |
| 531 | 531 | $user = $signed_request['user_id']; |
| 532 | 532 | |
| 533 | - if($user != $this->getPersistentData('user_id')){ |
|
| 533 | + if ($user != $this->getPersistentData('user_id')) { |
|
| 534 | 534 | $this->clearAllPersistentData(); |
| 535 | 535 | } |
| 536 | 536 | |
@@ -576,7 +576,7 @@ discard block |
||
| 576 | 576 | * @param array $params Provide custom parameters |
| 577 | 577 | * @return string The URL for the login flow |
| 578 | 578 | */ |
| 579 | - public function getLoginUrl($params=array()) { |
|
| 579 | + public function getLoginUrl($params = array()) { |
|
| 580 | 580 | $this->establishCSRFTokenState(); |
| 581 | 581 | $currentUrl = $this->getCurrentUrl(); |
| 582 | 582 | |
@@ -605,7 +605,7 @@ discard block |
||
| 605 | 605 | * @param array $params Provide custom parameters |
| 606 | 606 | * @return string The URL for the logout flow |
| 607 | 607 | */ |
| 608 | - public function getLogoutUrl($params=array()) { |
|
| 608 | + public function getLogoutUrl($params = array()) { |
|
| 609 | 609 | return $this->getUrl( |
| 610 | 610 | 'www', |
| 611 | 611 | 'logout.php', |
@@ -627,7 +627,7 @@ discard block |
||
| 627 | 627 | * @param array $params Provide custom parameters |
| 628 | 628 | * @return string The URL for the logout flow |
| 629 | 629 | */ |
| 630 | - public function getLoginStatusUrl($params=array()) { |
|
| 630 | + public function getLoginStatusUrl($params = array()) { |
|
| 631 | 631 | return $this->getUrl( |
| 632 | 632 | 'www', |
| 633 | 633 | 'extern/login_status.php', |
@@ -937,7 +937,7 @@ discard block |
||
| 937 | 937 | * |
| 938 | 938 | * @return string The response text |
| 939 | 939 | */ |
| 940 | - protected function makeRequest($url, $params, $ch=null) { |
|
| 940 | + protected function makeRequest($url, $params, $ch = null) { |
|
| 941 | 941 | if (!$ch) { |
| 942 | 942 | $ch = curl_init(); |
| 943 | 943 | } |
@@ -967,7 +967,7 @@ discard block |
||
| 967 | 967 | self::errorLog('Invalid or no certificate authority found, '. |
| 968 | 968 | 'using bundled information'); |
| 969 | 969 | curl_setopt($ch, CURLOPT_CAINFO, |
| 970 | - dirname(__FILE__) . '/fb_ca_chain_bundle.crt'); |
|
| 970 | + dirname(__FILE__).'/fb_ca_chain_bundle.crt'); |
|
| 971 | 971 | $result = curl_exec($ch); |
| 972 | 972 | } |
| 973 | 973 | |
@@ -1020,7 +1020,7 @@ discard block |
||
| 1020 | 1020 | |
| 1021 | 1021 | if (strtoupper($data['algorithm']) !== self::SIGNED_REQUEST_ALGORITHM) { |
| 1022 | 1022 | self::errorLog( |
| 1023 | - 'Unknown algorithm. Expected ' . self::SIGNED_REQUEST_ALGORITHM); |
|
| 1023 | + 'Unknown algorithm. Expected '.self::SIGNED_REQUEST_ALGORITHM); |
|
| 1024 | 1024 | return null; |
| 1025 | 1025 | } |
| 1026 | 1026 | |
@@ -1044,7 +1044,7 @@ discard block |
||
| 1044 | 1044 | protected function makeSignedRequest($data) { |
| 1045 | 1045 | if (!is_array($data)) { |
| 1046 | 1046 | throw new InvalidArgumentException( |
| 1047 | - 'makeSignedRequest expects an array. Got: ' . print_r($data, true)); |
|
| 1047 | + 'makeSignedRequest expects an array. Got: '.print_r($data, true)); |
|
| 1048 | 1048 | } |
| 1049 | 1049 | $data['algorithm'] = self::SIGNED_REQUEST_ALGORITHM; |
| 1050 | 1050 | $data['issued_at'] = time(); |
@@ -1141,7 +1141,7 @@ discard block |
||
| 1141 | 1141 | * |
| 1142 | 1142 | * @return string The URL for the given parameters |
| 1143 | 1143 | */ |
| 1144 | - protected function getUrl($name, $path='', $params=array()) { |
|
| 1144 | + protected function getUrl($name, $path = '', $params = array()) { |
|
| 1145 | 1145 | $url = self::$DOMAIN_MAP[$name]; |
| 1146 | 1146 | if ($path) { |
| 1147 | 1147 | if ($path[0] === '/') { |
@@ -1150,7 +1150,7 @@ discard block |
||
| 1150 | 1150 | $url .= $path; |
| 1151 | 1151 | } |
| 1152 | 1152 | if ($params) { |
| 1153 | - $url .= '?' . http_build_query($params, null, '&'); |
|
| 1153 | + $url .= '?'.http_build_query($params, null, '&'); |
|
| 1154 | 1154 | } |
| 1155 | 1155 | |
| 1156 | 1156 | return $url; |
@@ -1206,7 +1206,7 @@ discard block |
||
| 1206 | 1206 | * @return string The current URL |
| 1207 | 1207 | */ |
| 1208 | 1208 | protected function getCurrentUrl() { |
| 1209 | - $protocol = $this->getHttpProtocol() . '://'; |
|
| 1209 | + $protocol = $this->getHttpProtocol().'://'; |
|
| 1210 | 1210 | $host = $this->getHttpHost(); |
| 1211 | 1211 | $currentUrl = $protocol.$host.$_SERVER['REQUEST_URI']; |
| 1212 | 1212 | $parts = parse_url($currentUrl); |
@@ -1232,10 +1232,10 @@ discard block |
||
| 1232 | 1232 | isset($parts['port']) && |
| 1233 | 1233 | (($protocol === 'http://' && $parts['port'] !== 80) || |
| 1234 | 1234 | ($protocol === 'https://' && $parts['port'] !== 443)) |
| 1235 | - ? ':' . $parts['port'] : ''; |
|
| 1235 | + ? ':'.$parts['port'] : ''; |
|
| 1236 | 1236 | |
| 1237 | 1237 | // rebuild |
| 1238 | - return $protocol . $parts['host'] . $port . $parts['path'] . $query; |
|
| 1238 | + return $protocol.$parts['host'].$port.$parts['path'].$query; |
|
| 1239 | 1239 | } |
| 1240 | 1240 | |
| 1241 | 1241 | /** |
@@ -150,6 +150,9 @@ |
||
| 150 | 150 | return self::FBSS_COOKIE_NAME . '_' . $this->getAppId(); |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | + /** |
|
| 154 | + * @param string $key |
|
| 155 | + */ |
|
| 153 | 156 | protected function constructSessionVariableName($key) { |
| 154 | 157 | $parts = array('fb', $this->getAppId(), $key); |
| 155 | 158 | if ($this->sharedSessionID) { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | protected function getSharedSessionCookieName() { |
| 150 | - return self::FBSS_COOKIE_NAME . '_' . $this->getAppId(); |
|
| 150 | + return self::FBSS_COOKIE_NAME.'_'.$this->getAppId(); |
|
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | protected function constructSessionVariableName($key) { |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | * @param string $sName name of the session |
| 38 | 38 | * @param int $iFlags flags |
| 39 | 39 | * @param int $iTimeout expiration of cache |
| 40 | - * @return mixed |
|
| 40 | + * @return boolean |
|
| 41 | 41 | */ |
| 42 | 42 | public function get(string $sName, int &$iFlags = null, int $iTimeout = 0) |
| 43 | 43 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * @param mixed $mValue value of this sesion var |
| 53 | 53 | * @param int $iFlag unused |
| 54 | 54 | * @param int $iExpire expiration of cache |
| 55 | - * @return \Venus\lib\Cache\Apc |
|
| 55 | + * @return boolean |
|
| 56 | 56 | */ |
| 57 | 57 | public function set(string $sName, $mValue, int $iFlag = 0, int $iExpire = false) |
| 58 | 58 | { |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * flush the cache |
| 64 | 64 | * |
| 65 | 65 | * @access public |
| 66 | - * @return mixed |
|
| 66 | + * @return boolean |
|
| 67 | 67 | */ |
| 68 | 68 | public function flush() |
| 69 | 69 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * |
| 76 | 76 | * @access public |
| 77 | 77 | * @param string $sName name of the session |
| 78 | - * @return mixed |
|
| 78 | + * @return boolean |
|
| 79 | 79 | */ |
| 80 | 80 | public function delete(string $sName) |
| 81 | 81 | { |
@@ -88,9 +88,8 @@ discard block |
||
| 88 | 88 | * @access public |
| 89 | 89 | * @param string $sName name of the session |
| 90 | 90 | * @param mixed $mValue value of this sesion var |
| 91 | - * @param int $iFlag unused |
|
| 92 | 91 | * @param int $iExpire expiration of cache |
| 93 | - * @return mixed |
|
| 92 | + * @return boolean |
|
| 94 | 93 | */ |
| 95 | 94 | public function add($sName, $mValue, $iExpire = false) |
| 96 | 95 | { |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * @param int $iTimeout expiration of cache |
| 62 | 62 | * @return mixed |
| 63 | 63 | */ |
| 64 | - public function get(string $sName, int &$iFlags = null, int $iTimeout = 0) |
|
| 64 | + public function get(string $sName, int&$iFlags = null, int $iTimeout = 0) |
|
| 65 | 65 | { |
| 66 | 66 | return parent::get($sName); |
| 67 | 67 | } |
@@ -192,8 +192,6 @@ |
||
| 192 | 192 | * set name of image |
| 193 | 193 | * |
| 194 | 194 | * @access public |
| 195 | - * @param int $iWeek number of week |
|
| 196 | - * @param int $iYear year |
|
| 197 | 195 | * @return array |
| 198 | 196 | */ |
| 199 | 197 | public static function getActualMiddleWeek() : array |
@@ -41,12 +41,12 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public static function getWeek(int $iWeek, int $iYear, string $sFormat = "Y-m-d") : Date |
| 43 | 43 | { |
| 44 | - $iFirstDayInYear = date("N",mktime(0, 0, 0, 1, 1, $iYear)); |
|
| 44 | + $iFirstDayInYear = date("N", mktime(0, 0, 0, 1, 1, $iYear)); |
|
| 45 | 45 | |
| 46 | 46 | if ($iFirstDayInYear < 5) { $iShift = -($iFirstDayInYear - 1) * 86400; } |
| 47 | 47 | else { $iShift = (8 - $iFirstDayInYear) * 86400; } |
| 48 | 48 | |
| 49 | - if ($iWeek > 1) { $iWeekInSeconds = ($iWeek-1) * 604800; } |
|
| 49 | + if ($iWeek > 1) { $iWeekInSeconds = ($iWeek - 1) * 604800; } |
|
| 50 | 50 | else { $iWeekInSeconds = 0; } |
| 51 | 51 | |
| 52 | 52 | $iTimestamp = mktime(0, 0, 0, 1, 1, $iYear) + $iWeekInSeconds + $iShift; |
@@ -158,12 +158,12 @@ discard block |
||
| 158 | 158 | */ |
| 159 | 159 | public static function getMiddleWeek(int $iWeek, int $iYear, string $sFormat = "Y-m-d") : array |
| 160 | 160 | { |
| 161 | - $iFirstDayInYear = date("N",mktime(0, 0, 0, 1, 1, $iYear)); |
|
| 161 | + $iFirstDayInYear = date("N", mktime(0, 0, 0, 1, 1, $iYear)); |
|
| 162 | 162 | |
| 163 | 163 | if ($iFirstDayInYear < 5) { $iShift = -($iFirstDayInYear - 1) * 86400; } |
| 164 | 164 | else { $iShift = (8 - $iFirstDayInYear) * 86400; } |
| 165 | 165 | |
| 166 | - if ($iWeek > 1) { $iWeekInSeconds = ($iWeek-1) * 604800; } |
|
| 166 | + if ($iWeek > 1) { $iWeekInSeconds = ($iWeek - 1) * 604800; } |
|
| 167 | 167 | else { $iWeekInSeconds = 0; } |
| 168 | 168 | |
| 169 | 169 | if (date('N') > 2) { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | if (preg_replace('/^([0-9]+)-[0-9]+-[0-9]+$/', '$1', $aDates[0]) != date('Y')) { |
| 183 | 183 | |
| 184 | 184 | $aDates[0] = preg_replace('/^[0-9]+(-[0-9]+-[0-9]+)$/', date('Y').'$1', $aDates[0]); |
| 185 | - $aDates[1] = preg_replace('/^[0-9]+(-[0-9]+-[0-9]+)$/', (date('Y')+1).'$1', $aDates[1]); |
|
| 185 | + $aDates[1] = preg_replace('/^[0-9]+(-[0-9]+-[0-9]+)$/', (date('Y') + 1).'$1', $aDates[1]); |
|
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | return $aDates; |
@@ -225,10 +225,10 @@ discard block |
||
| 225 | 225 | $oDateTime = DateTime::createFromFormat('Y-m-d H:i:s', $sDateTime); |
| 226 | 226 | $iTimeStamp = time() - $oDateTime->getTimestamp(); |
| 227 | 227 | |
| 228 | - if ($iTimeStamp < 3600) { return $sStartReturn.' '.(int)($iTimeStamp/60).' '.$sMinutes.$sEndReturn; } |
|
| 229 | - if ($iTimeStamp < 86400) { return $sStartReturn.' '.(int)($iTimeStamp/3600).' '.$sHours.$sEndReturn; } |
|
| 230 | - if ($iTimeStamp < 2592000) { return $sStartReturn.' '.(int)($iTimeStamp/86400).' '.$sDays.$sEndReturn; } |
|
| 231 | - if ($iTimeStamp < 31536000) { return $sStartReturn.' '.(int)($iTimeStamp/2592000).' '.$sMonths.$sEndReturn; } |
|
| 232 | - else { return $sStartReturn.' '.(int)($iTimeStamp/31536000).' '.$sYears.$sEndReturn; } |
|
| 228 | + if ($iTimeStamp < 3600) { return $sStartReturn.' '.(int)($iTimeStamp / 60).' '.$sMinutes.$sEndReturn; } |
|
| 229 | + if ($iTimeStamp < 86400) { return $sStartReturn.' '.(int)($iTimeStamp / 3600).' '.$sHours.$sEndReturn; } |
|
| 230 | + if ($iTimeStamp < 2592000) { return $sStartReturn.' '.(int)($iTimeStamp / 86400).' '.$sDays.$sEndReturn; } |
|
| 231 | + if ($iTimeStamp < 31536000) { return $sStartReturn.' '.(int)($iTimeStamp / 2592000).' '.$sMonths.$sEndReturn; } |
|
| 232 | + else { return $sStartReturn.' '.(int)($iTimeStamp / 31536000).' '.$sYears.$sEndReturn; } |
|
| 233 | 233 | } |
| 234 | 234 | } |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | * get global object form |
| 305 | 305 | * |
| 306 | 306 | * @access public |
| 307 | - * @return object |
|
| 307 | + * @return \stdClass |
|
| 308 | 308 | */ |
| 309 | 309 | public function getFormInObject() |
| 310 | 310 | { |
@@ -411,7 +411,6 @@ discard block |
||
| 411 | 411 | * set the entity to synchronize with the formular |
| 412 | 412 | * |
| 413 | 413 | * @access public |
| 414 | - * @param string $sSeparator separator between the fields |
|
| 415 | 414 | * @param int $iId id of the primary key |
| 416 | 415 | * @return \Venus\lib\Form |
| 417 | 416 | */ |
@@ -181,13 +181,13 @@ discard block |
||
| 181 | 181 | } |
| 182 | 182 | else if ($mType === 'radio') { |
| 183 | 183 | |
| 184 | - $this->_aElement[$sName.rand(100000,999999)] = new Radio($sName, $sLabel, $mValue, $mOptions); |
|
| 184 | + $this->_aElement[$sName.rand(100000, 999999)] = new Radio($sName, $sLabel, $mValue, $mOptions); |
|
| 185 | 185 | } |
| 186 | 186 | else if ($mType === 'date') { |
| 187 | 187 | |
| 188 | 188 | $aDay = array(); |
| 189 | 189 | |
| 190 | - for ($i = 1 ; $i <= 31 ; $i++) { |
|
| 190 | + for ($i = 1; $i <= 31; $i++) { |
|
| 191 | 191 | |
| 192 | 192 | if ($i < 10) { $aDay['0'.$i] = '0'.$i; } |
| 193 | 193 | else { $aDay[$i] = $i; } |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | |
| 215 | 215 | $aYear = array(); |
| 216 | 216 | |
| 217 | - for ($i = 1900 ; $i <= 2013 ; $i++) { |
|
| 217 | + for ($i = 1900; $i <= 2013; $i++) { |
|
| 218 | 218 | |
| 219 | 219 | $aYear[$i] = $i; |
| 220 | 220 | } |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | * get the Value |
| 70 | 70 | * |
| 71 | 71 | * @access public |
| 72 | - * @return object |
|
| 72 | + * @return \stdClass |
|
| 73 | 73 | */ |
| 74 | 74 | public function createView() |
| 75 | 75 | { |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | * |
| 152 | 152 | * @access public |
| 153 | 153 | * @param string $sType type of input; |
| 154 | - * @return bool |
|
| 154 | + * @return string |
|
| 155 | 155 | */ |
| 156 | 156 | public function isClicked(string $sType) : string |
| 157 | 157 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * |
| 97 | 97 | * @access public |
| 98 | 98 | * @param string $sValue Value of input; |
| 99 | - * @return \Venus\lib\Form\Input |
|
| 99 | + * @return Radio |
|
| 100 | 100 | */ |
| 101 | 101 | public function setValue(string $sValue) : Input |
| 102 | 102 | { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | * |
| 121 | 121 | * @access public |
| 122 | 122 | * @param string $sValueChecked Value of input; |
| 123 | - * @return \Venus\lib\Form\Input |
|
| 123 | + * @return Radio |
|
| 124 | 124 | */ |
| 125 | 125 | public function setValueChecked(string $sValueChecked) : Input |
| 126 | 126 | { |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * |
| 145 | 145 | * @access public |
| 146 | 146 | * @param string $sLabel Label of input; |
| 147 | - * @return \Venus\lib\Form\Input |
|
| 147 | + * @return Radio |
|
| 148 | 148 | */ |
| 149 | 149 | public function setLabel(string $sLabel) : Input |
| 150 | 150 | { |