Skip to content

Commit 3445f3a

Browse files
redjanymredjanym
authored andcommitted
SensioLabsInsight fixes
1 parent d1f6bb1 commit 3445f3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Entity/DeviceNotification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function setDeviceTokens($tokens)
5858
*/
5959
public function getDeviceToken()
6060
{
61-
if ($this->deviceTokens->isEmpty() == false) {
61+
if ($this->deviceTokens->isEmpty() === false) {
6262
return $this->deviceTokens->first();
6363
} else {
6464
throw new \InvalidArgumentException('The Mobile Notification must have a Device Token!');
@@ -70,7 +70,7 @@ public function getDeviceToken()
7070
*/
7171
public function getDeviceTokens()
7272
{
73-
if ($this->deviceTokens->isEmpty() == false) {
73+
if ($this->deviceTokens->isEmpty() === false) {
7474
return $this->deviceTokens->toArray();
7575
} else {
7676
throw new \InvalidArgumentException('The Mobile Notification must have a Device Token!');

0 commit comments

Comments
 (0)