Skip to content

Commit cd23ae2

Browse files
authored
Merge pull request #36 from C0rTeZ13/ensitech-273
ENSITECH-273
2 parents 8e79758 + e38fdf4 commit cd23ae2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)