diff --git a/js/privatebin.js b/js/privatebin.js index abc2e47e..8219cfdc 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -973,7 +973,6 @@ $(function() { this.showStatus(i18n._('Sending paste...'), true); var randomkey = sjcl.codec.base64.fromBits(sjcl.random.randomWords(8, 0), 0); - var cipherdata_attachment; var password = this.passwordInput.val(); if(files && files[0]) { diff --git a/lib/model/abstract.php b/lib/model/abstract.php index ba75a12b..5e0435d1 100644 --- a/lib/model/abstract.php +++ b/lib/model/abstract.php @@ -112,7 +112,7 @@ abstract class model_abstract * Get instance data. * * @access public - * @return stdObject + * @return stdClass */ abstract public function get(); diff --git a/lib/privatebin/abstract.php b/lib/privatebin/abstract.php index 8102c12f..8a6223fc 100644 --- a/lib/privatebin/abstract.php +++ b/lib/privatebin/abstract.php @@ -86,7 +86,7 @@ abstract class privatebin_abstract * Test if a paste exists. * * @access public - * @param string $dataid + * @param string $pasteid * @return bool */ abstract public function exists($pasteid); @@ -116,7 +116,7 @@ abstract class privatebin_abstract * Test if a comment exists. * * @access public - * @param string $dataid + * @param string $pasteid * @param string $parentid * @param string $commentid * @return void @@ -158,7 +158,7 @@ abstract class privatebin_abstract * @access public * @param array $comments * @param int|string $postdate - * @return void + * @return int|string */ protected function getOpenSlot(&$comments, $postdate) { diff --git a/lib/privatebin/data.php b/lib/privatebin/data.php index 354fbbe2..e1d125a9 100644 --- a/lib/privatebin/data.php +++ b/lib/privatebin/data.php @@ -124,7 +124,7 @@ class privatebin_data extends privatebin_abstract * Test if a paste exists. * * @access public - * @param string $dataid + * @param string $pasteid * @return void */ public function exists($pasteid) @@ -197,7 +197,7 @@ class privatebin_data extends privatebin_abstract * Test if a comment exists. * * @access public - * @param string $dataid + * @param string $pasteid * @param string $parentid * @param string $commentid * @return void