v11.25.0

追加 1

Illuminate\Database\Schema\Blueprint

  • vector
    変更後
    vector($column, $dimensions) [@param string $column, @param int $dimensions, @return \Illuminate\Database\Schema\ColumnDefinition]

シグネチャ変更 8

Illuminate\Support\Collection

  • groupBy
    変更前
    groupBy($groupBy, $preserveKeys = false) [@param (callable(TValue, TKey): TGroupKey)|array|string $groupBy, @param bool $preserveKeys, @return static<TGroupKey, static<($preserveKeys is true ? TKey : int), TValue>>]
    変更後
    groupBy($groupBy, $preserveKeys = false) [@param (callable(TValue, TKey): TGroupKey)|array|string $groupBy, @param bool $preserveKeys, @return static<($groupBy is string ? array-key : ($groupBy is array ? array-key : TGroupKey)), static<($preserveKeys is true ? TKey : int), TValue>>]
  • keyBy
    変更前
    keyBy($keyBy) [@param (callable(TValue, TKey): TNewKey)|array|string $keyBy, @return static<TNewKey, TValue>]
    変更後
    keyBy($keyBy) [@param (callable(TValue, TKey): TNewKey)|array|string $keyBy, @return static<($keyBy is string ? array-key : ($keyBy is array ? array-key : TNewKey)), TValue>]

Illuminate\Support\Enumerable

  • groupBy
    変更前
    groupBy($groupBy, $preserveKeys = false) [@param (callable(TValue, TKey): TGroupKey)|array|string $groupBy, @param bool $preserveKeys, @return static<TGroupKey, static<($preserveKeys is true ? TKey : int), TValue>>]
    変更後
    groupBy($groupBy, $preserveKeys = false) [@param (callable(TValue, TKey): TGroupKey)|array|string $groupBy, @param bool $preserveKeys, @return static<($groupBy is string ? array-key : ($groupBy is array ? array-key : TGroupKey)), static<($preserveKeys is true ? TKey : int), TValue>>]
  • keyBy
    変更前
    keyBy($keyBy) [@param (callable(TValue, TKey): TNewKey)|array|string $keyBy, @return static<TNewKey, TValue>]
    変更後
    keyBy($keyBy) [@param (callable(TValue, TKey): TNewKey)|array|string $keyBy, @return static<($keyBy is string ? array-key : ($keyBy is array ? array-key : TNewKey)), TValue>]

Illuminate\Support\LazyCollection

  • groupBy
    変更前
    groupBy($groupBy, $preserveKeys = false) [@param (callable(TValue, TKey): TGroupKey)|array|string $groupBy, @param bool $preserveKeys, @return static<TGroupKey, static<($preserveKeys is true ? TKey : int), TValue>>]
    変更後
    groupBy($groupBy, $preserveKeys = false) [@param (callable(TValue, TKey): TGroupKey)|array|string $groupBy, @param bool $preserveKeys, @return static<($groupBy is string ? array-key : ($groupBy is array ? array-key : TGroupKey)), static<($preserveKeys is true ? TKey : int), TValue>>]
  • keyBy
    変更前
    keyBy($keyBy) [@param (callable(TValue, TKey): TNewKey)|array|string $keyBy, @return static<TNewKey, TValue>]
    変更後
    keyBy($keyBy) [@param (callable(TValue, TKey): TNewKey)|array|string $keyBy, @return static<($keyBy is string ? array-key : ($keyBy is array ? array-key : TNewKey)), TValue>]

Illuminate\Testing\TestResponse

  • __construct
    変更前
    __construct($response, $request = null) [@param \Illuminate\Http\Response $response, @param \Illuminate\Http\Request|null $request, @return void]
    変更後
    __construct($response, $request = null) [@param TResponse $response, @param \Illuminate\Http\Request|null $request, @return void]
  • fromBaseResponse
    変更前
    static fromBaseResponse($response, $request = null) [@param \Illuminate\Http\Response $response, @param \Illuminate\Http\Request|null $request, @return static]
    変更後
    static fromBaseResponse($response, $request = null) [@param R $response, @param \Illuminate\Http\Request|null $request, @return static<R>]