Skip to content

Commit 744ff04

Browse files
committed
Corrects method usage in ECT method
1 parent 500ea22 commit 744ff04

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"retina"
1515
],
1616
"homepage": "https://github.com/jonesiscoding/device",
17-
"version": "4.0.2",
17+
"version": "4.0.3",
1818
"suggest": {
1919
"deviscoding/poly-pointer": "Psuedo-Polyfill for (pointer:coarse). Easy support of touch devices."
2020
},

src/Device/Preferences.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function isSaveData()
6262
{
6363
return $header;
6464
}
65-
elseif (in_array($this->getHint(Hints::HEADER_ECT), ['slow-2g', '2g', '3g']))
65+
elseif (in_array($this->getHeader(Hints::HEADER_ECT), ['slow-2g', '2g', '3g']))
6666
{
6767
return true;
6868
}

0 commit comments

Comments
 (0)