v11.4.0

追加 49

Illuminate\Database\Eloquent\Builder

  • afterQuery
    変更後
    afterQuery(Closure $callback) [@param \Closure $callback, @return $this]
  • applyAfterQueryCallbacks
    変更後
    applyAfterQueryCallbacks($result) [@param mixed $result, @return mixed]

Illuminate\Database\Query\Builder

  • afterQuery
    変更後
    afterQuery(Closure $callback) [@param \Closure $callback, @return $this]
  • applyAfterQueryCallbacks
    変更後
    applyAfterQueryCallbacks($result) [@param mixed $result, @return mixed]

Illuminate\Queue\SyncQueue

  • __construct
    変更後
    __construct($dispatchAfterCommit = false) [@param bool $dispatchAfterCommit, @return void]

Illuminate\Support\Facades\Exceptions

  • assertNothingReported
    変更後
    @method static assertNothingReported(): void
  • assertNotReported
    変更後
    @method static assertNotReported(\Closure|string $exception): void
  • assertReported
    変更後
    @method static assertReported(\Closure|string $exception): void
  • assertReportedCount
    変更後
    @method static assertReportedCount(int $count): void
  • buildContextUsing
    変更後
    @method static buildContextUsing(\Closure $contextCallback): \Illuminate\Foundation\Exceptions\Handler
  • dontFlash
    変更後
    @method static dontFlash(array|string $attributes): \Illuminate\Foundation\Exceptions\Handler
  • dontReport
    変更後
    @method static dontReport(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  • dontReportDuplicates
    変更後
    @method static dontReportDuplicates(): \Illuminate\Foundation\Exceptions\Handler
  • fake
    変更後
    static fake(array|string $exceptions = []) [@param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions, @return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake]
  • handler
    変更後
    @method static handler(): \Illuminate\Contracts\Debug\ExceptionHandler
  • ignore
    変更後
    @method static ignore(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  • level
    変更後
    @method static level(string $type, void $level): \Illuminate\Foundation\Exceptions\Handler
  • map
    変更後
    @method static map(\Closure|string $from, \Closure|string|null $to = null): \Illuminate\Foundation\Exceptions\Handler
  • register
    変更後
    @method static register(): void
  • render
    変更後
    @method static render(\Illuminate\Http\Request $request, \Throwable $e): \Symfony\Component\HttpFoundation\Response
  • renderable
    変更後
    @method static renderable(callable $renderUsing): \Illuminate\Foundation\Exceptions\Handler
  • renderForConsole
    変更後
    @method static renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e): void
  • report
    変更後
    @method static report(\Throwable $e): void
  • reportable
    変更後
    @method static reportable(callable $reportUsing): \Illuminate\Foundation\Exceptions\ReportableHandler
  • respondUsing
    変更後
    @method static respondUsing(callable $callback): \Illuminate\Foundation\Exceptions\Handler
  • setHandler
    変更後
    @method static setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
  • shouldRenderJsonWhen
    変更後
    @method static shouldRenderJsonWhen(callable $callback): \Illuminate\Foundation\Exceptions\Handler
  • shouldReport
    変更後
    @method static shouldReport(\Throwable $e): bool
  • stopIgnoring
    変更後
    @method static stopIgnoring(array|string $exceptions): \Illuminate\Foundation\Exceptions\Handler
  • throttleUsing
    変更後
    @method static throttleUsing(callable $throttleUsing): \Illuminate\Foundation\Exceptions\Handler
  • throwFirstReported
    変更後
    @method static throwFirstReported(): \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake

Illuminate\Support\LazyCollection

  • throttle
    変更後
    throttle(float $seconds) [@return static<TKey, TValue>]

Illuminate\Support\Reflector

Illuminate\Support\Testing\Fakes\ExceptionHandlerFake

  • __call
    変更後
    __call(string $method, array $parameters) [@param string $method, @param array<string, mixed> $parameters, @return mixed]
  • __construct
    変更後
    __construct(Illuminate\Contracts\Debug\ExceptionHandler $handler, array $exceptions = []) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @param array<int, class-string<\Throwable>> $exceptions, @return void]
  • assertNothingReported
    変更後
    assertNothingReported() [@return void]
  • assertNotReported
    変更後
    assertNotReported(Closure|string $exception) [@param \Closure|string $exception, @return void]
  • assertReported
    変更後
    assertReported(Closure|string $exception) [@param \Closure|string $exception, @return void]
  • assertReportedCount
    変更後
    assertReportedCount(int $count) [@param int $count, @return void]
  • handler
    変更後
    handler() [@return \Illuminate\Contracts\Debug\ExceptionHandler]
  • render
    変更後
    render($request, $e) [@param \Illuminate\Http\Request $request, @param \Throwable $e, @return \Symfony\Component\HttpFoundation\Response]
  • renderForConsole
    変更後
    renderForConsole($output, Throwable $e) [@param \Symfony\Component\Console\Output\OutputInterface $output, @param \Throwable $e, @return void]
  • report
    変更後
    report($e) [@param \Throwable $e, @return void]
  • setHandler
    変更後
    setHandler(Illuminate\Contracts\Debug\ExceptionHandler $handler) [@param \Illuminate\Contracts\Debug\ExceptionHandler $handler, @return $this]
  • shouldReport
    変更後
    shouldReport($e) [@param \Throwable $e, @return bool]
  • throwFirstReported
    変更後
    throwFirstReported() [@return $this]
  • throwOnReport
    変更後
    throwOnReport() [@return $this]

Illuminate\Validation\Concerns\ReplacesAttributes

  • replaceRequiredIfDeclined
    変更後
    replaceRequiredIfDeclined($message, $attribute, $rule, $parameters) [@param string $message, @param string $attribute, @param string $rule, @param array<int,string> $parameters, @return string]

Illuminate\Validation\Concerns\ValidatesAttributes

  • validateRequiredIfDeclined
    変更後
    validateRequiredIfDeclined($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @param mixed $parameters, @return bool]

シグネチャ変更 4

Illuminate\Cache\RateLimiting\Limit

  • perMinute
    変更前
    static perMinute($maxAttempts) [@param int $maxAttempts, @return static]
    変更後
    static perMinute($maxAttempts, $decayMinutes = 1) [@param int $maxAttempts, @param int $decayMinutes, @return static]
  • perSecond
    変更前
    static perSecond($maxAttempts) [@param int $maxAttempts, @return static]
    変更後
    static perSecond($maxAttempts, $decaySeconds = 1) [@param int $maxAttempts, @param int $decaySeconds, @return static]

Illuminate\Console\View\Components\Ask

  • render
    変更前
    render($question, $default = null) [@param string $question, @param string $default, @return mixed]
    変更後
    render($question, $default = null, $multiline = false) [@param string $question, @param string $default, @return mixed]

Illuminate\View\InvokableComponentVariable

  • __toString
    変更前
    __toString() [@return mixed]
    変更後
    __toString() [@return string]

削除 2

Illuminate\Cache\ApcWrapper

Illuminate\Support\Reflector