Skip to content

Commit e950250

Browse files
author
Marcel Corso
committed
lookup endpoints: use a constant on the example, it's prettier
1 parent ca8e4b5 commit e950250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lookup-hlr-view.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
$poolCount = 10;
1818
while($poolCount--) {
1919
$hlr = $MessageBird->lookupHLR->read($Hlr->msisdn);
20-
if ($hlr->status != 'sent') {
20+
if ($hlr->status != \MessageBird\Objects\Hlr::STATUS_SENT) {
2121
// we have something
2222
var_dump($hlr);
2323
break;

0 commit comments

Comments
 (0)