Skip to content

Commit 8620a7a

Browse files
author
riccardodallavia
committed
FIX hasAnsweredCurrentNps return true when there is no current NPS
1 parent c4edf1f commit 8620a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CanAnswerNps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function hasAnsweredCurrentNps(): bool
1212
$nps = $this->findCurrentNps();
1313

1414
if (is_null($nps)) {
15-
return false;
15+
return true;
1616
}
1717

1818
return $this->hasAnsweredNps($nps);

0 commit comments

Comments
 (0)