mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Add created/updated setter consistence
This commit is contained in:
@@ -133,7 +133,7 @@ class AuthFailure
|
||||
* @param \DateTime $created
|
||||
* @return AuthFailure
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
|
@@ -271,7 +271,7 @@ class Basket
|
||||
* @param \DateTime $created
|
||||
* @return Basket
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -294,7 +294,7 @@ class Basket
|
||||
* @param \DateTime $updated
|
||||
* @return Basket
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -171,7 +171,7 @@ class BasketElement
|
||||
* @param \DateTime $created
|
||||
* @return BasketElement
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -194,7 +194,7 @@ class BasketElement
|
||||
* @param \DateTime $updated
|
||||
* @return BasketElement
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -267,4 +267,12 @@ class FtpCredential
|
||||
{
|
||||
return $this->updated;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $updated
|
||||
*/
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
}
|
||||
}
|
||||
|
@@ -117,7 +117,7 @@ class LazaretAttribute
|
||||
* @param \DateTime $created
|
||||
* @return LazaretAttribute
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -140,7 +140,7 @@ class LazaretAttribute
|
||||
* @param \DateTime $updated
|
||||
* @return LazaretAttribute
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -289,7 +289,7 @@ class LazaretFile
|
||||
* @param \DateTime $created
|
||||
* @return LazaretFile
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -312,7 +312,7 @@ class LazaretFile
|
||||
* @param \DateTime $updated
|
||||
* @return LazaretFile
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -116,7 +116,7 @@ class LazaretSession
|
||||
* @param \DateTime $created
|
||||
* @return LazaretSession
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -139,7 +139,7 @@ class LazaretSession
|
||||
* @param \DateTime $updated
|
||||
* @return LazaretSession
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -362,7 +362,7 @@ class Session
|
||||
* @param \DateTime $created
|
||||
* @return Session
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -385,7 +385,7 @@ class Session
|
||||
* @param \DateTime $updated
|
||||
* @return Session
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -112,7 +112,7 @@ class SessionModule
|
||||
* @param \DateTime $updated
|
||||
* @return SessionModule
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -158,7 +158,7 @@ class StoryWZ
|
||||
* @param \DateTime $created
|
||||
* @return StoryWZ
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
|
@@ -139,7 +139,7 @@ class UsrAuthProvider
|
||||
* @param \DateTime $updated
|
||||
* @return UsrAuthProvider
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
@@ -162,7 +162,7 @@ class UsrAuthProvider
|
||||
* @param \DateTime $created
|
||||
* @return UsrAuthProvider
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
|
@@ -103,7 +103,7 @@ class UsrList
|
||||
* @param \DateTime $created
|
||||
* @return UsrList
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -126,7 +126,7 @@ class UsrList
|
||||
* @param \DateTime $updated
|
||||
* @return UsrList
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -100,7 +100,7 @@ class UsrListEntry
|
||||
* @param \DateTime $created
|
||||
* @return UsrListEntry
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -123,7 +123,7 @@ class UsrListEntry
|
||||
* @param \DateTime $updated
|
||||
* @return UsrListEntry
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -135,7 +135,7 @@ class UsrListOwner
|
||||
* @param \DateTime $created
|
||||
* @return UsrListOwner
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -158,7 +158,7 @@ class UsrListOwner
|
||||
* @param \DateTime $updated
|
||||
* @return UsrListOwner
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -117,7 +117,7 @@ class ValidationData
|
||||
* @param \DateTime $updated
|
||||
* @return ValidationData
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
@@ -128,7 +128,7 @@ class ValidationSession
|
||||
* @param \DateTime $created
|
||||
* @return ValidationSession
|
||||
*/
|
||||
public function setCreated($created)
|
||||
public function setCreated(\DateTime $created)
|
||||
{
|
||||
$this->created = $created;
|
||||
|
||||
@@ -151,7 +151,7 @@ class ValidationSession
|
||||
* @param \DateTime $updated
|
||||
* @return ValidationSession
|
||||
*/
|
||||
public function setUpdated($updated)
|
||||
public function setUpdated(\DateTime $updated)
|
||||
{
|
||||
$this->updated = $updated;
|
||||
|
||||
|
Reference in New Issue
Block a user