diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-24 22:29:36 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-24 22:29:36 +0200 |
commit | eddda878a0ec375fa738e3228a72dd01b23e0fab (patch) | |
tree | 7bc8bb34a14d09f0e75ddc052e560486bb6d69b7 /src/Wallabag/CoreBundle/Entity | |
parent | b1afef30dc5527e5bf57c3eff60b05ee478a6014 (diff) | |
download | wallabag-eddda878a0ec375fa738e3228a72dd01b23e0fab.tar.gz wallabag-eddda878a0ec375fa738e3228a72dd01b23e0fab.tar.zst wallabag-eddda878a0ec375fa738e3228a72dd01b23e0fab.zip |
Update test
and some cleanup
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 67c2bb43..4d7e001b 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -627,7 +627,7 @@ class Entry | |||
627 | 627 | ||
628 | public function generateUuid() | 628 | public function generateUuid() |
629 | { | 629 | { |
630 | if (empty($this->uuid) || is_null($this->uuid)) { | 630 | if (null === $this->uuid) { |
631 | // @see http://blog.kevingomez.fr/til/2015/07/26/why-is-uniqid-slow/ for true parameter | 631 | // @see http://blog.kevingomez.fr/til/2015/07/26/why-is-uniqid-slow/ for true parameter |
632 | $this->uuid = uniqid('', true); | 632 | $this->uuid = uniqid('', true); |
633 | } | 633 | } |