correcting namespaces

This commit is contained in:
El RIDO 2018-11-19 13:07:25 +01:00
parent 18151e6e9e
commit 9ce41022cf
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
7 changed files with 9 additions and 10 deletions

View File

@ -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)
{ {

View File

@ -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()
{ {

View File

@ -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()
{ {

View File

@ -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()
{ {

View File

@ -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)
{ {

View File

@ -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()

View File

@ -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()