doc bloc corrections

This commit is contained in:
El RIDO 2016-08-09 13:07:11 +02:00
parent c2efe2e609
commit 5b7b234821
4 changed files with 8 additions and 8 deletions

View file

@ -129,7 +129,7 @@ abstract class AbstractData
* @param string $pasteid * @param string $pasteid
* @param string $parentid * @param string $parentid
* @param string $commentid * @param string $commentid
* @return void * @return bool
*/ */
abstract public function existsComment($pasteid, $parentid, $commentid); abstract public function existsComment($pasteid, $parentid, $commentid);

View file

@ -306,7 +306,7 @@ class Database extends AbstractData
* *
* @access public * @access public
* @param string $pasteid * @param string $pasteid
* @return void * @return bool
*/ */
public function exists($pasteid) public function exists($pasteid)
{ {
@ -394,7 +394,7 @@ class Database extends AbstractData
* @param string $pasteid * @param string $pasteid
* @param string $parentid * @param string $parentid
* @param string $commentid * @param string $commentid
* @return void * @return bool
*/ */
public function existsComment($pasteid, $parentid, $commentid) public function existsComment($pasteid, $parentid, $commentid)
{ {

View file

@ -138,7 +138,7 @@ class Filesystem extends AbstractData
* *
* @access public * @access public
* @param string $pasteid * @param string $pasteid
* @return void * @return bool
*/ */
public function exists($pasteid) public function exists($pasteid)
{ {
@ -214,7 +214,7 @@ class Filesystem extends AbstractData
* @param string $pasteid * @param string $pasteid
* @param string $parentid * @param string $parentid
* @param string $commentid * @param string $commentid
* @return void * @return bool
*/ */
public function existsComment($pasteid, $parentid, $commentid) public function existsComment($pasteid, $parentid, $commentid)
{ {
@ -325,7 +325,7 @@ class Filesystem extends AbstractData
* @access private * @access private
* @static * @static
* @param string $dataid * @param string $dataid
* @return void * @return string
*/ */
private static function _dataid2path($dataid) private static function _dataid2path($dataid)
{ {
@ -341,7 +341,7 @@ class Filesystem extends AbstractData
* @access private * @access private
* @static * @static
* @param string $dataid * @param string $dataid
* @return void * @return string
*/ */
private static function _dataid2discussionpath($dataid) private static function _dataid2discussionpath($dataid)
{ {

View file

@ -110,7 +110,7 @@ abstract class AbstractModel
*/ */
public function setData($data) public function setData($data)
{ {
if (!sjcl::isValid($data)) { if (!Sjcl::isValid($data)) {
throw new Exception('Invalid data.', 61); throw new Exception('Invalid data.', 61);
} }
$this->_data->data = $data; $this->_data->data = $data;