diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-12-12 10:04:11 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-12-12 10:04:11 -0100 |
commit | dce5299325807a047553b33d70f888f6840d02ec (patch) | |
tree | 608de77924e9293194efe2466b1fd517359ac307 /lib | |
parent | a7cee453c7a4359bb8202a42c182cb45bd5b29bf (diff) |
sizeof() -> empty()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/QueueController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/QueueController.php b/lib/Controller/QueueController.php index f5ba6a43..4d32b12d 100644 --- a/lib/Controller/QueueController.php +++ b/lib/Controller/QueueController.php @@ -95,7 +95,7 @@ class QueueController extends Controller { public function asyncWithToken(string $token) { $requests = $this->queueService->getRequestFromToken($token, RequestQueue::STATUS_STANDBY); - if (sizeof($requests) > 0) { + if (!empty($requests)) { $this->async(); $this->activityService->manageInit(); |