@@ -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 | * |
@@ -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) { |
@@ -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) { |
@@ -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 | { |
@@ -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 |
@@ -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 | */ |
@@ -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 | { |