Skip to content

Commit

Permalink
Update dependencies and fix return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-chetan committed Jan 18, 2024
1 parent c0cd3f3 commit 374d324
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 118 deletions.
2 changes: 1 addition & 1 deletion app/Repositories/PintConfigurationJsonRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function getPintConfig(): array

/**
* @param array<string, array<int, string>|string> $config
* @return array<string, array<int, string>|string>
* @return array<string, array<int, string>|string>
*/
protected function addPathToConfig(string $path, array $config): array
{
Expand Down
8 changes: 4 additions & 4 deletions app/Support/ReviveConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(
}

/**
* @return array<string, mixed>
* @return array<string, mixed>
*/
public static function loadLocal(): array
{
Expand Down Expand Up @@ -65,7 +65,7 @@ public static function loadLocal(): array

/**
* @param array<string, array<int, string>|string> $config
* @return array<string, array<int, string>|string>
* @return array<string, array<int, string>|string>
*/
public static function scopeConfigPaths(array $config): array
{
Expand All @@ -91,15 +91,15 @@ public static function scopeConfigPaths(array $config): array

/**
* @param array<int, string> $paths
* @return array<int, string>
* @return array<int, string>
*/
public static function expandWildcards(array $paths): array
{
return collect($paths)->flatMap(fn ($path) => static::globPath($path))->values()->toArray();
}

/**
* @return array<int, string>
* @return array<int, string>
*/
public static function globPath(string $path): array
{
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"mrchetan/php_standard": "^4.0.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.46",
"friendsofphp/php-cs-fixer": "v3.47.1",
"laravel-zero/framework": "^v10.3",
"laravel/pint": "v1.13.8",
"laravel/pint": "v1.13.9",
"nunomaduro/termwind": "v1.15.1",
"pestphp/pest": "^v2.30",
"rector/rector": "^0.19.0",
"pestphp/pest": "v2.31.0",
"rector/rector": "^0.19.1",
"spatie/invade": "^1.1.1",
"tightenco/tlint": "^9.2"
},
Expand Down
Loading

0 comments on commit 374d324

Please sign in to comment.