v11.42.1

追加 6

Illuminate\Database\Eloquent\Collection

  • doesntContain
    変更後
    doesntContain($key, $operator = null, $value = null) [@param (callable(TModel, TKey): bool)|TModel|string|int $key, @param mixed $operator, @param mixed $value, @return bool]

Illuminate\Routing\ResponseFactory

  • eventStream
    変更後
    eventStream(Closure $callback, array $headers = [], string $endStreamWith = '</stream>') [@param \Closure $callback, @param array $headers, @param string $endStreamWith, @return \Symfony\Component\HttpFoundation\StreamedResponse]

Illuminate\Support\Facades\Response

  • eventStream
    変更後
    @method static eventStream(\Closure $callback, array $headers = [], string $endStreamWith = '</stream>'): \Symfony\Component\HttpFoundation\StreamedResponse

Illuminate\Testing\TestResponse

シグネチャ変更 1

Illuminate\Database\Eloquent\Relations\Relation

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