@@ -108,7 +108,7 @@ |
||
108 | 108 | * @param PMF_Configuration $config |
109 | 109 | * @param integer $recordId ID of the record |
110 | 110 | * |
111 | - * @return array |
|
111 | + * @return integer|null |
|
112 | 112 | */ |
113 | 113 | public static function fetchByRecordId(PMF_Configuration $config, $recordId) |
114 | 114 | { |
@@ -51,9 +51,9 @@ |
||
51 | 51 | protected $aes; |
52 | 52 | |
53 | 53 | /** |
54 | - * @param $filepath |
|
55 | - * @param $mode |
|
56 | - * @param $key |
|
54 | + * @param string $filepath |
|
55 | + * @param string $mode |
|
56 | + * @param string $key |
|
57 | 57 | * |
58 | 58 | * @return PMF_Attachment_Filesystem_File_Encrypted |
59 | 59 | */ |
@@ -89,7 +89,7 @@ |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
92 | - * @param $dir |
|
92 | + * @param boolean $dir |
|
93 | 93 | * @return array |
94 | 94 | */ |
95 | 95 | protected function getOldFileList($dir) |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * |
95 | 95 | * @param string $prefix SQL table prefix |
96 | 96 | * |
97 | - * @return bool |
|
97 | + * @return boolean|null |
|
98 | 98 | */ |
99 | 99 | public function createClientTables($prefix) |
100 | 100 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * @param string $dest Destination folder |
193 | 193 | * @param string $templateDir Template folder |
194 | 194 | * |
195 | - * @return bool |
|
195 | + * @return boolean|null |
|
196 | 196 | */ |
197 | 197 | public function copyTemplateFolder($dest, $templateDir = 'default') |
198 | 198 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Checks basic folders and creates them if necessary |
83 | 83 | * |
84 | - * @param array $dirs |
|
84 | + * @param string[] $dirs |
|
85 | 85 | * |
86 | 86 | * @return array |
87 | 87 | */ |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * @param string $name Name of the new folder |
163 | 163 | * @param string $path Path to the new folder |
164 | 164 | * |
165 | - * @return bool |
|
165 | + * @return boolean|null |
|
166 | 166 | */ |
167 | 167 | public function createFolder($name, $path) |
168 | 168 | { |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | /** |
354 | 354 | * Returns the HTTP GET parameters |
355 | 355 | * |
356 | - * @return array |
|
356 | + * @return string |
|
357 | 357 | */ |
358 | 358 | protected function getHttpGetParameters() |
359 | 359 | { |
@@ -747,7 +747,7 @@ discard block |
||
747 | 747 | * @param string $text Text |
748 | 748 | * @param bool $active Add CSS class named "active"? |
749 | 749 | * |
750 | - * @return string |
|
750 | + * @return integer |
|
751 | 751 | */ |
752 | 752 | public static function renderNavigationLink($url, $text, $active = false) |
753 | 753 | { |
@@ -124,7 +124,7 @@ |
||
124 | 124 | /** |
125 | 125 | * Add the matching columns into the columns for the resultset |
126 | 126 | * |
127 | - * @return PMF_Search_Database |
|
127 | + * @return string |
|
128 | 128 | */ |
129 | 129 | public function getMatchingColumnsAsResult() |
130 | 130 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | /** |
103 | 103 | * Returns all available first letters |
104 | 104 | * |
105 | - * @return array |
|
105 | + * @return string |
|
106 | 106 | * @since 2007-03-30 |
107 | 107 | * @author Thorsten Rinne <[email protected]> |
108 | 108 | */ |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * Returns all records from the current first letter |
209 | 209 | * |
210 | 210 | * @param string $letter Letter |
211 | - * @return array |
|
211 | + * @return string |
|
212 | 212 | * @since 2007-03-30 |
213 | 213 | * @author Thorsten Rinne <[email protected]> |
214 | 214 | */ |
@@ -143,7 +143,7 @@ |
||
143 | 143 | * @param string $needle Needle |
144 | 144 | * @param boolean $part Part |
145 | 145 | * |
146 | - * @return string|false |
|
146 | + * @return string |
|
147 | 147 | */ |
148 | 148 | public function strstr($haystack, $needle, $part = false) |
149 | 149 | { |