ChainedBatchTruthTest

Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest

class src/Illuminate/Support/Testing/Fakes/ChainedBatchTruthTest.php

__construct

v11.0.0 以前から

__construct(Closure $callback)
@param \Closure(\Illuminate\Bus\PendingBatch): bool $callback
  1. v11.0.0 追加
    変更後
    __construct(Closure $callback) [@param \Closure $callback, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(Closure $callback) [@param \Closure $callback, @return void]
    変更後
    __construct(Closure $callback) [@param \Closure $callback]
  3. v12.43.0 シグネチャ変更
    変更前
    __construct(Closure $callback) [@param \Closure $callback]
    変更後
    __construct(Closure $callback) [@param \Closure(\Illuminate\Bus\PendingBatch): bool $callback]

__invoke

v11.0.0 以前から

__invoke($pendingBatch)
@param \Illuminate\Bus\PendingBatch $pendingBatch
@return bool
  1. v11.0.0 追加
    変更後
    __invoke($pendingBatch) [@return bool]
  2. v11.1.1 シグネチャ変更
    変更前
    __invoke($pendingBatch) [@return bool]
    変更後
    __invoke($pendingBatch) [@param \Illuminate\Bus\PendingBatch $pendingBatch, @return bool]