@@ -83,6 +83,7 @@ |
||
| 83 | 83 | /** |
| 84 | 84 | * executes a query and triggers logging to the SQL audit log if it's not a SELECT |
| 85 | 85 | * @param string $querystring the query to be executed |
| 86 | + * @param string $database |
|
| 86 | 87 | * @return mixed the query result as mysqli_result object; or TRUE on non-return-value statements |
| 87 | 88 | */ |
| 88 | 89 | public static function exec($database, $querystring) { |
@@ -236,6 +236,8 @@ |
||
| 236 | 236 | * |
| 237 | 237 | * @param string device the device identifier string |
| 238 | 238 | * @param string path the path where the new installer can be found |
| 239 | + * @param string $device |
|
| 240 | + * @param string $path |
|
| 239 | 241 | */ |
| 240 | 242 | abstract public function updateCache($device, $path, $mime); |
| 241 | 243 | |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | * Loads the class file for a given class name. |
| 102 | 102 | * |
| 103 | 103 | * @param string $class The fully-qualified class name. |
| 104 | - * @return mixed The mapped file name on success, or boolean false on |
|
| 104 | + * @return string|false The mapped file name on success, or boolean false on |
|
| 105 | 105 | * failure. |
| 106 | 106 | */ |
| 107 | 107 | public function loadClass($class) |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * |
| 140 | 140 | * @param string $prefix The namespace prefix. |
| 141 | 141 | * @param string $relative_class The relative class name. |
| 142 | - * @return mixed Boolean false if no mapped file can be loaded, or the |
|
| 142 | + * @return false|string Boolean false if no mapped file can be loaded, or the |
|
| 143 | 143 | * name of the mapped file that was loaded. |
| 144 | 144 | */ |
| 145 | 145 | protected function loadMappedFile($prefix, $relative_class) |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * |
| 32 | - * @return number |
|
| 32 | + * @return integer |
|
| 33 | 33 | */ |
| 34 | 34 | public function size(){ |
| 35 | 35 | return count($this->rows); |
@@ -53,7 +53,6 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * |
| 56 | - * @param array $row |
|
| 57 | 56 | */ |
| 58 | 57 | public function addRowArray($cells){ |
| 59 | 58 | $this->addRow(new Row($cells)); |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * |
| 82 | - * @return IdP |
|
| 82 | + * @return \IdP |
|
| 83 | 83 | */ |
| 84 | 84 | public function getInstitution(){ |
| 85 | 85 | return $this->institution; |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | 89 | * |
| 90 | - * @return \ProfileSilverbullet|mixed |
|
| 90 | + * @return \ProfileSilverbullet|null |
|
| 91 | 91 | */ |
| 92 | 92 | public function getProfile(){ |
| 93 | 93 | $profile = null; |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | 106 | * |
| 107 | - * @return \IdP |
|
| 107 | + * @return string |
|
| 108 | 108 | */ |
| 109 | 109 | public function getRealmName(){ |
| 110 | 110 | $realmName = 'unknown'; |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | /** |
| 127 | 127 | * Factory method that creates CAT instance and prints page beginning elements. |
| 128 | 128 | * |
| 129 | - * @return CAT |
|
| 129 | + * @return \CAT |
|
| 130 | 130 | */ |
| 131 | 131 | public function createPagePrelude(){ |
| 132 | 132 | return defaultPagePrelude($this->pageTitle); |