v12.38.0

追加 3

Illuminate\Console\Application

  • addCommand
    変更後
    addCommand(Symfony\Component\Console\Command\Command|callable $command): ?Symfony\Component\Console\Command\Command [@param \Symfony\Component\Console\Command\Command|callable $command, @return \Symfony\Component\Console\Command\Command|null]

Illuminate\Foundation\Bootstrap\LoadConfiguration

  • alwaysUse
    変更後
    static alwaysUse(?Closure $alwaysUseConfig): void [@param (Closure(Application): array<array-key, mixed>)|null $alwaysUseConfig, @return void]

Illuminate\Http\Client\RequestException

  • report
    変更後
    report(): void [@return void]

シグネチャ変更 4

Illuminate\Http\Client\RequestException

  • __construct
    変更前
    __construct(Illuminate\Http\Client\Response $response) [@param \Illuminate\Http\Client\Response $response]
    変更後
    __construct(Illuminate\Http\Client\Response $response, $truncateExceptionsAt = null) [@param \Illuminate\Http\Client\Response $response, @param int|false|null $truncateExceptionsAt]

Illuminate\Notifications\HasDatabaseNotifications

  • readNotifications
    変更前
    readNotifications() [@return \Illuminate\Database\Query\Builder]
    変更後
    readNotifications() [@return \Illuminate\Database\Eloquent\Relations\MorphMany<DatabaseNotification, $this>]
  • unreadNotifications
    変更前
    unreadNotifications() [@return \Illuminate\Database\Query\Builder]
    変更後
    unreadNotifications() [@return \Illuminate\Database\Eloquent\Relations\MorphMany<DatabaseNotification, $this>]

Illuminate\Support\Stringable

  • ucwords
    変更前
    ucwords() [@return static]
    変更後
    ucwords($separators = " \t\r\n\f\v") [@param string $separators, @return static]