v12.14.0
追加
14
Illuminate\Auth\Passwords\PasswordBroker
-
getTimebox
- 変更後
getTimebox() [@return \Illuminate\Support\Timebox]
Illuminate\Cache\MemoizedStore
-
lock
- 変更後
lock($name, $seconds = 0, $owner = null) [@param string $name, @param int $seconds, @param string|null $owner, @return \Illuminate\Contracts\Cache\Lock]
-
restoreLock
- 変更後
restoreLock($name, $owner) [@param string $name, @param string $owner, @return \Illuminate\Contracts\Cache\Lock]
Illuminate\Container\Container
Illuminate\Http\Client\StrayRequestException
Illuminate\Log\Context\Repository
-
except
- 変更後
except($keys) [@param array<int, string> $keys, @return array<string, mixed>]
-
exceptHidden
- 変更後
exceptHidden($keys) [@param array<int, string> $keys, @return array<string, mixed>]
Illuminate\Queue\Middleware\ThrottlesExceptions
-
deleteWhen
- 変更後
deleteWhen(callable|string $callback) [@param callable|string $callback, @return $this]
Illuminate\Support\Arr
-
arrayable
- 変更後
static arrayable($value) [@param mixed $value, @return bool]
-
from
- 変更後
static from($items) [@param array<TKey, TValue>|Enumerable<TKey, TValue>|Arrayable<TKey, TValue>|WeakMap<object, TValue>|Traversable<TKey, TValue>|Jsonable|JsonSerializable|object $items, @return ($items is WeakMap ? list<TValue> : array<TKey, TValue>)]
Illuminate\Support\Facades\App
Illuminate\Support\Facades\Context
-
except
- 変更後
@method static except(array $keys): array
-
exceptHidden
- 変更後
@method static exceptHidden(array $keys): array
Illuminate\Support\Facades\Password
-
getTimebox
- 変更後
@method static getTimebox(): \Illuminate\Support\Timebox
シグネチャ変更
25
Illuminate\Auth\Passwords\PasswordBroker
-
__construct
- 変更前
__construct(Illuminate\Auth\Passwords\TokenRepositoryInterface $tokens, Illuminate\Contracts\Auth\UserProvider $users, ?Illuminate\Contracts\Events\Dispatcher $dispatcher = null) [@param \Illuminate\Auth\Passwords\TokenRepositoryInterface $tokens, @param \Illuminate\Contracts\Auth\UserProvider $users, @param \Illuminate\Contracts\Events\Dispatcher|null $dispatcher]
- 変更後
__construct(Illuminate\Auth\Passwords\TokenRepositoryInterface $tokens, Illuminate\Contracts\Auth\UserProvider $users, ?Illuminate\Contracts\Events\Dispatcher $dispatcher = null, ?Illuminate\Support\Timebox $timebox = null, int $timeboxDuration = 200000) [@param \Illuminate\Auth\Passwords\TokenRepositoryInterface $tokens, @param \Illuminate\Contracts\Auth\UserProvider $users, @param \Illuminate\Contracts\Events\Dispatcher|null $dispatcher, @param \Illuminate\Support\Timebox|null $timebox, @param int $timeboxDuration]
Illuminate\Auth\SessionGuard
-
__construct
- 変更前
__construct($name, Illuminate\Contracts\Auth\UserProvider $provider, Illuminate\Contracts\Session\Session $session, ?Symfony\Component\HttpFoundation\Request $request = null, ?Illuminate\Support\Timebox $timebox = null, bool $rehashOnLogin = true) [@param string $name, @param \Illuminate\Contracts\Auth\UserProvider $provider, @param \Illuminate\Contracts\Session\Session $session, @param \Symfony\Component\HttpFoundation\Request|null $request, @param \Illuminate\Support\Timebox|null $timebox, @param bool $rehashOnLogin]
- 変更後
__construct($name, Illuminate\Contracts\Auth\UserProvider $provider, Illuminate\Contracts\Session\Session $session, ?Symfony\Component\HttpFoundation\Request $request = null, ?Illuminate\Support\Timebox $timebox = null, bool $rehashOnLogin = true, int $timeboxDuration = 200000) [@param string $name, @param \Illuminate\Contracts\Auth\UserProvider $provider, @param \Illuminate\Contracts\Session\Session $session, @param \Symfony\Component\HttpFoundation\Request|null $request, @param \Illuminate\Support\Timebox|null $timebox, @param bool $rehashOnLogin, @param int $timeboxDuration]
Illuminate\Database\Query\Builder
-
whereRaw
- 変更前
whereRaw($sql, $bindings = [], $boolean = 'and') [@param string $sql, @param mixed $bindings, @param string $boolean, @return $this]
- 変更後
whereRaw($sql, $bindings = [], $boolean = 'and') [@param \Illuminate\Contracts\Database\Query\Expression|string $sql, @param mixed $bindings, @param string $boolean, @return $this]
Illuminate\Database\Schema\Builder
-
blueprintResolver
- 変更前
blueprintResolver(?Closure $resolver) [@param TResolver|null $resolver, @return void]
- 変更後
blueprintResolver(Closure $resolver) [@param \Closure(string, \Closure, string): \Illuminate\Database\Schema\Blueprint|null $resolver, @return void]
Illuminate\Foundation\Configuration\ApplicationBuilder
-
withEvents
- 変更前
withEvents(array|bool $discover = []) [@param array|bool $discover, @return $this]
- 変更後
withEvents(iterable|bool $discover = true) [@param iterable<int, string>|bool $discover, @return $this]
Illuminate\Foundation\Events\DiscoverEvents
-
guessClassNamesUsing
- 変更前
static guessClassNamesUsing(callable $callback) [@param callable(SplFileInfo, string): string $callback, @return void]
- 変更後
static guessClassNamesUsing(callable $callback) [@param callable(SplFileInfo, string): class-string $callback, @return void]
-
within
- 変更前
static within($listenerPath, $basePath) [@param string $listenerPath, @param string $basePath, @return array]
- 変更後
static within($listenerPath, $basePath) [@param array<int, string>|string $listenerPath, @param string $basePath, @return array]
Illuminate\Foundation\Support\Providers\EventServiceProvider
-
addEventDiscoveryPaths
- 変更前
static addEventDiscoveryPaths(array|string $paths) [@param string|array $paths, @return void]
- 変更後
static addEventDiscoveryPaths(iterable|string $paths) [@param string|iterable<int, string> $paths, @return void]
-
setEventDiscoveryPaths
- 変更前
static setEventDiscoveryPaths(array $paths) [@param array $paths, @return void]
- 変更後
static setEventDiscoveryPaths(iterable $paths) [@param iterable<int, string> $paths, @return void]
Illuminate\Http\Client\Factory
-
assertNotSent
- 変更前
assertNotSent($callback) [@param callable $callback, @return void]
- 変更後
assertNotSent($callback) [@param callable|(\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool) $callback, @return void]
-
assertSent
- 変更前
assertSent($callback) [@param callable $callback, @return void]
- 変更後
assertSent($callback) [@param callable|(\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool) $callback, @return void]
-
assertSentInOrder
- 変更前
assertSentInOrder($callbacks) [@param array $callbacks, @return void]
- 変更後
assertSentInOrder($callbacks) [@param list<string|(\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool)|callable> $callbacks, @return void]
-
failedConnection
- 変更前
static failedConnection($message = null) [@param string|null $message, @return \GuzzleHttp\Promise\PromiseInterface]
- 変更後
static failedConnection($message = null) [@param string|null $message, @return \Closure(\Illuminate\Http\Client\Request): \GuzzleHttp\Promise\PromiseInterface]
-
fake
- 変更前
fake($callback = null) [@param callable|array|null $callback, @return $this]
- 変更後
fake($callback = null) [@param callable|array<string, mixed>|null $callback, @return $this]
-
recorded
- 変更前
recorded($callback = null) [@param callable $callback, @return \Illuminate\Support\Collection]
- 変更後
recorded($callback = null) [@param (\Closure(\Illuminate\Http\Client\Request, \Illuminate\Http\Client\Response|null): bool)|callable $callback, @return \Illuminate\Support\Collection<int, array{0: \Illuminate\Http\Client\Request, 1: \Illuminate\Http\Client\Response|null}>]
-
stubUrl
- 変更前
stubUrl($url, $callback) [@param string $url, @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable|int|string|array $callback, @return $this]
- 変更後
stubUrl($url, $callback) [@param string $url, @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable|int|string|array|\Illuminate\Http\Client\ResponseSequence $callback, @return $this]
Illuminate\Http\Client\Pool
-
getRequests
- 変更前
getRequests() [@return array]
- 変更後
getRequests() [@return array<array-key, \Illuminate\Http\Client\PendingRequest>]
Illuminate\Http\Client\Response
-
onError
- 変更前
onError(callable $callback) [@param callable $callback, @return $this]
- 変更後
onError(callable $callback) [@param callable|(\Closure(\Illuminate\Http\Client\Response): mixed) $callback, @return $this]
-
throwIfStatus
- 変更前
throwIfStatus($statusCode) [@param callable|int $statusCode, @return $this]
- 変更後
throwIfStatus($statusCode) [@param int|(\Closure(int, \Illuminate\Http\Client\Response): bool)|callable $statusCode, @return $this]
-
throwUnlessStatus
- 変更前
throwUnlessStatus($statusCode) [@param callable|int $statusCode, @return $this]
- 変更後
throwUnlessStatus($statusCode) [@param int|(\Closure(int, \Illuminate\Http\Client\Response): bool)|callable $statusCode, @return $this]
Illuminate\Support\Facades\Http
-
assertNotSent
- 変更前
@method static assertNotSent(callable $callback): void
- 変更後
@method static assertNotSent(callable|\Closure $callback): void
-
assertSent
- 変更前
@method static assertSent(callable $callback): void
- 変更後
@method static assertSent(callable|\Closure $callback): void
-
failedConnection
- 変更前
@method static failedConnection(string|null $message = null): \GuzzleHttp\Promise\PromiseInterface
- 変更後
@method static failedConnection(string|null $message = null): \Closure
-
recorded
- 変更前
@method static recorded(callable $callback = null): \Illuminate\Support\Collection
- 変更後
@method static recorded(\Closure|callable $callback = null): \Illuminate\Support\Collection
Illuminate\Support\Number
-
fileSize
- 変更前
static fileSize(int|float $bytes, int $precision = 0, ?int $maxPrecision = null) [@param int|float $bytes, @param int $precision, @param int|null $maxPrecision, @return string]
- 変更後
static fileSize(int|float $bytes, int $precision = 0, ?int $maxPrecision = null, bool $useBinaryPrefix = false) [@param int|float $bytes, @param int $precision, @param int|null $maxPrecision, @param bool $useBinaryPrefix, @return string]