@@ -220,7 +220,7 @@ |
||
220 | 220 | * @param mixed $context It optionally contains an array of every variable |
221 | 221 | * that existed in the scope the error was triggered in. |
222 | 222 | * |
223 | - * @return bool |
|
223 | + * @return boolean|null |
|
224 | 224 | */ |
225 | 225 | function pmf_error_handler($level, $message, $filename, $line, $context) |
226 | 226 | { |
@@ -433,7 +433,7 @@ |
||
433 | 433 | /** |
434 | 434 | * Validate attached file with the real hash |
435 | 435 | * |
436 | - * @return boolean |
|
436 | + * @return boolean|null |
|
437 | 437 | */ |
438 | 438 | public function validate() |
439 | 439 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Delete attachment |
51 | 51 | * |
52 | - * @return boolean |
|
52 | + * @return boolean|null |
|
53 | 53 | */ |
54 | 54 | function delete() |
55 | 55 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Save current attachment to the appropriate storage |
61 | 61 | * |
62 | - * @return boolean |
|
62 | + * @return boolean|null |
|
63 | 63 | */ |
64 | 64 | public function save() |
65 | 65 | { |
@@ -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) |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * |
115 | 115 | * @param string $login Loginname |
116 | 116 | * @param array $optionalData Optional data |
117 | - * @return integer |
|
117 | + * @return boolean |
|
118 | 118 | */ |
119 | 119 | public function checkLogin($login, Array $optionalData = null) |
120 | 120 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | /** |
127 | 127 | * Returns date formatted according to user defined format |
128 | 128 | * |
129 | - * @param string $date |
|
129 | + * @param string $unformattedDate |
|
130 | 130 | * @return string |
131 | 131 | */ |
132 | 132 | public function format($unformattedDate) |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * @param string $query |
60 | 60 | * @param string $table |
61 | 61 | * |
62 | - * @return array |
|
62 | + * @return string[] |
|
63 | 63 | */ |
64 | 64 | public function buildInsertQueries($query, $table) |
65 | 65 | { |