Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoson committed Dec 28, 2023
1 parent 29b0f99 commit 50ff113
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 67 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"require": {
"getkirby/composer-installer": "^1.2",
"cbschuld/browser.php": "^1.9",
"matomo/device-detector": "^6.1",
"jaybizzle/crawler-detect": "^1.2"
},
Expand Down
57 changes: 1 addition & 56 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions lib/Analyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace arnoson\KirbyStats;

use Browser;
use DeviceDetector\DeviceDetector;
use Jaybizzle\CrawlerDetect\CrawlerDetect;

Expand Down Expand Up @@ -72,15 +71,6 @@ protected function userAgent(): string {
($this->userAgent = $_SERVER['HTTP_USER_AGENT'] ?? null);
}

/**
* Get the browser info.
*
* @return array|null
*/
protected function browser() {
return $this->browser ?? ($this->browser = new Browser($this->userAgent()));
}

/**
* Get the host name (without port).
*
Expand Down

0 comments on commit 50ff113

Please sign in to comment.