forked from wallabag/wallabag
CS
This commit is contained in:
@ -35,12 +35,10 @@ class Config
|
||||
*/
|
||||
private $value;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@ -50,7 +48,7 @@ class Config
|
||||
/**
|
||||
* Set name
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $name
|
||||
* @return Config
|
||||
*/
|
||||
public function setName($name)
|
||||
@ -63,7 +61,7 @@ class Config
|
||||
/**
|
||||
* Get name
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -73,7 +71,7 @@ class Config
|
||||
/**
|
||||
* Set value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return Config
|
||||
*/
|
||||
public function setValue($value)
|
||||
@ -86,7 +84,7 @@ class Config
|
||||
/**
|
||||
* Get value
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
|
||||
@ -66,12 +66,10 @@ class Entries
|
||||
*/
|
||||
private $userId;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@ -81,7 +79,7 @@ class Entries
|
||||
/**
|
||||
* Set title
|
||||
*
|
||||
* @param string $title
|
||||
* @param string $title
|
||||
* @return Entries
|
||||
*/
|
||||
public function setTitle($title)
|
||||
@ -94,7 +92,7 @@ class Entries
|
||||
/**
|
||||
* Get title
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle()
|
||||
{
|
||||
@ -104,7 +102,7 @@ class Entries
|
||||
/**
|
||||
* Set url
|
||||
*
|
||||
* @param string $url
|
||||
* @param string $url
|
||||
* @return Entries
|
||||
*/
|
||||
public function setUrl($url)
|
||||
@ -117,7 +115,7 @@ class Entries
|
||||
/**
|
||||
* Get url
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
@ -127,7 +125,7 @@ class Entries
|
||||
/**
|
||||
* Set isRead
|
||||
*
|
||||
* @param string $isRead
|
||||
* @param string $isRead
|
||||
* @return Entries
|
||||
*/
|
||||
public function setIsRead($isRead)
|
||||
@ -140,7 +138,7 @@ class Entries
|
||||
/**
|
||||
* Get isRead
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getIsRead()
|
||||
{
|
||||
@ -150,13 +148,14 @@ class Entries
|
||||
public function toggleArchive()
|
||||
{
|
||||
$this->isRead = $this->getIsRead() ^ 1;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set isFav
|
||||
*
|
||||
* @param string $isFav
|
||||
* @param string $isFav
|
||||
* @return Entries
|
||||
*/
|
||||
public function setIsFav($isFav)
|
||||
@ -169,7 +168,7 @@ class Entries
|
||||
/**
|
||||
* Get isFav
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getIsFav()
|
||||
{
|
||||
@ -186,7 +185,7 @@ class Entries
|
||||
/**
|
||||
* Set content
|
||||
*
|
||||
* @param string $content
|
||||
* @param string $content
|
||||
* @return Entries
|
||||
*/
|
||||
public function setContent($content)
|
||||
@ -199,7 +198,7 @@ class Entries
|
||||
/**
|
||||
* Get content
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getContent()
|
||||
{
|
||||
@ -209,7 +208,7 @@ class Entries
|
||||
/**
|
||||
* Set userId
|
||||
*
|
||||
* @param string $userId
|
||||
* @param string $userId
|
||||
* @return Entries
|
||||
*/
|
||||
public function setUserId($userId)
|
||||
@ -222,7 +221,7 @@ class Entries
|
||||
/**
|
||||
* Get userId
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getUserId()
|
||||
{
|
||||
|
||||
@ -28,12 +28,10 @@ class Tags
|
||||
*/
|
||||
private $value;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@ -43,7 +41,7 @@ class Tags
|
||||
/**
|
||||
* Set value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return Tags
|
||||
*/
|
||||
public function setValue($value)
|
||||
@ -56,7 +54,7 @@ class Tags
|
||||
/**
|
||||
* Get value
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
|
||||
@ -35,12 +35,10 @@ class TagsEntries
|
||||
*/
|
||||
private $tagId;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@ -50,7 +48,7 @@ class TagsEntries
|
||||
/**
|
||||
* Set entryId
|
||||
*
|
||||
* @param integer $entryId
|
||||
* @param integer $entryId
|
||||
* @return TagsEntries
|
||||
*/
|
||||
public function setEntryId($entryId)
|
||||
@ -63,7 +61,7 @@ class TagsEntries
|
||||
/**
|
||||
* Get entryId
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getEntryId()
|
||||
{
|
||||
@ -73,7 +71,7 @@ class TagsEntries
|
||||
/**
|
||||
* Set tagId
|
||||
*
|
||||
* @param integer $tagId
|
||||
* @param integer $tagId
|
||||
* @return TagsEntries
|
||||
*/
|
||||
public function setTagId($tagId)
|
||||
@ -86,7 +84,7 @@ class TagsEntries
|
||||
/**
|
||||
* Get tagId
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getTagId()
|
||||
{
|
||||
|
||||
@ -4,7 +4,6 @@ namespace Wallabag\CoreBundle\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
use Symfony\Component\Security\Core\User\EquatableInterface;
|
||||
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
|
||||
|
||||
/**
|
||||
@ -71,7 +70,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@ -81,7 +80,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Set username
|
||||
*
|
||||
* @param string $username
|
||||
* @param string $username
|
||||
* @return Users
|
||||
*/
|
||||
public function setUsername($username)
|
||||
@ -94,7 +93,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Get username
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
@ -120,7 +119,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Set password
|
||||
*
|
||||
* @param string $password
|
||||
* @param string $password
|
||||
* @return Users
|
||||
*/
|
||||
public function setPassword($password)
|
||||
@ -133,7 +132,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Get password
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getPassword()
|
||||
{
|
||||
@ -143,7 +142,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Set name
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $name
|
||||
* @return Users
|
||||
*/
|
||||
public function setName($name)
|
||||
@ -156,7 +155,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Get name
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -166,7 +165,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Set email
|
||||
*
|
||||
* @param string $email
|
||||
* @param string $email
|
||||
* @return Users
|
||||
*/
|
||||
public function setEmail($email)
|
||||
@ -179,7 +178,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
/**
|
||||
* Get email
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getEmail()
|
||||
{
|
||||
@ -208,7 +207,7 @@ class Users implements AdvancedUserInterface, \Serializable
|
||||
*/
|
||||
public function unserialize($serialized)
|
||||
{
|
||||
list (
|
||||
list(
|
||||
$this->id,
|
||||
) = unserialize($serialized);
|
||||
}
|
||||
|
||||
@ -42,12 +42,10 @@ class UsersConfig
|
||||
*/
|
||||
private $value;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return integer
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@ -57,7 +55,7 @@ class UsersConfig
|
||||
/**
|
||||
* Set userId
|
||||
*
|
||||
* @param string $userId
|
||||
* @param string $userId
|
||||
* @return UsersConfig
|
||||
*/
|
||||
public function setUserId($userId)
|
||||
@ -70,7 +68,7 @@ class UsersConfig
|
||||
/**
|
||||
* Get userId
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getUserId()
|
||||
{
|
||||
@ -80,7 +78,7 @@ class UsersConfig
|
||||
/**
|
||||
* Set name
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $name
|
||||
* @return UsersConfig
|
||||
*/
|
||||
public function setName($name)
|
||||
@ -93,7 +91,7 @@ class UsersConfig
|
||||
/**
|
||||
* Get name
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
@ -103,7 +101,7 @@ class UsersConfig
|
||||
/**
|
||||
* Set value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return UsersConfig
|
||||
*/
|
||||
public function setValue($value)
|
||||
@ -116,7 +114,7 @@ class UsersConfig
|
||||
/**
|
||||
* Get value
|
||||
*
|
||||
* @return string
|
||||
* @return string
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user