Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Aug 20, 2023
1 parent 635b1bf commit 32b1f84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require": {
"php": "^8",
"guzzlehttp/guzzle": "^7",
"illuminate/support": "^9.0"
"illuminate/support": "^9.0|^10.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0"
Expand Down
10 changes: 0 additions & 10 deletions src/Collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,6 @@ public function batch()
if(!config('beacon.enabled') || empty(config('beacon.api_key')))
return;

// $data = Cache::get(config('beacon.cache_key') . '_' . $this->metric->type);

// if(is_array($data)){
// $data[] = $this->metric;
// }
// else {
// $data = [];
// $data[] = $this->metric;
// }

Cache::put(config('beacon.cache_key') . $this->metric->type.microtime(true), $this->metric);

}
Expand Down

0 comments on commit 32b1f84

Please sign in to comment.