トップ / リリース
v13.4.0
追加
33
Illuminate\Foundation\Http\Attributes\FailOnUnknownFields
Illuminate\Foundation\Http\FormRequest
failOnUnknownFields
変更後
static failOnUnknownFields(bool $value = true): void [@param bool $value, @return void]
flushState
変更後
static flushState(): void [@return void]
Illuminate\Queue\Attributes\Delay
__construct
変更後
__construct(int $delay) [@param int $delay]
Illuminate\Queue\BeanstalkdQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
Illuminate\Queue\DatabaseQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
Illuminate\Queue\FailoverQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
Illuminate\Queue\Jobs\InspectedJob
__construct
変更後
__construct(?string $uuid, ?string $name, int $attempts, ?Illuminate\Support\Carbon $createdAt) [@param string|null $uuid, @param string|null $name, @param int $attempts, @param \Illuminate\Support\Carbon|null $createdAt]
fromPayload
変更後
static fromPayload(string $payload, ?int $attempts = null): static [@param string $payload, @param int|null $attempts, @return static]
Illuminate\Queue\NullQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
Illuminate\Queue\RedisQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
Illuminate\Queue\SqsQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
Illuminate\Queue\SyncQueue
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
Illuminate\Support\Facades\Queue
delayedJobs
変更後
@method static delayedJobs(string|null $queue = null): \Illuminate\Support\Collection
pendingJobs
変更後
@method static pendingJobs(string|null $queue = null): \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>
reservedJobs
変更後
@method static reservedJobs(string|null $queue = null): \Illuminate\Support\Collection
Illuminate\Support\Testing\Fakes\QueueFake
delayedJobs
変更後
delayedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
pendingJobs
変更後
pendingJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection<int, \Illuminate\Queue\Jobs\InspectedJob>]
reservedJobs
変更後
reservedJobs($queue = null): Illuminate\Support\Collection [@param string|null $queue, @return \Illuminate\Support\Collection]
シグネチャ変更
80
Illuminate\Foundation\Configuration\Middleware
redirectGuestsTo
変更前
redirectGuestsTo(callable|string $redirect) [@param callable|string $redirect, @return $this]
変更後
redirectGuestsTo(callable|string|null $redirect) [@param callable|string|null $redirect, @return $this]
Illuminate\Support\Carbon
minus
変更前
minus(int $years = 0, int $months = 0, int $weeks = 0, int $days = 0, int $hours = 0, int $minutes = 0, int $seconds = 0, int $microseconds = 0): static
変更後
minus(int $years = 0, int $months = 0, int $weeks = 0, int $days = 0, int $hours = 0, int $minutes = 0, int $seconds = 0, int $microseconds = 0, ?bool $overflow = null): static
plus
変更前
plus(int $years = 0, int $months = 0, int $weeks = 0, int $days = 0, int $hours = 0, int $minutes = 0, int $seconds = 0, int $microseconds = 0): static
変更後
plus(int $years = 0, int $months = 0, int $weeks = 0, int $days = 0, int $hours = 0, int $minutes = 0, int $seconds = 0, int $microseconds = 0, ?bool $overflow = null): static
Illuminate\Support\Facades\App
build
変更前
@method static build(\Closure|string $concrete): object
変更後
@method static build(\Closure|string<object> $concrete): object
call
変更前
@method static call(callable|string $callback, array $parameters = [], string|null $defaultMethod = null): mixed
変更後
@method static call(callable|string $callback, array<string, mixed> $parameters = [], string|null $defaultMethod = null): mixed
currentEnvironmentIs
変更前
@method static currentEnvironmentIs(array|string $environments): bool
変更後
@method static currentEnvironmentIs(array<int, string>|string $environments): bool
factory
変更前
@method static factory(string $abstract): \Closure|\Closure
変更後
@method static factory(string|string<object> $abstract): \Closure|\Closure
get
変更前
@method static get(string $id): object|mixed
変更後
@method static get(string|string<object> $id): object|mixed
getLoadedProviders
変更前
@method static getLoadedProviders(): array
変更後
@method static getLoadedProviders(): array<string, bool>
make
変更前
@method static make(string $abstract, array $parameters = []): object|mixed
変更後
@method static make(string|string<object> $abstract, array $parameters = []): object|mixed
makeWith
変更前
@method static makeWith(string|callable $abstract, array $parameters = []): object|mixed
変更後
@method static makeWith(string|string<object>|callable $abstract, array $parameters = []): object|mixed
Illuminate\Support\Facades\Bus
batched
変更前
@method static batched(callable $callback): \Illuminate\Support\Collection
変更後
@method static batched(callable $callback): \Illuminate\Support\Collection<int, \Illuminate\Bus\PendingBatch>
Illuminate\Support\Facades\Cache
array
変更前
@method static array(\UnitEnum|string $key, \Closure|array|null $default = null): array
変更後
@method static array(\UnitEnum|string $key, \Closure|array<array-key, mixed>|null $default = null): array<array-key, mixed>
deleteMultiple
変更前
@method static deleteMultiple(iterable $keys): bool
変更後
@method static deleteMultiple(iterable<string> $keys): bool
getMultiple
変更前
@method static getMultiple(iterable $keys, mixed $default = null): iterable
変更後
@method static getMultiple(iterable<string> $keys, mixed $default = null): iterable
Illuminate\Support\Facades\Config
array
変更前
@method static array(string $key, \Closure|array|null $default = null): array
変更後
@method static array(string $key, \Closure|array<array-key, mixed>|null $default = null): array<array-key, mixed>
collection
変更前
@method static collection(string $key, \Closure|array|null $default = null): \Illuminate\Support\Collection
変更後
@method static collection(string $key, \Closure|array<array-key, mixed>|null $default = null): \Illuminate\Support\Collection<array-key, mixed>
getMany
変更前
@method static getMany(array $keys): array
変更後
@method static getMany(array<string|int, mixed> $keys): array<string, mixed>
Illuminate\Support\Facades\Context
add
変更前
@method static add(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
変更後
@method static add(string|array<string, mixed> $key, mixed $value = null): \Illuminate\Log\Context\Repository
addHidden
変更前
@method static addHidden(string|array $key, mixed $value = null): \Illuminate\Log\Context\Repository
変更後
@method static addHidden(string|array<string, mixed> $key, mixed $value = null): \Illuminate\Log\Context\Repository
all
変更前
@method static all(): array
変更後
@method static all(): array<string, mixed>
allHidden
変更前
@method static allHidden(): array
変更後
@method static allHidden(): array<string, mixed>
except
変更前
@method static except(array $keys): array
変更後
@method static except(array<int, string> $keys): array<string, mixed>
exceptHidden
変更前
@method static exceptHidden(array $keys): array
変更後
@method static exceptHidden(array<int, string> $keys): array<string, mixed>
forget
変更前
@method static forget(string|array $key): \Illuminate\Log\Context\Repository
変更後
@method static forget(string|array<int, string> $key): \Illuminate\Log\Context\Repository
forgetHidden
変更前
@method static forgetHidden(string|array $key): \Illuminate\Log\Context\Repository
変更後
@method static forgetHidden(string|array<int, string> $key): \Illuminate\Log\Context\Repository
only
変更前
@method static only(array $keys): array
変更後
@method static only(array<int, string> $keys): array<string, mixed>
onlyHidden
変更前
@method static onlyHidden(array $keys): array
変更後
@method static onlyHidden(array<int, string> $keys): array<string, mixed>
scope
変更前
@method static scope(callable $callback, array $data = [], array $hidden = []): mixed
変更後
@method static scope(callable $callback, array<string, mixed> $data = [], array<string, mixed> $hidden = []): mixed
Illuminate\Support\Facades\DB
cursor
変更前
@method static cursor(string $query, array $bindings = [], bool $useReadPdo = true, array $fetchUsing = []): \Generator
変更後
@method static cursor(string $query, array $bindings = [], bool $useReadPdo = true, array $fetchUsing = []): \Generator<int, \stdClass>
getConnections
変更前
@method static getConnections(): array
変更後
@method static getConnections(): array<string, \Illuminate\Database\Connection>
Illuminate\Support\Facades\Exceptions
assertNotReported
変更前
@method static assertNotReported(\Closure|string $exception): void
変更後
@method static assertNotReported(\Closure|string<\Throwable> $exception): void
assertReported
変更前
@method static assertReported(\Closure|string $exception): void
変更後
@method static assertReported(\Closure|string<\Throwable> $exception): void
level
変更前
@method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler
変更後
@method static level(string<\Throwable> $type, string $level): \Illuminate\Foundation\Exceptions\Handler
reported
変更前
@method static reported(): array
変更後
@method static reported(): array<\Throwable>
Illuminate\Support\Facades\Hash
getDrivers
変更前
@method static getDrivers(): array
変更後
@method static getDrivers(): array<string, mixed>
Illuminate\Support\Facades\Http
allowStrayRequests
変更前
@method static allowStrayRequests(array|null $only = null): \Illuminate\Http\Client\Factory
変更後
@method static allowStrayRequests(array<int, string>|null $only = null): \Illuminate\Http\Client\Factory
assertSentInOrder
変更前
@method static assertSentInOrder(array $callbacks): void
変更後
@method static assertSentInOrder(array<string|\Closure|callable> $callbacks): void
async
変更前
@method static async(bool $async = true): \Illuminate\Http\Client\PendingRequest
変更後
@method static async(bool $async = true): \Illuminate\Http\Client\PendingRequest<bool>
failedRequest
変更前
@method static failedRequest(array|string|null $body = null, int $status = 200, array $headers = []): \Illuminate\Http\Client\RequestException
変更後
@method static failedRequest(array|string|null $body = null, int $status = 200, array<string, mixed> $headers = []): \Illuminate\Http\Client\RequestException
pool
変更前
@method static pool(callable $callback, int|null $concurrency = 0): array
変更後
@method static pool(callable $callback, int|null $concurrency = 0): array<array-key, \Illuminate\Http\Client\Response|\Throwable>
psr7Response
変更前
@method static psr7Response(array|string|null $body = null, int $status = 200, array $headers = []): \GuzzleHttp\Psr7\Response
変更後
@method static psr7Response(array|string|null $body = null, int $status = 200, array<string, mixed> $headers = []): \GuzzleHttp\Psr7\Response
recorded
変更前
@method static recorded(\Closure|callable $callback = null): \Illuminate\Support\Collection
変更後
@method static recorded(\Closure|callable $callback = null): \Illuminate\Support\Collection<int, array>
truncateExceptionsAt
変更前
@method static truncateExceptionsAt(int $length): \Illuminate\Http\Client\PendingRequest
変更後
@method static truncateExceptionsAt(int<int, mixed> $length): \Illuminate\Http\Client\PendingRequest
withAttributes
変更前
@method static withAttributes(array $attributes): \Illuminate\Http\Client\PendingRequest
変更後
@method static withAttributes(array<array-key, mixed> $attributes): \Illuminate\Http\Client\PendingRequest
Illuminate\Support\Facades\MaintenanceMode
getDrivers
変更前
@method static getDrivers(): array
変更後
@method static getDrivers(): array<string, mixed>
Illuminate\Support\Facades\Notification
getDrivers
変更前
@method static getDrivers(): array
変更後
@method static getDrivers(): array<string, mixed>
Illuminate\Support\Facades\Process
command
変更前
@method static command(array|string $command): \Illuminate\Process\PendingProcess
変更後
@method static command(array<array-key, string>|string $command): \Illuminate\Process\PendingProcess
run
変更前
@method static run(array|string|null $command = null, callable|null $output = null): \Illuminate\Contracts\Process\ProcessResult
変更後
@method static run(array<array-key, string>|string|null $command = null, callable|null $output = null): \Illuminate\Contracts\Process\ProcessResult
start
変更前
@method static start(array|string|null $command = null, callable|null $output = null): \Illuminate\Process\InvokedProcess
変更後
@method static start(array<array-key, string>|string|null $command = null, callable|null $output = null): \Illuminate\Process\InvokedProcess
Illuminate\Support\Facades\Queue
listenersPushed
変更前
@method static listenersPushed(string $listenerClass, \Closure|null $callback = null): \Illuminate\Support\Collection
変更後
@method static listenersPushed(string $listenerClass, \Closure|null $callback = null): \Illuminate\Support\Collection<int, \Illuminate\Events\CallQueuedListener>
pushedRaw
変更前
@method static pushedRaw(null|\Closure $callback = null): \Illuminate\Support\Collection
変更後
@method static pushedRaw(null|\Closure $callback = null): \Illuminate\Support\Collection<int, mixed>
rawPushes
変更前
@method static rawPushes(): array
変更後
@method static rawPushes(): array<mixed>
Illuminate\Support\Facades\Request
allFiles
変更前
@method static allFiles(): array
変更後
@method static allFiles(): array<string, \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]>
enums
変更前
@method static enums(string $key, string $enumClass): \BackedEnum[]
変更後
@method static enums(string $key, string<\BackedEnum> $enumClass): \BackedEnum[]
file
変更前
@method static file(string|null $key = null, mixed $default = null): array|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
変更後
@method static file(string|null $key = null, mixed $default = null): array<string, \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]>|\Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|null
Illuminate\Support\Facades\Schedule
daysOfMonth
変更前
@method static daysOfMonth(array|int ...$days): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static daysOfMonth(array<int<int, int>>|int<int, int> ...$days): \Illuminate\Console\Scheduling\PendingEventAttributes
hourlyAt
変更前
@method static hourlyAt(array|string|int|int[] $offset): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static hourlyAt(array|string|int<int, int>|int<int, int>[] $offset): \Illuminate\Console\Scheduling\PendingEventAttributes
monthlyOn
変更前
@method static monthlyOn(int $dayOfMonth = 1, string $time = '0:0'): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static monthlyOn(int<int, int> $dayOfMonth = 1, string $time = '0:0'): \Illuminate\Console\Scheduling\PendingEventAttributes
twiceDaily
変更前
@method static twiceDaily(int $first = 1, int $second = 13): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static twiceDaily(int<int, int> $first = 1, int<int, int> $second = 13): \Illuminate\Console\Scheduling\PendingEventAttributes
twiceDailyAt
変更前
@method static twiceDailyAt(int $first = 1, int $second = 13, int $offset = 0): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static twiceDailyAt(int<int, int> $first = 1, int<int, int> $second = 13, int<int, int> $offset = 0): \Illuminate\Console\Scheduling\PendingEventAttributes
twiceMonthly
変更前
@method static twiceMonthly(int $first = 1, int $second = 16, string $time = '0:0'): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static twiceMonthly(int<int, int> $first = 1, int<int, int> $second = 16, string $time = '0:0'): \Illuminate\Console\Scheduling\PendingEventAttributes
yearlyOn
変更前
@method static yearlyOn(int $month = 1, int|string $dayOfMonth = 1, string $time = '0:0'): \Illuminate\Console\Scheduling\PendingEventAttributes
変更後
@method static yearlyOn(int $month = 1, int<int, int>|string $dayOfMonth = 1, string $time = '0:0'): \Illuminate\Console\Scheduling\PendingEventAttributes
Illuminate\Support\Facades\Schema
dropColumns
変更前
@method static dropColumns(string $table, string|array $columns): void
変更後
@method static dropColumns(string $table, string|array<string> $columns): void
getColumnListing
変更前
@method static getColumnListing(string $table): array
変更後
@method static getColumnListing(string $table): array<string>
getColumns
変更前
@method static getColumns(string $table): array
変更後
@method static getColumns(string $table): array<array>
getIndexes
変更前
@method static getIndexes(string $table): array
変更後
@method static getIndexes(string $table): array<array>
getIndexListing
変更前
@method static getIndexListing(string $table): array
変更後
@method static getIndexListing(string $table): array<string>
getSchemas
変更前
@method static getSchemas(): array
変更後
@method static getSchemas(): array<array>
getTableListing
変更前
@method static getTableListing(string|string[]|null $schema = null, bool $schemaQualified = true): array
変更後
@method static getTableListing(string|string[]|null $schema = null, bool $schemaQualified = true): array<string>
getTables
変更前
@method static getTables(string|string[]|null $schema = null): array
変更後
@method static getTables(string|string[]|null $schema = null): array<array>
getTypes
変更前
@method static getTypes(string|string[]|null $schema = null): array
変更後
@method static getTypes(string|string[]|null $schema = null): array<array>
getViews
変更前
@method static getViews(string|string[]|null $schema = null): array
変更後
@method static getViews(string|string[]|null $schema = null): array<array>
hasColumns
変更前
@method static hasColumns(string $table, array $columns): bool
変更後
@method static hasColumns(string $table, array<string> $columns): bool
Illuminate\Support\Facades\Session
getDrivers
変更前
@method static getDrivers(): array
変更後
@method static getDrivers(): array<string, mixed>
Illuminate\Support\Facades\Storage
allDirectories
変更前
@method static allDirectories(string|null $directory = null): array
変更後
@method static allDirectories(string|null $directory = null): array<string>
allFiles
変更前
@method static allFiles(string|null $directory = null): array
変更後
@method static allFiles(string|null $directory = null): array<string>
directories
変更前
@method static directories(string|null $directory = null, bool $recursive = false): array
変更後
@method static directories(string|null $directory = null, bool $recursive = false): array<string>
files
変更前
@method static files(string|null $directory = null, bool $recursive = false): array
変更後
@method static files(string|null $directory = null, bool $recursive = false): array<string>
listContents
変更前
@method static listContents(string $location, bool $deep = false): \League\Flysystem\DirectoryListing
変更後
@method static listContents(string $location, bool $deep = false): \League\Flysystem\DirectoryListing<\League\Flysystem\StorageAttributes>