mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
- fix err500 because expecting Datetime (signature), receive null (null IS ok); Could use NullableDatetime but too many changes required.
This commit is contained in:
@@ -62,7 +62,7 @@ class TokenManipulator implements ManipulatorInterface
|
||||
*
|
||||
* @return Token
|
||||
*/
|
||||
public function create(User $user = null, $type, DateTime $expiration = null, $data = null)
|
||||
public function create(User $user, $type, $expiration = null, $data = null)
|
||||
{
|
||||
$this->removeExpiredTokens();
|
||||
|
||||
|
Reference in New Issue
Block a user