mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
correcting namespaces
This commit is contained in:
parent
18151e6e9e
commit
9ce41022cf
@ -12,7 +12,6 @@
|
||||
|
||||
namespace PrivateBin\Data;
|
||||
|
||||
use PrivateBin\Model\Paste;
|
||||
use PrivateBin\Persistence\DataStore;
|
||||
|
||||
/**
|
||||
@ -72,7 +71,7 @@ class Filesystem extends AbstractData
|
||||
*
|
||||
* @access public
|
||||
* @param string $pasteid
|
||||
* @return stdClass|false
|
||||
* @return \stdClass|false
|
||||
*/
|
||||
public function read($pasteid)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@ class Model
|
||||
/**
|
||||
* Data storage.
|
||||
*
|
||||
* @var AbstractData
|
||||
* @var Data\AbstractData
|
||||
*/
|
||||
private $_store = null;
|
||||
|
||||
@ -75,7 +75,7 @@ class Model
|
||||
/**
|
||||
* Gets, and creates if neccessary, a store object
|
||||
*
|
||||
* @return AbstractData
|
||||
* @return Data\AbstractData
|
||||
*/
|
||||
private function _getStore()
|
||||
{
|
||||
|
@ -38,7 +38,7 @@ class Comment extends AbstractModel
|
||||
*
|
||||
* @access public
|
||||
* @throws Exception
|
||||
* @return stdClass
|
||||
* @return \stdClass
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
|
@ -28,8 +28,8 @@ class Paste extends AbstractModel
|
||||
* Get paste data.
|
||||
*
|
||||
* @access public
|
||||
* @throws Exception
|
||||
* @return stdClass
|
||||
* @throws \Exception
|
||||
* @return \stdClass
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ class DataStore extends AbstractPersistence
|
||||
* @access public
|
||||
* @static
|
||||
* @param string $filename
|
||||
* @return stdClass|false $data
|
||||
* @return \stdClass|false $data
|
||||
*/
|
||||
public static function get($filename)
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ class PurgeLimiter extends AbstractPersistence
|
||||
*
|
||||
* @access public
|
||||
* @static
|
||||
* @throws Exception
|
||||
* @throws \Exception
|
||||
* @return bool
|
||||
*/
|
||||
public static function canPurge()
|
||||
|
@ -90,7 +90,7 @@ class TrafficLimiter extends AbstractPersistence
|
||||
*
|
||||
* @access public
|
||||
* @static
|
||||
* @throws Exception
|
||||
* @throws \Exception
|
||||
* @return bool
|
||||
*/
|
||||
public static function canPass()
|
||||
|
Loading…
Reference in New Issue
Block a user