mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
fixing some documentation issues detected by scrutinizer-ci
This commit is contained in:
parent
85b348d39a
commit
c13caee981
|
@ -20,11 +20,11 @@ spl_autoload_register('auto::loader');
|
||||||
class auto
|
class auto
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* strips slashes deeply
|
* includes file for given class name
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @static
|
* @static
|
||||||
* @param mixed $value
|
* @param string $class_name
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public static function loader($class_name)
|
public static function loader($class_name)
|
||||||
|
|
|
@ -218,10 +218,9 @@ class configuration
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get a key from the configuration, typically the main section or all keys
|
* get a section from the configuration, must exist
|
||||||
*
|
*
|
||||||
* @param string $key if empty, return all configuration options
|
* @param string $section
|
||||||
* @param string $section defaults to main
|
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
* return mixed
|
* return mixed
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -486,7 +486,7 @@ class zerobin
|
||||||
* prepares JSON encoded status message
|
* prepares JSON encoded status message
|
||||||
*
|
*
|
||||||
* @access private
|
* @access private
|
||||||
* @param bool $status
|
* @param int $status
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $other
|
* @param array $other
|
||||||
* @return void
|
* @return void
|
||||||
|
|
|
@ -69,7 +69,7 @@ abstract class zerobin_abstract
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param string $pasteid
|
* @param string $pasteid
|
||||||
* @return string
|
* @return stdClass|false
|
||||||
*/
|
*/
|
||||||
abstract public function read($pasteid);
|
abstract public function read($pasteid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user