v12.9.0

追加 16

Illuminate\Cache\CacheManager

  • memo
    変更後
    memo($driver = null) [@param string|null $driver, @return \Illuminate\Contracts\Cache\Repository]

Illuminate\Cache\MemoizedStore

  • __construct
    変更後
    __construct($name, $repository) [@param string $name, @param \Illuminate\Cache\Repository $repository]
  • decrement
    変更後
    decrement($key, $value = 1) [@param string $key, @param mixed $value, @return int|bool]
  • flush
    変更後
    flush() [@return bool]
  • forever
    変更後
    forever($key, $value) [@param string $key, @param mixed $value, @return bool]
  • forget
    変更後
    forget($key) [@param string $key, @return bool]
  • get
    変更後
    get($key) [@param string $key, @return mixed]
  • getPrefix
    変更後
    getPrefix() [@return string]
  • increment
    変更後
    increment($key, $value = 1) [@param string $key, @param mixed $value, @return int|bool]
  • many
    変更後
    many(array $keys) [@return array]
  • put
    変更後
    put($key, $value, $seconds) [@param string $key, @param mixed $value, @param int $seconds, @return bool]
  • putMany
    変更後
    putMany(array $values, $seconds) [@param int $seconds, @return bool]

Illuminate\Database\Eloquent\Concerns\HasRelationships

Illuminate\Support\Facades\Cache

  • memo
    変更後
    @method static memo(string|null $driver = null): \Illuminate\Contracts\Cache\Repository

Illuminate\Support\Fluent

  • make
    変更後
    static make($attributes = []) [@param iterable<TKey, TValue> $attributes, @return static]

Illuminate\Support\Uri

  • action
    変更後
    static action($action, $parameters = [], $absolute = true): static [@param string|array $action, @param mixed $parameters, @param bool $absolute, @return static]

シグネチャ変更 57

Illuminate\Database\Concerns\ManagesTransactions

  • transaction
    変更前
    transaction(Closure $callback, $attempts = 1) [@param (\Closure(static): TReturn) $callback, @param int $attempts, @return TReturn]
    変更後
    transaction(Closure $callback, $attempts = 1, ?Closure $onFailure = null) [@param (\Closure(static): TReturn) $callback, @param int $attempts, @param Closure|null $onFailure, @return TReturn]

Illuminate\Database\ConnectionInterface

  • transaction
    変更前
    transaction(Closure $callback, $attempts = 1) [@param \Closure $callback, @param int $attempts, @return mixed]
    変更後
    transaction(Closure $callback, $attempts = 1, ?Closure $onFailure = null) [@param \Closure $callback, @param int $attempts, @param Closure|null $onFailure, @return mixed]

Illuminate\Database\Query\Processors\MySqlProcessor

  • processColumns
    変更前
    processColumns($results) [@param array $results, @return array]
    変更後
    processColumns($results)
  • processForeignKeys
    変更前
    processForeignKeys($results) [@param array $results, @return array]
    変更後
    processForeignKeys($results)
  • processIndexes
    変更前
    processIndexes($results) [@param array $results, @return array]
    変更後
    processIndexes($results)

Illuminate\Database\Query\Processors\PostgresProcessor

  • processColumns
    変更前
    processColumns($results) [@param array $results, @return array]
    変更後
    processColumns($results)
  • processForeignKeys
    変更前
    processForeignKeys($results) [@param array $results, @return array]
    変更後
    processForeignKeys($results)
  • processIndexes
    変更前
    processIndexes($results) [@param array $results, @return array]
    変更後
    processIndexes($results)
  • processTypes
    変更前
    processTypes($results) [@param array $results, @return array]
    変更後
    processTypes($results)

Illuminate\Database\Query\Processors\Processor

  • processColumns
    変更前
    processColumns($results) [@param array $results, @return array]
    変更後
    processColumns($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, type: string, type_name: string, nullable: bool, default: mixed, auto_increment: bool, comment: string|null, generation: array{type: string, expression: string|null}|null}>]
  • processForeignKeys
    変更前
    processForeignKeys($results) [@param array $results, @return array]
    変更後
    processForeignKeys($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, columns: list<string>, foreign_schema: string, foreign_table: string, foreign_columns: list<string>, on_update: string, on_delete: string}>]
  • processIndexes
    変更前
    processIndexes($results) [@param array $results, @return array]
    変更後
    processIndexes($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, columns: list<string>, type: string, unique: bool, primary: bool}>]
  • processSchemas
    変更前
    processSchemas($results) [@param array $results, @return array]
    変更後
    processSchemas($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, path: string|null, default: bool}>]
  • processTables
    変更前
    processTables($results) [@param array $results, @return array]
    変更後
    processTables($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, schema: string|null, schema_qualified_name: string, size: int|null, comment: string|null, collation: string|null, engine: string|null}>]
  • processTypes
    変更前
    processTypes($results) [@param array $results, @return array]
    変更後
    processTypes($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, schema: string, type: string, type: string, category: string, implicit: bool}>]
  • processViews
    変更前
    processViews($results) [@param array $results, @return array]
    変更後
    processViews($results) [@param list<array<string, mixed>> $results, @return list<array{name: string, schema: string, schema_qualified_name: string, definition: string}>]

Illuminate\Database\Query\Processors\SQLiteProcessor

  • processColumns
    変更前
    processColumns($results, $sql = '') [@param array $results, @param string $sql, @return array]
    変更後
    processColumns($results, $sql = '')
  • processForeignKeys
    変更前
    processForeignKeys($results) [@param array $results, @return array]
    変更後
    processForeignKeys($results)
  • processIndexes
    変更前
    processIndexes($results) [@param array $results, @return array]
    変更後
    processIndexes($results)

Illuminate\Database\Query\Processors\SqlServerProcessor

  • processColumns
    変更前
    processColumns($results) [@param array $results, @return array]
    変更後
    processColumns($results)
  • processForeignKeys
    変更前
    processForeignKeys($results) [@param array $results, @return array]
    変更後
    processForeignKeys($results)
  • processIndexes
    変更前
    processIndexes($results) [@param array $results, @return array]
    変更後
    processIndexes($results)

Illuminate\Database\Schema\Builder

  • dropColumns
    変更前
    dropColumns($table, $columns) [@param string $table, @param string|array $columns, @return void]
    変更後
    dropColumns($table, $columns) [@param string $table, @param string|array<string> $columns, @return void]
  • getColumnListing
    変更前
    getColumnListing($table) [@param string $table, @return array]
    変更後
    getColumnListing($table) [@param string $table, @return list<string>]
  • getColumns
    変更前
    getColumns($table) [@param string $table, @return array]
    変更後
    getColumns($table) [@param string $table, @return list<array{name: string, type: string, type_name: string, nullable: bool, default: mixed, auto_increment: bool, comment: string|null, generation: array{type: string, expression: string|null}|null}>]
  • getIndexes
    変更前
    getIndexes($table) [@param string $table, @return array]
    変更後
    getIndexes($table) [@param string $table, @return list<array{name: string, columns: list<string>, type: string, unique: bool, primary: bool}>]
  • getIndexListing
    変更前
    getIndexListing($table) [@param string $table, @return array]
    変更後
    getIndexListing($table) [@param string $table, @return list<string>]
  • getSchemas
    変更前
    getSchemas() [@return array]
    変更後
    getSchemas() [@return list<array{name: string, path: string|null, default: bool}>]
  • getTableListing
    変更前
    getTableListing($schema = null, $schemaQualified = true) [@param string|string[]|null $schema, @param bool $schemaQualified, @return array]
    変更後
    getTableListing($schema = null, $schemaQualified = true) [@param string|string[]|null $schema, @param bool $schemaQualified, @return list<string>]
  • getTables
    変更前
    getTables($schema = null) [@param string|string[]|null $schema, @return array]
    変更後
    getTables($schema = null) [@param string|string[]|null $schema, @return list<array{name: string, schema: string|null, schema_qualified_name: string, size: int|null, comment: string|null, collation: string|null, engine: string|null}>]
  • getTypes
    変更前
    getTypes($schema = null) [@param string|string[]|null $schema, @return array]
    変更後
    getTypes($schema = null) [@param string|string[]|null $schema, @return list<array{name: string, schema: string, type: string, type: string, category: string, implicit: bool}>]
  • getViews
    変更前
    getViews($schema = null) [@param string|string[]|null $schema, @return array]
    変更後
    getViews($schema = null) [@param string|string[]|null $schema, @return list<array{name: string, schema: string|null, schema_qualified_name: string, definition: string}>]
  • hasColumns
    変更前
    hasColumns($table, array $columns) [@param string $table, @param array $columns, @return bool]
    変更後
    hasColumns($table, array $columns) [@param string $table, @param array<string> $columns, @return bool]

Illuminate\Database\Schema\SQLiteBuilder

  • getColumns
    変更前
    getColumns($table) [@param string $table, @return array]
    変更後
    getColumns($table)
  • getTables
    変更前
    getTables($schema = null) [@param string|string[]|null $schema, @return array]
    変更後
    getTables($schema = null)
  • getViews
    変更前
    getViews($schema = null) [@param string|string[]|null $schema, @return array]
    変更後
    getViews($schema = null)

Illuminate\Database\SqlServerConnection

  • transaction
    変更前
    transaction(Closure $callback, $attempts = 1) [@param \Closure $callback, @param int $attempts, @return mixed]
    変更後
    transaction(Closure $callback, $attempts = 1, ?Closure $onFailure = null) [@param \Closure $callback, @param int $attempts, @param Closure|null $onFailure, @return mixed]

Illuminate\Support\Facades\DB

  • transaction
    変更前
    @method static transaction(\Closure $callback, int $attempts = 1): mixed
    変更後
    @method static transaction(\Closure $callback, int $attempts = 1, \Closure|null $onFailure = null): mixed

Illuminate\Support\LazyCollection

  • diff
    変更前
    diff($items) [@param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items, @return static]
    変更後
    diff($items) [@param \Illuminate\Contracts\Support\Arrayable<array-key, TValue>|iterable<array-key, TValue> $items, @return static<TKey, TValue>]
  • eager
    変更前
    eager() [@return static]
    変更後
    eager() [@return static<TKey, TValue>]
  • remember
    変更前
    remember() [@return static]
    変更後
    remember() [@return static<TKey, TValue>]
  • reverse
    変更前
    reverse() [@return static]
    変更後
    reverse() [@return static<TKey, TValue>]
  • shuffle
    変更前
    shuffle() [@return static]
    変更後
    shuffle() [@return static<TKey, TValue>]
  • take
    変更前
    take($limit) [@param int $limit, @return static]
    変更後
    take($limit) [@param int $limit, @return static<TKey, TValue>]
  • takeUntil
    変更前
    takeUntil($value) [@param TValue|callable(TValue,TKey): bool $value, @return static]
    変更後
    takeUntil($value) [@param TValue|callable(TValue,TKey): bool $value, @return static<TKey, TValue>]
  • takeUntilTimeout
    変更前
    takeUntilTimeout(DateTimeInterface $timeout) [@param \DateTimeInterface $timeout, @return static]
    変更後
    takeUntilTimeout(DateTimeInterface $timeout) [@param \DateTimeInterface $timeout, @return static<TKey, TValue>]
  • takeWhile
    変更前
    takeWhile($value) [@param TValue|callable(TValue,TKey): bool $value, @return static]
    変更後
    takeWhile($value) [@param TValue|callable(TValue,TKey): bool $value, @return static<TKey, TValue>]
  • tapEach
    変更前
    tapEach(callable $callback) [@param callable(TValue, TKey): mixed $callback, @return static]
    変更後
    tapEach(callable $callback) [@param callable(TValue, TKey): mixed $callback, @return static<TKey, TValue>]
  • unique
    変更前
    unique($key = null, $strict = false) [@param (callable(TValue, TKey): mixed)|string|null $key, @param bool $strict, @return static]
    変更後
    unique($key = null, $strict = false) [@param (callable(TValue, TKey): mixed)|string|null $key, @param bool $strict, @return static<TKey, TValue>]

Illuminate\Support\MessageBag

  • __construct
    変更前
    __construct(array $messages = []) [@param array $messages]
    変更後
    __construct(array $messages = []) [@param array<string, Arrayable|string|array<string>> $messages]
  • all
    変更前
    all($format = null) [@param string|null $format, @return array]
    変更後
    all($format = null) [@param string|null $format, @return array<string>]
  • get
    変更前
    get($key, $format = null) [@param string $key, @param string|null $format, @return array]
    変更後
    get($key, $format = null) [@param string $key, @param string|null $format, @return array<string>|array<string, array<string>>]
  • getMessages
    変更前
    getMessages() [@return array]
    変更後
    getMessages() [@return array<string, array<string>>]
  • keys
    変更前
    keys() [@return array]
    変更後
    keys() [@return array<string>]
  • merge
    変更前
    merge($messages) [@param \Illuminate\Contracts\Support\MessageProvider|array $messages, @return $this]
    変更後
    merge($messages) [@param \Illuminate\Contracts\Support\MessageProvider|array<string, array<string>> $messages, @return $this]
  • messages
    変更前
    messages() [@return array]
    変更後
    messages() [@return array<string, array<string>>]

Illuminate\Support\ViewErrorBag

  • getBags
    変更前
    getBags() [@return array]
    変更後
    getBags() [@return array<string, \Illuminate\Contracts\Support\MessageBag>]