Skip to content

Commit d5b6ac4

Browse files
committed
Update Rector and apply changes
1 parent bfe60b6 commit d5b6ac4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"friendsofphp/php-cs-fixer": "^3.50",
2323
"geoip2/geoip2": "^3.0",
2424
"orchestra/testbench": "^8.8 || ^9.0",
25-
"phpstan/phpstan": "^1.10",
25+
"phpstan/phpstan": "^2.1",
2626
"phpunit/phpunit": "^10.5 || ^11.0",
27-
"rector/rector": "^1.2",
27+
"rector/rector": "^2.0",
2828
"squizlabs/php_codesniffer": "^3.9",
2929
"vimeo/psalm": "^5.25"
3030
},

Diff for: src/GeoIP.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@ class GeoIP
4343

4444
/**
4545
* Cache manager instance.
46-
*
47-
* @var \InteractionDesignFoundation\GeoIP\Cache
4846
*/
49-
protected $cache;
47+
protected \InteractionDesignFoundation\GeoIP\Cache $cache;
5048

5149
/** Default Location data. */
5250
protected array $default_location = [

0 commit comments

Comments
 (0)