Skip to content

Commit ad6d852

Browse files
committed
Updated README.md.
Updated dependencies.
1 parent f8ebda8 commit ad6d852

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ The returned value will be something like:
7777
public readonly ?string 'proxy' => null;
7878

7979
// screen
80-
public readonly ?int 'width' => int 1080
81-
public readonly ?int 'height' => int 2116
82-
public readonly ?int 'dpi' => int 420
80+
public readonly ?int 'width' => int 1080;
81+
public readonly ?int 'height' => int 2116;
82+
public readonly ?int 'dpi' => int 420;
8383
public readonly ?float 'density' => null;
8484
public readonly ?bool 'darkmode' => null;;
8585
);
@@ -103,7 +103,7 @@ $hints = \hexydec\agentzero\agentzero::getHints();
103103
$az = \hexydec\agentzero\agentzero::parse($_SERVER['HTTP_USER_AGENT'], $hints);
104104
```
105105

106-
Note that by using the `Accept-CH` header, you may receive client hints on subsequent requests, if you need the client hints on first call, use the `Critical-CH` header instead.
106+
Note that by using the `Accept-CH` header, you may receive client hints on subsequent requests, if you need the client hints on first call, use the `Critical-CH` header instead (Warning: This will cause an extra round trip as the browser must re-request the first page).
107107

108108
### Browser Versions
109109

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)