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