Skip to content

Commit 9280109

Browse files
committed
composer update
1 parent 8e79758 commit 9280109

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ensi/laravel-openapi-server-generator",
2+
"name": "c0rtez13/laravel-openapi-server-generator",
33
"description": "laravel openapi server generator",
44
"type": "library",
55
"license": "MIT",
@@ -10,10 +10,10 @@
1010
},
1111
"require-dev": {
1212
"friendsofphp/php-cs-fixer": "^3.2",
13-
"pestphp/pest": "^1.22 || ^2.0",
14-
"pestphp/pest-plugin-laravel": "^1.1 || ^2.0",
13+
"pestphp/pest": "^1.22 || ^2.0 || ^3.0",
14+
"pestphp/pest-plugin-laravel": "^1.1 || ^2.0 || ^3.0",
1515
"phpstan/extension-installer": "^1.3",
16-
"phpstan/phpstan": "^1.11",
16+
"phpstan/phpstan": "^1.11 || ^2.0",
1717
"spaze/phpstan-disallowed-calls": "^2.15",
1818
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0"
1919
},

src/Data/OpenApi3/OpenApi3ObjectProperty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function fillFromStdProperty(string $propertyName, stdClass $stdProperty)
5757
}
5858
}
5959

60-
public function getLaravelValidationsAndEnums(array $options, array &$validations = [], array &$enums = [], string $namePrefix = null): array
60+
public function getLaravelValidationsAndEnums(array $options, array &$validations = [], array &$enums = [], ?string $namePrefix = null): array
6161
{
6262
$name = "{$namePrefix}{$this->name}";
6363

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function do_with_all_of(stdClass $object, callable $fn): void
2222
}
2323

2424
if (!function_exists('console_warning')) {
25-
function console_warning(string $text, Throwable $e = null): void
25+
function console_warning(string $text, ?Throwable $e = null): void
2626
{
2727
$output = resolve(ConsoleOutput::class);
2828

0 commit comments

Comments
 (0)