ArraySubset

Illuminate\Testing\Constraints\ArraySubset

class src/Illuminate/Testing/Constraints/ArraySubset.php

__construct

v11.0.0 以前から

__construct(iterable $subset, bool $strict = false)
@param iterable $subset
@param bool $strict
  1. v11.0.0 追加
    変更後
    __construct(iterable $subset, bool $strict = false) [@param iterable $subset, @param bool $strict, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct(iterable $subset, bool $strict = false) [@param iterable $subset, @param bool $strict, @return void]
    変更後
    __construct(iterable $subset, bool $strict = false) [@param iterable $subset, @param bool $strict]

evaluate

v11.0.0 以前から

evaluate($other, string $description = '', bool $returnResult = false): ?bool
@param mixed $other
@param string $description
@param bool $returnResult
@return bool|null
  1. v11.0.0 追加
    変更後
    evaluate($other, string $description = '', bool $returnResult = false): ?bool [@param mixed $other, @param string $description, @param bool $returnResult, @return bool|null]

toString

v11.0.0 以前から

toString(): string
@return string
  1. v11.0.0 追加
    変更後
    toString(): string [@return string]