v12.54.0

追加 10

Illuminate\Database\Eloquent\Concerns\HasRelationships

  • withoutRelation
    変更後
    withoutRelation($relations) [@param array|string $relations, @return $this]

Illuminate\Database\Schema\Blueprint

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

Illuminate\Support\Facades\Request

  • interval
    変更後
    @method static interval(string $key, \Carbon\Unit|string|null $unit = null): \Carbon\CarbonInterval|null

Illuminate\Support\Traits\InteractsWithData

  • interval
    変更後
    interval($key, $unit = null) [@param string $key, @param \Carbon\Unit|string|null $unit, @return \Carbon\CarbonInterval|null]

Illuminate\Testing\TestComponent

  • assertDontSeeHtml
    変更後
    assertDontSeeHtml($value) [@param string|list<string> $value, @return $this]
  • assertSeeHtml
    変更後
    assertSeeHtml($value) [@param string|list<string> $value, @return $this]
  • assertSeeHtmlInOrder
    変更後
    assertSeeHtmlInOrder(array $values) [@param list<string> $values, @return $this]

Illuminate\Testing\TestView

  • assertDontSeeHtml
    変更後
    assertDontSeeHtml($value) [@param string|list<string> $value, @return $this]
  • assertSeeHtml
    変更後
    assertSeeHtml($value) [@param string|list<string> $value, @return $this]
  • assertSeeHtmlInOrder
    変更後
    assertSeeHtmlInOrder(array $values) [@param list<string> $values, @return $this]

シグネチャ変更 34

Illuminate\Console\Scheduling\Schedule

  • group
    変更前
    group(Closure $events) [@return void]
    変更後
    group(Closure $events) [@param \Closure $events, @return void]

Illuminate\Filesystem\Filesystem

  • type
    変更前
    type($path) [@param string $path, @return string]
    変更後
    type($path) [@param string $path, @return string|false]

Illuminate\Pagination\AbstractCursorPaginator

  • resolveCurrentCursor
    変更前
    static resolveCurrentCursor($cursorName = 'cursor', $default = null) [@param string $cursorName, @return \Illuminate\Pagination\Cursor|null]
    変更後
    static resolveCurrentCursor($cursorName = 'cursor', $default = null) [@param string $cursorName, @param \Illuminate\Pagination\Cursor|null $default, @return \Illuminate\Pagination\Cursor|null]

Illuminate\Queue\Events\WorkerStarting

  • __construct
    変更前
    __construct($connectionName, $queue, $workerOptions) [@param string $connectionName, @param string $queue]
    変更後
    __construct($connectionName, $queue, $workerOptions) [@param string $connectionName, @param string $queue, @param \Illuminate\Queue\WorkerOptions $workerOptions]

Illuminate\Queue\Jobs\DatabaseJob

  • __construct
    変更前
    __construct(Illuminate\Container\Container $container, Illuminate\Queue\DatabaseQueue $database, $job, $connectionName, $queue) [@param \Illuminate\Container\Container $container, @param \Illuminate\Queue\DatabaseQueue $database, @param \stdClass $job, @param string $connectionName, @param string $queue]
    変更後
    __construct(Illuminate\Container\Container $container, Illuminate\Queue\DatabaseQueue $database, $job, $connectionName, $queue) [@param \Illuminate\Container\Container $container, @param \Illuminate\Queue\DatabaseQueue $database, @param \Illuminate\Queue\Jobs\DatabaseJobRecord $job, @param string $connectionName, @param string $queue]

Illuminate\Queue\RedisQueue

  • pop
    変更前
    pop($queue = null, $index = 0) [@param string|null $queue, @return \Illuminate\Contracts\Queue\Job|null]
    変更後
    pop($queue = null, $index = 0) [@param string|null $queue, @param int $index, @return \Illuminate\Contracts\Queue\Job|null]

Illuminate\Support\Facades\Bus

  • assertDispatchedOnce
    変更前
    @method static assertDispatchedOnce(string|\Closure $command, int $times = null): void
    変更後
    @method static assertDispatchedOnce(string|\Closure $command): void

Illuminate\Support\Facades\Event

  • assertDispatchedOnce
    変更前
    @method static assertDispatchedOnce(string $event, int $times = null): void
    変更後
    @method static assertDispatchedOnce(string $event): void

Illuminate\Support\Facades\File

  • type
    変更前
    @method static type(string $path): string
    変更後
    @method static type(string $path): string|false

Illuminate\Support\Reflector

  • getClassAttribute
    変更前
    static getClassAttribute($objectOrClass, $attribute, $ascend = false) [@param object|class-string $objectOrClass, @param class-string<TAttribute> $attribute, @return TAttribute|null]
    変更後
    static getClassAttribute($objectOrClass, $attribute, $ascend = false) [@param object|class-string $objectOrClass, @param class-string<TAttribute> $attribute, @param bool $ascend, @return TAttribute|null]
  • getClassAttributes
    変更前
    static getClassAttributes($objectOrClass, $attribute, $includeParents = false) [@param TTarget|class-string<TTarget> $objectOrClass, @param class-string<TAttribute> $attribute, @return ($includeParents is true ? Collection<class-string<contravariant TTarget>, Collection<int, TAttribute>> : Collection<int, TAttribute>)]
    変更後
    static getClassAttributes($objectOrClass, $attribute, $includeParents = false) [@param TTarget|class-string<TTarget> $objectOrClass, @param class-string<TAttribute> $attribute, @param bool $includeParents, @return ($includeParents is true ? Collection<class-string<contravariant TTarget>, Collection<int, TAttribute>> : Collection<int, TAttribute>)]

Illuminate\Testing\TestComponent

  • assertDontSee
    変更前
    assertDontSee($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertDontSee($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertDontSeeText
    変更前
    assertDontSeeText($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertDontSeeText($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSee
    変更前
    assertSee($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertSee($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSeeText
    変更前
    assertSeeText($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertSeeText($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSeeTextInOrder
    変更前
    assertSeeTextInOrder(array $values, $escape = true) [@param array $values, @param bool $escape, @return $this]
    変更後
    assertSeeTextInOrder(array $values, $escape = true) [@param list<string> $values, @param bool $escape, @return $this]

Illuminate\Testing\TestResponse

  • assertDontSee
    変更前
    assertDontSee($value, $escape = true) [@param string|array $value, @param bool $escape, @return $this]
    変更後
    assertDontSee($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertDontSeeHtml
    変更前
    assertDontSeeHtml($value) [@param array|string $value, @return $this]
    変更後
    assertDontSeeHtml($value) [@param string|list<string> $value, @return $this]
  • assertDontSeeText
    変更前
    assertDontSeeText($value, $escape = true) [@param string|array $value, @param bool $escape, @return $this]
    変更後
    assertDontSeeText($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSee
    変更前
    assertSee($value, $escape = true) [@param string|array $value, @param bool $escape, @return $this]
    変更後
    assertSee($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSeeHtml
    変更前
    assertSeeHtml($value) [@param array|string $value, @return $this]
    変更後
    assertSeeHtml($value) [@param string|list<string> $value, @return $this]
  • assertSeeHtmlInOrder
    変更前
    assertSeeHtmlInOrder(array $values) [@param array $values, @return $this]
    変更後
    assertSeeHtmlInOrder(array $values) [@param list<string> $values, @return $this]
  • assertSeeInOrder
    変更前
    assertSeeInOrder(array $values, $escape = true) [@param array $values, @param bool $escape, @return $this]
    変更後
    assertSeeInOrder(array $values, $escape = true) [@param list<string> $values, @param bool $escape, @return $this]
  • assertSeeText
    変更前
    assertSeeText($value, $escape = true) [@param string|array $value, @param bool $escape, @return $this]
    変更後
    assertSeeText($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSeeTextInOrder
    変更前
    assertSeeTextInOrder(array $values, $escape = true) [@param array $values, @param bool $escape, @return $this]
    変更後
    assertSeeTextInOrder(array $values, $escape = true) [@param list<string> $values, @param bool $escape, @return $this]

Illuminate\Testing\TestView

  • assertDontSee
    変更前
    assertDontSee($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertDontSee($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertDontSeeText
    変更前
    assertDontSeeText($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertDontSeeText($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSee
    変更前
    assertSee($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertSee($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSeeInOrder
    変更前
    assertSeeInOrder(array $values, $escape = true) [@param array $values, @param bool $escape, @return $this]
    変更後
    assertSeeInOrder(array $values, $escape = true) [@param list<string> $values, @param bool $escape, @return $this]
  • assertSeeText
    変更前
    assertSeeText($value, $escape = true) [@param string $value, @param bool $escape, @return $this]
    変更後
    assertSeeText($value, $escape = true) [@param string|list<string> $value, @param bool $escape, @return $this]
  • assertSeeTextInOrder
    変更前
    assertSeeTextInOrder(array $values, $escape = true) [@param array $values, @param bool $escape, @return $this]
    変更後
    assertSeeTextInOrder(array $values, $escape = true) [@param list<string> $values, @param bool $escape, @return $this]

Illuminate\Validation\Concerns\ValidatesAttributes

  • validateAlpha
    変更前
    validateAlpha($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @return bool]
    変更後
    validateAlpha($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @param array<int, int|string> $parameters, @return bool]
  • validateAlphaDash
    変更前
    validateAlphaDash($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @return bool]
    変更後
    validateAlphaDash($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @param array<int, int|string> $parameters, @return bool]
  • validateAlphaNum
    変更前
    validateAlphaNum($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @return bool]
    変更後
    validateAlphaNum($attribute, $value, $parameters) [@param string $attribute, @param mixed $value, @param array<int, int|string> $parameters, @return bool]