v11.23.3

追加 15

Illuminate\Support\Facades\Concurrency

  • background
    変更後
    @method static background(\Closure|array $tasks): void
  • createForkDriver
    変更後
    @method static createForkDriver(array $config): \Illuminate\Concurrency\ForkDriver
  • createProcessDriver
    変更後
    @method static createProcessDriver(array $config): \Illuminate\Concurrency\ProcessDriver
  • createSyncDriver
    変更後
    @method static createSyncDriver(array $config): \Illuminate\Concurrency\SyncDriver
  • driver
    変更後
    @method static driver(string|null $name = null): mixed
  • extend
    変更後
    @method static extend(string $name, \Closure $callback): \Illuminate\Concurrency\ConcurrencyManager
  • forgetInstance
    変更後
    @method static forgetInstance(array|string|null $name = null): \Illuminate\Concurrency\ConcurrencyManager
  • getDefaultInstance
    変更後
    @method static getDefaultInstance(): string
  • getInstanceConfig
    変更後
    @method static getInstanceConfig(string $name): array
  • instance
    変更後
    @method static instance(string|null $name = null): mixed
  • purge
    変更後
    @method static purge(string|null $name = null): void
  • run
    変更後
    @method static run(\Closure|array $tasks): array
  • setApplication
    変更後
    @method static setApplication(\Illuminate\Contracts\Foundation\Application $app): \Illuminate\Concurrency\ConcurrencyManager
  • setDefaultInstance
    変更後
    @method static setDefaultInstance(string $name): void

Illuminate\Support\Facades\Exceptions

  • throwOnReport
    変更後
    @method static throwOnReport(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake

シグネチャ変更 41

Illuminate\Database\Eloquent\Builder

  • with
    変更前
    with($relations, $callback = null) [@param array<array-key, (\Closure(\Illuminate\Database\Eloquent\Relations\Relation<*,*,*>): mixed)|string>|string $relations, @param (\Closure(\Illuminate\Database\Eloquent\Relations\Relation<*,*,*>): mixed)|string|null $callback, @return $this]
    変更後
    with($relations, $callback = null) [@param array<array-key, array|(\Closure(\Illuminate\Database\Eloquent\Relations\Relation<*,*,*>): mixed)|string>|string $relations, @param (\Closure(\Illuminate\Database\Eloquent\Relations\Relation<*,*,*>): mixed)|string|null $callback, @return $this]
  • withOnly
    変更前
    withOnly($relations) [@param array<array-key, (\Closure(\Illuminate\Database\Eloquent\Relations\Relation<*,*,*>): mixed)|string>|string $relations, @return $this]
    変更後
    withOnly($relations) [@param array<array-key, array|(\Closure(\Illuminate\Database\Eloquent\Relations\Relation<*,*,*>): mixed)|string>|string $relations, @return $this]

Illuminate\Database\Eloquent\Collection

  • load
    変更前
    load($relations) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
    変更後
    load($relations) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
  • loadAggregate
    変更前
    loadAggregate($relations, $column, $function = null) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @param string|null $function, @return $this]
    変更後
    loadAggregate($relations, $column, $function = null) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @param string|null $function, @return $this]
  • loadAvg
    変更前
    loadAvg($relations, $column) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
    変更後
    loadAvg($relations, $column) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
  • loadCount
    変更前
    loadCount($relations) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
    変更後
    loadCount($relations) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
  • loadExists
    変更前
    loadExists($relations) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
    変更後
    loadExists($relations) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
  • loadMax
    変更前
    loadMax($relations, $column) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
    変更後
    loadMax($relations, $column) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
  • loadMin
    変更前
    loadMin($relations, $column) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
    変更後
    loadMin($relations, $column) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
  • loadMissing
    変更前
    loadMissing($relations) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
    変更後
    loadMissing($relations) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @return $this]
  • loadMorph
    変更前
    loadMorph($relation, $relations) [@param string $relation, @param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string> $relations, @return $this]
    変更後
    loadMorph($relation, $relations) [@param string $relation, @param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string> $relations, @return $this]
  • loadMorphCount
    変更前
    loadMorphCount($relation, $relations) [@param string $relation, @param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string> $relations, @return $this]
    変更後
    loadMorphCount($relation, $relations) [@param string $relation, @param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string> $relations, @return $this]
  • loadSum
    変更前
    loadSum($relations, $column) [@param array<array-key, (callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]
    変更後
    loadSum($relations, $column) [@param array<array-key, array|(callable(\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|string>|string $relations, @param string $column, @return $this]

Illuminate\Support\Facades\App

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Auth

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Cache

  • flexible
    変更前
    @method static flexible(string $key, void $ttl, callable $callback, void $lock = null): mixed
    変更後
    @method static flexible(string $key, array $ttl, callable $callback, array|null $lock = null): mixed
  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Config

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Context

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Cookie

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\DB

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Event

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Exceptions

  • level
    変更前
    @method static level(string $type, void $level): \Illuminate\Foundation\Exceptions\Handler
    変更後
    @method static level(string $type, string $level): \Illuminate\Foundation\Exceptions\Handler

Illuminate\Support\Facades\File

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Http

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Lang

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Mail

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Notification

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Process

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Redirect

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Redis

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Request

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Response

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Route

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void
  • tap
    変更前
    @method static tap(callable|null $callback = null): void
    変更後
    @method static tap(callable|null $callback = null): \Illuminate\Support\HigherOrderTapProxy|\Illuminate\Routing\Router

Illuminate\Support\Facades\Schema

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Session

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Storage

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\URL

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\View

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

Illuminate\Support\Facades\Vite

  • macro
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void