Skip to content

Commit 9c7feb7

Browse files
authored
support laravel 12
Support laravel 12
2 parents c812544 + 3d4a795 commit 9c7feb7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"require": {
2626
"php": "^8.2",
2727
"cosmastech/statsd-client-adapter": "^0.4",
28-
"illuminate/support": "^10.0|^11.0",
29-
"illuminate/contracts": "^10.0|^11.0"
28+
"illuminate/support": "^10.0|^11.0|^12.0",
29+
"illuminate/contracts": "^10.0|^11.0|^12.0"
3030
},
3131
"require-dev": {
3232
"phpunit/phpunit": "^11.2.5",
3333
"friendsofphp/php-cs-fixer": "^3.59",
3434
"league/statsd": "^2.0.0",
35-
"orchestra/testbench": "^9.1",
35+
"orchestra/testbench": "^9.1|^10.0",
3636
"laravel/facade-documenter": "dev-main",
3737
"phpstan/phpstan": "^1.11",
3838
"datadog/php-datadogstatsd": "^1.6.1",

src/Stats.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* @method static \Cosmastech\LaravelStatsDAdapter\AdapterManager forgetInstance(array|string|null $name = null)
1717
* @method static void purge(string|null $name = null)
1818
* @method static \Cosmastech\LaravelStatsDAdapter\AdapterManager extend(string $name, \Closure $callback)
19+
* @method static \Cosmastech\LaravelStatsDAdapter\AdapterManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
1920
* @method static void timing(string|UnitEnum $stat, float $durationMs, float $sampleRate = 1, array $tags = [])
2021
* @method static mixed time(callable $closure, string|UnitEnum $stat, float $sampleRate = 1, array $tags = [])
2122
* @method static void gauge(string|UnitEnum $stat, float $value, float $sampleRate = 1, array $tags = [])

0 commit comments

Comments
 (0)