Matching

Illuminate\Testing\Fluent\Concerns\Matching

trait src/Illuminate/Testing/Fluent/Concerns/Matching.php

has

v11.0.0 以前から

has(string $key, $value = null, ?Closure $scope = null)
@param string $key
@param null $value
@param \Closure|null $scope
@return $this
  1. v11.0.0 追加
    変更後
    has(string $key, $value = null, Closure $scope = null) [@param string $key, @param null $value, @param \Closure|null $scope, @return $this]
  2. v11.3.0 シグネチャ変更
    変更前
    has(string $key, $value = null, Closure $scope = null) [@param string $key, @param null $value, @param \Closure|null $scope, @return $this]
    変更後
    has(string $key, $value = null, ?Closure $scope = null) [@param string $key, @param null $value, @param \Closure|null $scope, @return $this]

where

v11.0.0 以前から

where(string $key, $expected): static
@param string $key
@param mixed|\Closure $expected
@return $this
  1. v11.0.0 追加
    変更後
    where(string $key, $expected): self [@param string $key, @param mixed|\Closure $expected, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    where(string $key, $expected): self [@param string $key, @param mixed|\Closure $expected, @return $this]
    変更後
    where(string $key, $expected): static [@param string $key, @param mixed|\Closure $expected, @return $this]

whereAll

v11.0.0 以前から

whereAll(array $bindings): static
@param array $bindings
@return $this
  1. v11.0.0 追加
    変更後
    whereAll(array $bindings): self [@param array $bindings, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    whereAll(array $bindings): self [@param array $bindings, @return $this]
    変更後
    whereAll(array $bindings): static [@param array $bindings, @return $this]

whereAllType

v11.0.0 以前から

whereAllType(array $bindings): static
@param array $bindings
@return $this
  1. v11.0.0 追加
    変更後
    whereAllType(array $bindings): self [@param array $bindings, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    whereAllType(array $bindings): self [@param array $bindings, @return $this]
    変更後
    whereAllType(array $bindings): static [@param array $bindings, @return $this]

whereContains

v11.0.0 以前から

whereContains(string $key, $expected)
@param string $key
@param mixed $expected
@return $this
  1. v11.0.0 追加
    変更後
    whereContains(string $key, $expected) [@param string $key, @param mixed $expected, @return $this]

whereNot

v11.0.0 以前から

whereNot(string $key, $expected): static
@param string $key
@param mixed|\Closure $expected
@return $this
  1. v11.0.0 追加
    変更後
    whereNot(string $key, $expected): self [@param string $key, @param mixed|\Closure $expected, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    whereNot(string $key, $expected): self [@param string $key, @param mixed|\Closure $expected, @return $this]
    変更後
    whereNot(string $key, $expected): static [@param string $key, @param mixed|\Closure $expected, @return $this]

whereNotNull

v12.4.0 から

whereNotNull(string $key): static
@param string $key
@return $this
  1. v12.4.0 追加
    変更後
    whereNotNull(string $key): self [@param string $key, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    whereNotNull(string $key): self [@param string $key, @return $this]
    変更後
    whereNotNull(string $key): static [@param string $key, @return $this]

whereNull

v12.4.0 から

whereNull(string $key): static
@param string $key
@return $this
  1. v12.4.0 追加
    変更後
    whereNull(string $key): self [@param string $key, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    whereNull(string $key): self [@param string $key, @return $this]
    変更後
    whereNull(string $key): static [@param string $key, @return $this]

whereType

v11.0.0 以前から

whereType(string $key, $expected): static
@param string $key
@param string|array $expected
@return $this
  1. v11.0.0 追加
    変更後
    whereType(string $key, $expected): self [@param string $key, @param string|array $expected, @return $this]
  2. v12.20.0 シグネチャ変更
    変更前
    whereType(string $key, $expected): self [@param string $key, @param string|array $expected, @return $this]
    変更後
    whereType(string $key, $expected): static [@param string $key, @param string|array $expected, @return $this]