Automatic pass to convert with php-cs-fixer
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<?php
|
||||
|
||||
/** DomFramework
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
*/
|
||||
/**
|
||||
* DomFramework
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
namespace Domframework;
|
||||
|
||||
@@ -15,37 +16,45 @@ namespace Domframework;
|
||||
*/
|
||||
class RssItem
|
||||
{
|
||||
/** The title of the item
|
||||
*/
|
||||
/**
|
||||
* The title of the item
|
||||
*/
|
||||
private $title;
|
||||
|
||||
/** The URL of the item
|
||||
*/
|
||||
/**
|
||||
* The URL of the item
|
||||
*/
|
||||
private $link;
|
||||
|
||||
/** The item synopsis
|
||||
*/
|
||||
/**
|
||||
* The item synopsis
|
||||
*/
|
||||
private $description;
|
||||
|
||||
/** Email address of the author of the item
|
||||
*/
|
||||
/**
|
||||
* Email address of the author of the item
|
||||
*/
|
||||
private $author;
|
||||
|
||||
/** URL of a page for comments relating to the item
|
||||
*/
|
||||
/**
|
||||
* URL of a page for comments relating to the item
|
||||
*/
|
||||
private $comments;
|
||||
|
||||
/** A string that uniquely identifies the item
|
||||
*/
|
||||
/**
|
||||
* A string that uniquely identifies the item
|
||||
*/
|
||||
private $guid;
|
||||
|
||||
/** Indicates when the item was published
|
||||
*/
|
||||
/**
|
||||
* Indicates when the item was published
|
||||
*/
|
||||
private $pubDate;
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $title The title to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $title The title to get/set
|
||||
*/
|
||||
public function title($title = null)
|
||||
{
|
||||
if ($title === null) {
|
||||
@@ -61,9 +70,10 @@ class RssItem
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $link The link to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $link The link to get/set
|
||||
*/
|
||||
public function link($link = null)
|
||||
{
|
||||
if ($link === null) {
|
||||
@@ -83,9 +93,10 @@ class RssItem
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $description The description to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $description The description to get/set
|
||||
*/
|
||||
public function description($description = null)
|
||||
{
|
||||
if ($description === null) {
|
||||
@@ -104,9 +115,10 @@ class RssItem
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $author The author to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $author The author to get/set
|
||||
*/
|
||||
public function author($author = null)
|
||||
{
|
||||
if ($author === null) {
|
||||
@@ -122,9 +134,10 @@ class RssItem
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $comments The comments to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $comments The comments to get/set
|
||||
*/
|
||||
public function comments($comments = null)
|
||||
{
|
||||
if ($comments === null) {
|
||||
@@ -143,9 +156,10 @@ class RssItem
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $guid The guid to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $guid The guid to get/set
|
||||
*/
|
||||
public function guid($guid = null)
|
||||
{
|
||||
if ($guid === null) {
|
||||
@@ -161,9 +175,10 @@ class RssItem
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** Get/Set the value
|
||||
* @param string|null $pubDate The pubDate to get/set
|
||||
*/
|
||||
/**
|
||||
* Get/Set the value
|
||||
* @param string|null $pubDate The pubDate to get/set
|
||||
*/
|
||||
public function pubDate($pubDate = null)
|
||||
{
|
||||
if ($pubDate === null) {
|
||||
|
||||
Reference in New Issue
Block a user