diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/SiteCredential.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/SiteCredential.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/SiteCredential.php b/src/Wallabag/CoreBundle/Entity/SiteCredential.php index 58075e92..380f820d 100644 --- a/src/Wallabag/CoreBundle/Entity/SiteCredential.php +++ b/src/Wallabag/CoreBundle/Entity/SiteCredential.php | |||
@@ -188,7 +188,7 @@ class SiteCredential | |||
188 | */ | 188 | */ |
189 | public function timestamps() | 189 | public function timestamps() |
190 | { | 190 | { |
191 | if (is_null($this->createdAt)) { | 191 | if (null === $this->createdAt) { |
192 | $this->createdAt = new \DateTime(); | 192 | $this->createdAt = new \DateTime(); |
193 | } | 193 | } |
194 | } | 194 | } |