v11.0.7

シグネチャ変更 5

Illuminate\Database\Eloquent\InvalidCastException

  • __construct
    変更前
    __construct($model, $column, $castType) [@param object $model, @param string $column, @param string $castType, @return static]
    変更後
    __construct($model, $column, $castType) [@param object $model, @param string $column, @param string $castType, @return void]

Illuminate\Database\LazyLoadingViolationException

  • __construct
    変更前
    __construct($model, $relation) [@param object $model, @param string $relation, @return static]
    変更後
    __construct($model, $relation) [@param object $model, @param string $relation, @return void]

Illuminate\Foundation\Configuration\ApplicationBuilder

  • withBroadcasting
    変更前
    withBroadcasting(string $channels) [@param string $channels, @return $this]
    変更後
    withBroadcasting(string $channels, array $attributes = []) [@param string $channels, @param array $attributes, @return $this]
  • withRouting
    変更前
    withRouting(?Closure $using = null, ?string $web = null, ?string $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param string|null $web, @param string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string|null $apiPrefix, @param callable|null $then, @return $this]
    変更後
    withRouting(?Closure $using = null, ?string $web = null, ?string $api = null, ?string $commands = null, ?string $channels = null, ?string $pages = null, ?string $health = null, string $apiPrefix = 'api', ?callable $then = null) [@param \Closure|null $using, @param string|null $web, @param string|null $api, @param string|null $commands, @param string|null $channels, @param string|null $pages, @param string $apiPrefix, @param callable|null $then, @return $this]

Illuminate\Process\FakeInvokedProcess

  • withOutputHandler
    変更前
    withOutputHandler(?callable $outputHandler) [@return $this]
    変更後
    withOutputHandler(?callable $outputHandler) [@param callable|null $outputHandler, @return $this]