v11.34.2

追加 4

Illuminate\Console\Scheduling\ManagesAttributes

  • description
    変更後
    description($description) [@param string $description, @return $this]
  • name
    変更後
    name($description) [@param string $description, @return $this]

Illuminate\Support\Facades\Schedule

  • description
    変更後
    @method static description(string $description): \Illuminate\Console\Scheduling\PendingEventAttributes
  • name
    変更後
    @method static name(string $description): \Illuminate\Console\Scheduling\PendingEventAttributes

シグネチャ変更 3

Illuminate\Support\Collection

  • groupBy
    変更前
    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>>]
    変更後
    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), ($groupBy is array ? mixed : TValue)>>]

Illuminate\Support\Enumerable

  • groupBy
    変更前
    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>>]
    変更後
    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), ($groupBy is array ? mixed : TValue)>>]

Illuminate\Support\LazyCollection

  • groupBy
    変更前
    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>>]
    変更後
    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), ($groupBy is array ? mixed : TValue)>>]

削除 4

Illuminate\Console\Scheduling\Event

  • description
    変更前
    description($description) [@param string $description, @return $this]
  • name
    変更前
    name($description) [@param string $description, @return $this]

Illuminate\Http\Resources\Json\JsonResource

  • withoutWrapper
    変更前
    withoutWrapper() [@return $this]
  • withWrapper
    変更前
    withWrapper(?string $value) [@param string|null $value, @return $this]