v13.16.0

追加 64

Illuminate\Cache\ArrayLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\DatabaseLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\DynamoDbLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\DynamoDbStore

  • refreshIfOwned
    変更後
    refreshIfOwned($key, $expectedOwner, $seconds) [@param string $key, @param mixed $expectedOwner, @param int $seconds, @return bool]

Illuminate\Cache\FileLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\FileStore

  • refreshIfOwned
    変更後
    refreshIfOwned($key, $expectedOwner, $seconds) [@param string $key, @param mixed $expectedOwner, @param int $seconds, @return bool]

Illuminate\Cache\Lock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\LuaScripts

  • refreshLock
    変更後
    static refreshLock() [@return string]

Illuminate\Cache\MemcachedLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\NoLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Cache\PhpRedisLock

  • refresh
    変更後
    refresh($seconds = null)

Illuminate\Cache\RedisLock

  • refresh
    変更後
    refresh($seconds = null) [@param int|null $seconds, @return bool]

Illuminate\Contracts\JsonSchema\JsonSchema

  • anyOf
    変更後
    anyOf(Closure|array $schemas) [@param (Closure(JsonSchema): array<int, \Illuminate\JsonSchema\Types\Type>)|array<int, \Illuminate\JsonSchema\Types\Type> $schemas, @return \Illuminate\JsonSchema\Types\AnyOfType]

Illuminate\Foundation\ArrayMaintenanceMode

  • activate
    変更後
    activate(array $payload): void [@param array $payload, @return void]
  • active
    変更後
    active(): bool [@return bool]
  • data
    変更後
    data(): array [@return array]
  • deactivate
    変更後
    deactivate(): void [@return void]

Illuminate\Foundation\Console\DevCommand

  • handle
    変更後
    handle(Illuminate\Support\NodePackageManager $packageManager) [@return int]

Illuminate\Foundation\DevCommand

  • __construct
    変更後
    __construct(string $command, ?string $name = null) [@param string $command, @param string|null $name, @return void]
  • blue
    変更後
    blue(): self [@return self]
  • color
    変更後
    color(string $color): self [@param string $color, @return self]
  • green
    変更後
    green(): self [@return self]
  • name
    変更後
    name(): string [@return string]
  • orange
    変更後
    orange(): self [@return self]
  • pink
    変更後
    pink(): self [@return self]
  • purple
    変更後
    purple(): self [@return self]
  • toArray
    変更後
    toArray(): array [@return array{command: string, name: string, color: string|null}]
  • yellow
    変更後
    yellow(): self [@return self]

Illuminate\Foundation\DevCommands

  • artisan
    変更後
    static artisan(string $command, ?string $name = null): Illuminate\Foundation\DevCommand [@param string $command, @param string|null $name, @return DevCommand]
  • clear
    変更後
    static clear(): void [@return void]
  • commands
    変更後
    static commands(): array [@return array]
  • except
    変更後
    static except(...$names): void [@param string ...$names, @return void]
  • node
    変更後
    static node(string $command, ?string $name = null): Illuminate\Foundation\DevCommand [@param string $command, @param string|null $name, @return DevCommand]
  • nodeExec
    変更後
    static nodeExec(string $command, ?string $name = null): Illuminate\Foundation\DevCommand [@param string $command, @param string|null $name, @return DevCommand]
  • only
    変更後
    static only(...$names): void [@param string ...$names, @return void]
  • register
    変更後
    static register(string $command, ?string $name = null): Illuminate\Foundation\DevCommand [@param string $command, @param string|null $name, @return DevCommand]
  • registerDefaults
    変更後
    static registerDefaults() [@return void]

Illuminate\Foundation\Providers\ArtisanServiceProvider

  • boot
    変更後
    boot() [@return void]

Illuminate\Http\ResponseTrait

  • withCookies
    変更後
    withCookies(array $cookies) [@param array $cookies, @return $this]

Illuminate\JsonSchema\JsonSchema

  • anyOf
    変更後
    @method static anyOf(Closure|array<int, Types\Type> $schemas): Types\AnyOfType

Illuminate\JsonSchema\JsonSchemaTypeFactory

  • anyOf
    変更後
    anyOf(Closure|array $schemas): Illuminate\JsonSchema\Types\AnyOfType [@param (Closure(JsonSchemaTypeFactory): array<int, Types\Type>)|array<int, Types\Type> $schemas]

Illuminate\JsonSchema\Types\AnyOfType

  • __construct
    変更後
    __construct(array $schemas) [@param array<int, Type> $schemas]
  • schemas
    変更後
    schemas(): array [@return array<int, Type>]

Illuminate\Support\Contracts\NodePackageManager

  • getExecCommand
    変更後
    getExecCommand(string $command): string [@param string $command, @return string]
  • getRunCommand
    変更後
    getRunCommand(string $command): string [@param string $command, @return string]
  • matches
    変更後
    static matches(): bool [@return bool]

Illuminate\Support\Facades\Request

  • whenEnum
    変更後
    @method static whenEnum(string $key, string $enumClass, callable $callback, callable|null $default = null): \Illuminate\Http\Request|mixed

Illuminate\Support\NodePackageManager

  • __construct
    変更後
    __construct(?Illuminate\Support\Contracts\NodePackageManager $packageManager = null) [@param NodePackageManagerContract|null $packageManager]
  • getExecCommand
    変更後
    getExecCommand(string $command): string [@param string $command, @return string]
  • getRunCommand
    変更後
    getRunCommand(string $command): string [@param string $command, @return string]
  • packageManager
    変更後
    packageManager(): Illuminate\Support\Contracts\NodePackageManager [@return NodePackageManagerContract]

Illuminate\Support\NodePackageManagers\Bun

  • getExecCommand
    変更後
    getExecCommand(string $command): string [@param string $command, @return string]
  • getRunCommand
    変更後
    getRunCommand(string $command): string [@param string $command, @return string]
  • matches
    変更後
    static matches(): bool [@return bool]

Illuminate\Support\NodePackageManagers\Npm

  • getExecCommand
    変更後
    getExecCommand(string $command): string [@param string $command, @return string]
  • getRunCommand
    変更後
    getRunCommand(string $command): string [@param string $command, @return string]
  • matches
    変更後
    static matches(): bool [@return bool]

Illuminate\Support\NodePackageManagers\Pnpm

  • getExecCommand
    変更後
    getExecCommand(string $command): string [@param string $command, @return string]
  • getRunCommand
    変更後
    getRunCommand(string $command): string [@param string $command, @return string]
  • matches
    変更後
    static matches(): bool [@return bool]

Illuminate\Support\NodePackageManagers\Yarn

  • getExecCommand
    変更後
    getExecCommand(string $command): string [@param string $command, @return string]
  • getRunCommand
    変更後
    getRunCommand(string $command): string [@param string $command, @return string]
  • matches
    変更後
    static matches(): bool [@return bool]

Illuminate\Support\Traits\InteractsWithData

  • whenEnum
    変更後
    whenEnum($key, string $enumClass, callable $callback, ?callable $default = null) [@param string $key, @param class-string<TEnum> $enumClass, @param callable(TEnum):TReturn $callback, @param (callable(): TReturnDefault)|null $default, @return $this|TReturn|TReturnDefault]

シグネチャ変更 20

Illuminate\Bus\BatchRepository

  • transaction
    変更前
    transaction(Closure $callback) [@param \Closure $callback, @return mixed]
    変更後
    transaction(Closure $callback) [@param (\Closure(): TReturn) $callback, @return TReturn]

Illuminate\Bus\DatabaseBatchRepository

  • transaction
    変更前
    transaction(Closure $callback) [@param \Closure $callback, @return mixed]
    変更後
    transaction(Closure $callback) [@param (\Closure(): TReturn) $callback, @return TReturn]

Illuminate\Bus\DynamoBatchRepository

  • transaction
    変更前
    transaction(Closure $callback) [@param \Closure $callback, @return mixed]
    変更後
    transaction(Closure $callback) [@param (\Closure(): TReturn) $callback, @return TReturn]

Illuminate\Container\Attributes\RouteParameter

  • __construct
    変更前
    __construct(string $parameter)
    変更後
    __construct(?string $parameter = null)
  • resolve
    変更前
    static resolve(self $attribute, Illuminate\Contracts\Container\Container $container) [@param self $attribute, @param \Illuminate\Contracts\Container\Container $container, @return mixed]
    変更後
    static resolve(self $attribute, Illuminate\Contracts\Container\Container $container, ReflectionParameter $parameter) [@param self $attribute, @param \Illuminate\Contracts\Container\Container $container, @return mixed]

Illuminate\Database\Connection

  • withoutPretending
    変更前
    withoutPretending(Closure $callback) [@param \Closure $callback, @return mixed]
    変更後
    withoutPretending(Closure $callback) [@param \Closure(): TReturn $callback, @return TReturn]
  • withoutTablePrefix
    変更前
    withoutTablePrefix(Closure $callback): mixed [@param \Closure $callback, @return mixed]
    変更後
    withoutTablePrefix(Closure $callback): mixed [@param (\Closure($this): TReturn) $callback, @return TReturn]

Illuminate\Database\ConnectionInterface

  • transaction
    変更前
    transaction(Closure $callback, $attempts = 1) [@param \Closure $callback, @param int $attempts, @return mixed]
    変更後
    transaction(Closure $callback, $attempts = 1) [@param (\Closure(static): TReturn) $callback, @param int $attempts, @return TReturn]

Illuminate\Database\DatabaseManager

  • usingConnection
    変更前
    usingConnection($name, callable $callback) [@param \UnitEnum|string $name, @param callable $callback, @return mixed]
    変更後
    usingConnection($name, callable $callback) [@param \UnitEnum|string $name, @param (callable(): TReturn) $callback, @return TReturn]

Illuminate\Database\Eloquent\Concerns\HasEvents

  • dispatchesEvents
    変更前
    dispatchesEvents() [@return array]
    変更後
    dispatchesEvents() [@return array<string, class-string>]
  • withoutEvents
    変更前
    static withoutEvents(callable $callback) [@param callable $callback, @return mixed]
    変更後
    static withoutEvents(callable $callback) [@param callable(): TReturn $callback, @return TReturn]

Illuminate\Database\Eloquent\Concerns\HasTimestamps

  • withoutTimestamps
    変更前
    static withoutTimestamps(callable $callback) [@return mixed]
    変更後
    static withoutTimestamps(callable $callback) [@param (callable(): TReturn) $callback, @return TReturn]
  • withoutTimestampsOn
    変更前
    static withoutTimestampsOn($models, $callback) [@param array $models, @param callable $callback, @return mixed]
    変更後
    static withoutTimestampsOn($models, $callback) [@param array $models, @param callable(): TReturn $callback, @return TReturn]

Illuminate\Database\Eloquent\Model

  • withoutBroadcasting
    変更前
    static withoutBroadcasting(callable $callback) [@param callable $callback, @return mixed]
    変更後
    static withoutBroadcasting(callable $callback) [@param callable(): TReturn $callback, @return TReturn]

Illuminate\Database\Migrations\Migrator

  • usingConnection
    変更前
    usingConnection($name, callable $callback) [@param string $name, @param (callable(): TReturn) $callback, @return mixed]
    変更後
    usingConnection($name, callable $callback) [@param string $name, @param (callable(): TReturn) $callback, @return TReturn]

Illuminate\Database\SqlServerConnection

  • transaction
    変更前
    transaction(Closure $callback, $attempts = 1) [@param \Closure $callback, @param int $attempts, @return mixed]
    変更後
    transaction(Closure $callback, $attempts = 1) [@param (\Closure(static): TReturn) $callback, @param int $attempts, @return TReturn]

Illuminate\Http\FileHelpers

  • extension
    変更前
    extension() [@return string]
    変更後
    extension() [@return string|null]

Illuminate\Redis\Connections\PacksPhpRedisValues

  • withoutSerializationOrCompression
    変更前
    withoutSerializationOrCompression(callable $callback) [@param callable $callback, @return mixed]
    変更後
    withoutSerializationOrCompression(callable $callback) [@param (callable(): TReturn) $callback, @return TReturn]

Illuminate\Support\Testing\Fakes\BatchRepositoryFake

  • transaction
    変更前
    transaction(Closure $callback) [@param \Closure $callback, @return mixed]
    変更後
    transaction(Closure $callback) [@param (\Closure(): TReturn) $callback, @return TReturn]

Illuminate\Support\Traits\Localizable

  • withLocale
    変更前
    withLocale($locale, $callback) [@param string $locale, @param \Closure $callback, @return mixed]
    変更後
    withLocale($locale, $callback) [@param string $locale, @param \Closure(): TReturn $callback, @return TReturn]

削除 1

Illuminate\Http\RedirectResponse

  • withCookies
    変更前
    withCookies(array $cookies) [@param array $cookies, @return $this]