From 7e4a539df43923c8b7873766fd8bea3f8deba9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:52:32 +0300 Subject: [PATCH 001/707] feat: Add `exists` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 87e47b55226c..3af044ecd184 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -242,4 +242,16 @@ public function getIterator(): Traversable { return new ArrayIterator($this->input); } + + /** + * Determine if the validated inputs contains a given input item key. + * + * @param string|array $key + * @return bool + */ + public function exists($key) + { + return $this->has($key); + } + } From ffd5860698a7c067afa9c6571ad0f7350e51c9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:53:06 +0300 Subject: [PATCH 002/707] feat: Add `hasAny` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 3af044ecd184..4e151298c86a 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -254,4 +254,19 @@ public function exists($key) return $this->has($key); } + /** + * Determine if the validated inputs contains any of the given inputs. + * + * @param string|array $keys + * @return bool + */ + public function hasAny($keys) + { + $keys = is_array($keys) ? $keys : func_get_args(); + + $input = $this->all(); + + return Arr::hasAny($input, $keys); + } + } From 888424d78d0dae5fdd56ad176a68382437ecfe64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:54:01 +0300 Subject: [PATCH 003/707] feat: Add `whenHas` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 4e151298c86a..e03d286ad1b5 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -269,4 +269,25 @@ public function hasAny($keys) return Arr::hasAny($input, $keys); } + /** + * Apply the callback if the validated inputs contains the given input item key. + * + * @param string $key + * @param callable $callback + * @param callable|null $default + * @return $this|mixed + */ + public function whenHas($key, callable $callback, callable $default = null) + { + if ($this->has($key)) { + return $callback(data_get($this->all(), $key)) ?: $this; + } + + if ($default) { + return $default(); + } + + return $this; + } + } From 996c14be73f2d5d8dbe5333c47f43d30ad4216bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:54:47 +0300 Subject: [PATCH 004/707] feat: Add `filled` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index e03d286ad1b5..f83a6030e467 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -290,4 +290,23 @@ public function whenHas($key, callable $callback, callable $default = null) return $this; } + /** + * Determine if the validated inputs contains a non-empty value for an input item. + * + * @param string|array $key + * @return bool + */ + public function filled($key) + { + $keys = is_array($key) ? $key : func_get_args(); + + foreach ($keys as $value) { + if ($this->isEmptyString($value)) { + return false; + } + } + + return true; + } + } From fd3da928163d832803d041390fd1472375b51fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:55:14 +0300 Subject: [PATCH 005/707] feat: Add `isNotFilled` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index f83a6030e467..cfcbb36ac16c 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -309,4 +309,23 @@ public function filled($key) return true; } + /** + * Determine if the validated inputs contains an empty value for an input item. + * + * @param string|array $key + * @return bool + */ + public function isNotFilled($key) + { + $keys = is_array($key) ? $key : func_get_args(); + + foreach ($keys as $value) { + if (! $this->isEmptyString($value)) { + return false; + } + } + + return true; + } + } From b46fc126d79adc4e1f1e244e34bd5631d91e3be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:55:39 +0300 Subject: [PATCH 006/707] feat: Add `anyFilled` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index cfcbb36ac16c..a78ea20018d4 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -328,4 +328,23 @@ public function isNotFilled($key) return true; } + /** + * Determine if the validated inputs contains a non-empty value for any of the given inputs. + * + * @param string|array $keys + * @return bool + */ + public function anyFilled($keys) + { + $keys = is_array($keys) ? $keys : func_get_args(); + + foreach ($keys as $key) { + if ($this->filled($key)) { + return true; + } + } + + return false; + } + } From f7a3759407d121a4e05f801141311167038e4329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 15:59:08 +0300 Subject: [PATCH 007/707] feat: Add `whenFilled` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index a78ea20018d4..2af84d4ff53f 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -347,4 +347,25 @@ public function anyFilled($keys) return false; } + /** + * Apply the callback if the validated inputs contains a non-empty value for the given input item key. + * + * @param string $key + * @param callable $callback + * @param callable|null $default + * @return $this|mixed + */ + public function whenFilled($key, callable $callback, callable $default = null) + { + if ($this->filled($key)) { + return $callback(data_get($this->all(), $key)) ?: $this; + } + + if ($default) { + return $default(); + } + + return $this; + } + } From c9166fa62f27d737a15f261725284ae0788c845a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:00:04 +0300 Subject: [PATCH 008/707] feat: Add `whenMissing` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 2af84d4ff53f..e4f97b55ec60 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -368,4 +368,25 @@ public function whenFilled($key, callable $callback, callable $default = null) return $this; } + /** + * Apply the callback if the validated inputs is missing the given input item key. + * + * @param string $key + * @param callable $callback + * @param callable|null $default + * @return $this|mixed + */ + public function whenMissing($key, callable $callback, callable $default = null) + { + if ($this->missing($key)) { + return $callback(data_get($this->all(), $key)) ?: $this; + } + + if ($default) { + return $default(); + } + + return $this; + } + } From 8ef586fbcbd27cc815a754b504e6c6c32713cd24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:00:47 +0300 Subject: [PATCH 009/707] feat: Add `isEmptyString` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index e4f97b55ec60..e67019f44449 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -389,4 +389,17 @@ public function whenMissing($key, callable $callback, callable $default = null) return $this; } + /** + * Determine if the given input key is an empty string for "filled". + * + * @param string $key + * @return bool + */ + protected function isEmptyString($key) + { + $value = $this->input($key); + + return ! is_bool($value) && ! is_array($value) && trim((string) $value) === ''; + } + } From 15f23454bba479d727aca3caeb31b51050873767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:02:15 +0300 Subject: [PATCH 010/707] feat: Add `keys` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index e67019f44449..d62ff2f3dc43 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -402,4 +402,14 @@ protected function isEmptyString($key) return ! is_bool($value) && ! is_array($value) && trim((string) $value) === ''; } + /** + * Get the keys for all of the input. + * + * @return array + */ + public function keys() + { + return array_keys($this->input()); + } + } From f4174e49ee2af049c5a9f96540db54f1ef2a9132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:02:41 +0300 Subject: [PATCH 011/707] feat: Add `input` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index d62ff2f3dc43..fa6d0b167b4a 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -412,4 +412,18 @@ public function keys() return array_keys($this->input()); } + /** + * Retrieve an input item from the validated inputs. + * + * @param string|null $key + * @param mixed $default + * @return mixed + */ + public function input($key = null, $default = null) + { + return data_get( + $this->all(), $key, $default + ); + } + } From d93d4419e7c08917c2e0919680143e19f12b9648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:03:16 +0300 Subject: [PATCH 012/707] feat: Add `string` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index fa6d0b167b4a..ed7ff41566d7 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -426,4 +426,16 @@ public function input($key = null, $default = null) ); } + /** + * Retrieve input from the validated inputs as a Stringable instance. + * + * @param string $key + * @param mixed $default + * @return \Illuminate\Support\Stringable + */ + public function string($key, $default = null) + { + return str($this->input($key, $default)); + } + } From 19b9d3bf270ea88edb92759a1d0b7e52620b33a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:03:35 +0300 Subject: [PATCH 013/707] feat: Add `str` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index ed7ff41566d7..31febdcf4ebf 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -426,6 +426,18 @@ public function input($key = null, $default = null) ); } + /** + * Retrieve input from the validated inputs as a Stringable instance. + * + * @param string $key + * @param mixed $default + * @return \Illuminate\Support\Stringable + */ + public function str($key, $default = null) + { + return $this->string($key, $default); + } + /** * Retrieve input from the validated inputs as a Stringable instance. * From cbe7fa891b1e095ede77a811c6cb6e5c4340cd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:04:11 +0300 Subject: [PATCH 014/707] feat: Add `boolean` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 31febdcf4ebf..b2567fb9137c 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -450,4 +450,18 @@ public function string($key, $default = null) return str($this->input($key, $default)); } + /** + * Retrieve input as a boolean value. + * + * Returns true when value is "1", "true", "on", and "yes". Otherwise, returns false. + * + * @param string|null $key + * @param bool $default + * @return bool + */ + public function boolean($key = null, $default = false) + { + return filter_var($this->input($key, $default), FILTER_VALIDATE_BOOLEAN); + } + } From 10a9cb4030ef1119e00c0bfe8c1831217ec47c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:04:32 +0300 Subject: [PATCH 015/707] feat: Add `integer` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index b2567fb9137c..fb4e727931d1 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -464,4 +464,16 @@ public function boolean($key = null, $default = false) return filter_var($this->input($key, $default), FILTER_VALIDATE_BOOLEAN); } + /** + * Retrieve input as an integer value. + * + * @param string $key + * @param int $default + * @return int + */ + public function integer($key, $default = 0) + { + return intval($this->input($key, $default)); + } + } From 17b5db725a720e20080b3ede6ecf8863bcc8728a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:04:52 +0300 Subject: [PATCH 016/707] feat: Add `float` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index fb4e727931d1..e8bd09257ef3 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -476,4 +476,16 @@ public function integer($key, $default = 0) return intval($this->input($key, $default)); } + /** + * Retrieve input as a float value. + * + * @param string $key + * @param float $default + * @return float + */ + public function float($key, $default = 0.0) + { + return floatval($this->input($key, $default)); + } + } From 9ba7d34a8e9c3588242e46468cc171e24ec9edfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:05:35 +0300 Subject: [PATCH 017/707] feat: Add `date` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index e8bd09257ef3..43662f0b240c 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -4,6 +4,7 @@ use ArrayIterator; use Illuminate\Contracts\Support\ValidatedData; +use Illuminate\Support\Facades\Date; use stdClass; use Traversable; @@ -488,4 +489,27 @@ public function float($key, $default = 0.0) return floatval($this->input($key, $default)); } + /** + * Retrieve input from the validated inputs as a Carbon instance. + * + * @param string $key + * @param string|null $format + * @param string|null $tz + * @return \Illuminate\Support\Carbon|null + * + * @throws \Carbon\Exceptions\InvalidFormatException + */ + public function date($key, $format = null, $tz = null) + { + if ($this->isNotFilled($key)) { + return null; + } + + if (is_null($format)) { + return Date::parse($this->input($key), $tz); + } + + return Date::createFromFormat($format, $this->input($key), $tz); + } + } From 6fd3688cd5b9430f3f1e8b129c4819e84c76036a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:06:08 +0300 Subject: [PATCH 018/707] feat: Add `enum` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 43662f0b240c..fc9c0239694e 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -512,4 +512,24 @@ public function date($key, $format = null, $tz = null) return Date::createFromFormat($format, $this->input($key), $tz); } + /** + * Retrieve input from the validated inputs as an enum. + * + * @template TEnum + * + * @param string $key + * @param class-string $enumClass + * @return TEnum|null + */ + public function enum($key, $enumClass) + { + if ($this->isNotFilled($key) || + ! enum_exists($enumClass) || + ! method_exists($enumClass, 'tryFrom')) { + return null; + } + + return $enumClass::tryFrom($this->input($key)); + } + } From 23e99237bfa723824da023c96845589ec85f8e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:06:29 +0300 Subject: [PATCH 019/707] feat: Add `dump` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index fc9c0239694e..2408c592eeec 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -6,6 +6,7 @@ use Illuminate\Contracts\Support\ValidatedData; use Illuminate\Support\Facades\Date; use stdClass; +use Symfony\Component\VarDumper\VarDumper; use Traversable; class ValidatedInput implements ValidatedData @@ -532,4 +533,19 @@ public function enum($key, $enumClass) return $enumClass::tryFrom($this->input($key)); } + /** + * Dump the items. + * + * @param mixed $keys + * @return $this + */ + public function dump($keys = []) + { + $keys = is_array($keys) ? $keys : func_get_args(); + + VarDumper::dump(count($keys) > 0 ? $this->only($keys) : $this->all()); + + return $this; + } + } From 2c3d634d7c575d879ab404717117046ff2d92306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:07:27 +0300 Subject: [PATCH 020/707] feat: Add `dd` method to `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 2408c592eeec..71830627fce1 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -533,6 +533,19 @@ public function enum($key, $enumClass) return $enumClass::tryFrom($this->input($key)); } + /** + * Dump the validated inputs items and end the script. + * + * @param mixed ...$keys + * @return never + */ + public function dd(...$keys) + { + $this->dump(...$keys); + + exit(1); + } + /** * Dump the items. * From 8ff553ba5b5fd19528a1b8ca23209de4250f926d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:10:57 +0300 Subject: [PATCH 021/707] refactor: Add `$key` prop to `collect` method in `ValidatedInput` --- src/Illuminate/Support/ValidatedInput.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 71830627fce1..cc14ca26af42 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -115,11 +115,12 @@ public function merge(array $items) /** * Get the input as a collection. * + * @param array|string|null $key * @return \Illuminate\Support\Collection */ - public function collect() + public function collect($key = null) { - return new Collection($this->input); + return collect(is_array($key) ? $this->only($key) : $this->input($key)); } /** From 1e9ff59b60c06dc18f1508208ae4d77044b6af87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:12:33 +0300 Subject: [PATCH 022/707] refactor: Change usages `$this->input` to `$this->all()` --- src/Illuminate/Support/ValidatedInput.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index cc14ca26af42..ac144ba343bb 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -40,7 +40,7 @@ public function has($keys) $keys = is_array($keys) ? $keys : func_get_args(); foreach ($keys as $key) { - if (! Arr::has($this->input, $key)) { + if (! Arr::has($this->all(), $key)) { return false; } } @@ -69,7 +69,7 @@ public function only($keys) { $results = []; - $input = $this->input; + $input = $this->all(); $placeholder = new stdClass; @@ -94,7 +94,7 @@ public function except($keys) { $keys = is_array($keys) ? $keys : func_get_args(); - $results = $this->input; + $results = $this->all(); Arr::forget($results, $keys); @@ -109,7 +109,7 @@ public function except($keys) */ public function merge(array $items) { - return new static(array_merge($this->input, $items)); + return new static(array_merge($this->all(), $items)); } /** From 5e97d897a50e4ff0e8b9648ca0f011be52f59285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:13:50 +0300 Subject: [PATCH 023/707] refactor: Change usages `$this->input[$key]` to `$this->input($key)` --- src/Illuminate/Support/ValidatedInput.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index ac144ba343bb..01cb2aa8be93 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -151,7 +151,7 @@ public function toArray() */ public function __get($name) { - return $this->input[$name]; + return $this->input($name); } /** @@ -206,7 +206,7 @@ public function offsetExists($key): bool */ public function offsetGet($key): mixed { - return $this->input[$key]; + return $this->input($key); } /** From e56333933d253d010488554b75ba8f4cd0b15110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:14:59 +0300 Subject: [PATCH 024/707] refactor: Change usages `isset($this->input[$name])` to `$this->exists($name)` --- src/Illuminate/Support/ValidatedInput.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 01cb2aa8be93..3cf043037b37 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -173,7 +173,7 @@ public function __set($name, $value) */ public function __isset($name) { - return isset($this->input[$name]); + return $this->exists($name); } /** @@ -195,7 +195,7 @@ public function __unset($name) */ public function offsetExists($key): bool { - return isset($this->input[$key]); + return $this->exists($key); } /** From 72a29827d4213fb168f05b6cb40419fa3eb4f11e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:15:10 +0300 Subject: [PATCH 025/707] test: Added tests --- tests/Support/ValidatedInputTest.php | 491 +++++++++++++++++++++++++++ 1 file changed, 491 insertions(+) diff --git a/tests/Support/ValidatedInputTest.php b/tests/Support/ValidatedInputTest.php index a8bdbe894322..c88117c5899b 100644 --- a/tests/Support/ValidatedInputTest.php +++ b/tests/Support/ValidatedInputTest.php @@ -2,8 +2,12 @@ namespace Illuminate\Tests\Support; +use Illuminate\Support\Collection; +use Illuminate\Support\Stringable; use Illuminate\Support\ValidatedInput; +use Illuminate\Tests\Support\Fixtures\StringBackedEnum; use PHPUnit\Framework\TestCase; +use Illuminate\Support\Carbon; class ValidatedInputTest extends TestCase { @@ -44,4 +48,491 @@ public function test_input_existence() $this->assertEquals(true, $inputB->has(['name', 'votes'])); } + + public function test_exists_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertTrue($input->exists('name')); + $this->assertTrue($input->exists('surname')); + $this->assertTrue($input->exists(['name', 'surname'])); + $this->assertTrue($input->exists('foo.bar')); + $this->assertTrue($input->exists(['name', 'foo.baz'])); + $this->assertTrue($input->exists(['name', 'foo'])); + $this->assertTrue($input->exists('foo')); + + $this->assertFalse($input->exists('votes')); + $this->assertFalse($input->exists(['name', 'votes'])); + $this->assertFalse($input->exists(['votes', 'foo.bar'])); + } + + public function test_has_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertTrue($input->has('name')); + $this->assertTrue($input->has('surname')); + $this->assertTrue($input->has(['name', 'surname'])); + $this->assertTrue($input->has('foo.bar')); + $this->assertTrue($input->has(['name', 'foo.baz'])); + $this->assertTrue($input->has(['name', 'foo'])); + $this->assertTrue($input->has('foo')); + + $this->assertFalse($input->has('votes')); + $this->assertFalse($input->has(['name', 'votes'])); + $this->assertFalse($input->has(['votes', 'foo.bar'])); + } + + public function test_has_any_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertTrue($input->hasAny('name')); + $this->assertTrue($input->hasAny('surname')); + $this->assertTrue($input->hasAny('foo.bar')); + $this->assertTrue($input->hasAny(['name', 'surname'])); + $this->assertTrue($input->hasAny(['name', 'foo.bat'])); + $this->assertTrue($input->hasAny(['votes', 'foo'])); + + $this->assertFalse($input->hasAny('votes')); + $this->assertFalse($input->hasAny(['votes', 'foo.bat'])); + } + + public function test_when_has_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'age' => '', 'foo' => ['bar' => null]]); + + $name = $age = $city = $foo = $bar = $baz = false; + + $input->whenHas('name', function ($value) use (&$name) { + $name = $value; + }); + + $input->whenHas('age', function ($value) use (&$age) { + $age = $value; + }); + + $input->whenHas('city', function ($value) use (&$city) { + $city = $value; + }); + + $input->whenHas('foo', function ($value) use (&$foo) { + $foo = $value; + }); + + + $input->whenHas('foo.bar', function ($value) use (&$bar) { + $bar = $value; + }); + + $input->whenHas('foo.baz', function () use (&$baz) { + $baz = 'test'; + }, function () use (&$baz) { + $baz = true; + }); + + $this->assertSame('Fatih', $name); + $this->assertSame('', $age); + $this->assertFalse($city); + $this->assertEquals(['bar' => null], $foo); + $this->assertTrue($baz); + $this->assertNull($bar); + } + + public function test_filled_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertTrue($input->filled('name')); + $this->assertTrue($input->filled('surname')); + $this->assertTrue($input->filled(['name', 'surname'])); + $this->assertTrue($input->filled(['name', 'foo'])); + $this->assertTrue($input->filled('foo')); + + $this->assertFalse($input->filled('foo.bar')); + $this->assertFalse($input->filled(['name', 'foo.baz'])); + $this->assertFalse($input->filled('votes')); + $this->assertFalse($input->filled(['name', 'votes'])); + $this->assertFalse($input->filled(['votes', 'foo.bar'])); + } + + public function test_is_not_filled_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertFalse($input->isNotFilled('name')); + $this->assertFalse($input->isNotFilled('surname')); + $this->assertFalse($input->isNotFilled(['name', 'surname'])); + $this->assertFalse($input->isNotFilled(['name', 'foo'])); + $this->assertFalse($input->isNotFilled('foo')); + $this->assertFalse($input->isNotFilled(['name', 'foo.baz'])); + $this->assertFalse($input->isNotFilled(['name', 'votes'])); + + $this->assertTrue($input->isNotFilled('foo.bar')); + $this->assertTrue($input->isNotFilled('votes')); + $this->assertTrue($input->isNotFilled(['votes', 'foo.bar'])); + } + + public function test_any_filled_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertTrue($input->anyFilled('name')); + $this->assertTrue($input->anyFilled('surname')); + $this->assertTrue($input->anyFilled(['name', 'surname'])); + $this->assertTrue($input->anyFilled(['name', 'foo'])); + $this->assertTrue($input->anyFilled('foo')); + $this->assertTrue($input->anyFilled(['name', 'foo.baz'])); + $this->assertTrue($input->anyFilled(['name', 'votes'])); + + $this->assertFalse($input->anyFilled('foo.bar')); + $this->assertFalse($input->anyFilled('votes')); + $this->assertFalse($input->anyFilled(['votes', 'foo.bar'])); + } + + public function test_when_filled_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'age' => '', 'foo' => ['bar' => null]]); + + $name = $age = $city = $foo = $bar = $baz = false; + + $input->whenFilled('name', function ($value) use (&$name) { + $name = $value; + }); + + $input->whenFilled('age', function ($value) use (&$age) { + $age = $value; + }); + + $input->whenFilled('city', function ($value) use (&$city) { + $city = $value; + }); + + $input->whenFilled('foo', function ($value) use (&$foo) { + $foo = $value; + }); + + + $input->whenFilled('foo.bar', function ($value) use (&$bar) { + $bar = $value; + }); + + $input->whenFilled('foo.baz', function () use (&$baz) { + $baz = 'test'; + }, function () use (&$baz) { + $baz = true; + }); + + $this->assertSame('Fatih', $name); + $this->assertEquals(['bar' => null], $foo); + $this->assertTrue($baz); + $this->assertFalse($age); + $this->assertFalse($city); + $this->assertFalse($bar); + } + + public function test_missing_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertFalse($input->missing('name')); + $this->assertFalse($input->missing('surname')); + $this->assertFalse($input->missing(['name', 'surname'])); + $this->assertFalse($input->missing('foo.bar')); + $this->assertFalse($input->missing(['name', 'foo.baz'])); + $this->assertFalse($input->missing(['name', 'foo'])); + $this->assertFalse($input->missing('foo')); + + $this->assertTrue($input->missing('votes')); + $this->assertTrue($input->missing(['name', 'votes'])); + $this->assertTrue($input->missing(['votes', 'foo.bar'])); + } + + + public function test_when_missing_method() + { + $input = new ValidatedInput(['foo' => ['bar' => null]]); + + $name = $age = $city = $foo = $bar = $baz = false; + + $input->whenMissing('name', function () use (&$name) { + $name = 'Fatih'; + }); + + $input->whenMissing('age', function () use (&$age) { + $age = ''; + }); + + $input->whenMissing('city', function () use (&$city) { + $city = null; + }); + + $input->whenMissing('foo', function ($value) use (&$foo) { + $foo = $value; + }); + + $input->whenMissing('foo.baz', function () use (&$baz) { + $baz = true; + }); + + $input->whenMissing('foo.bar', function () use (&$bar) { + $bar = 'test'; + }, function () use (&$bar) { + $bar = true; + }); + + $this->assertSame('Fatih', $name); + $this->assertSame('', $age); + $this->assertNull($city); + $this->assertFalse($foo); + $this->assertTrue($baz); + $this->assertTrue($bar); + } + + public function test_keys_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertEquals(['name', 'surname', 'foo'], $input->keys()); + } + + public function test_all_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertEquals(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']], $input->all()); + } + + + public function test_input_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertSame('Fatih', $input->input('name')); + $this->assertSame(null, $input->input('foo.bar')); + $this->assertSame('test', $input->input('foo.bat', 'test')); + } + + public function test_str_method() + { + $input = new ValidatedInput([ + 'int' => 123, + 'int_str' => '456', + 'float' => 123.456, + 'float_str' => '123.456', + 'float_zero' => 0.000, + 'float_str_zero' => '0.000', + 'str' => 'abc', + 'empty_str' => '', + 'null' => null, + ]); + + $this->assertTrue($input->str('int') instanceof Stringable); + $this->assertTrue($input->str('int') instanceof Stringable); + $this->assertTrue($input->str('unknown_key') instanceof Stringable); + $this->assertSame('123', $input->str('int')->value()); + $this->assertSame('456', $input->str('int_str')->value()); + $this->assertSame('123.456', $input->str('float')->value()); + $this->assertSame('123.456', $input->str('float_str')->value()); + $this->assertSame('0', $input->str('float_zero')->value()); + $this->assertSame('0.000', $input->str('float_str_zero')->value()); + $this->assertSame('', $input->str('empty_str')->value()); + $this->assertSame('', $input->str('null')->value()); + $this->assertSame('', $input->str('unknown_key')->value()); + } + + + public function test_string_method() + { + $input = new ValidatedInput([ + 'int' => 123, + 'int_str' => '456', + 'float' => 123.456, + 'float_str' => '123.456', + 'float_zero' => 0.000, + 'float_str_zero' => '0.000', + 'str' => 'abc', + 'empty_str' => '', + 'null' => null, + ]); + + $this->assertTrue($input->string('int') instanceof Stringable); + $this->assertTrue($input->string('int') instanceof Stringable); + $this->assertTrue($input->string('unknown_key') instanceof Stringable); + $this->assertSame('123', $input->string('int')->value()); + $this->assertSame('456', $input->string('int_str')->value()); + $this->assertSame('123.456', $input->string('float')->value()); + $this->assertSame('123.456', $input->string('float_str')->value()); + $this->assertSame('0', $input->string('float_zero')->value()); + $this->assertSame('0.000', $input->string('float_str_zero')->value()); + $this->assertSame('', $input->string('empty_str')->value()); + $this->assertSame('', $input->string('null')->value()); + $this->assertSame('', $input->string('unknown_key')->value()); + } + + + public function test_boolean_method() + { + $input = new ValidatedInput([ + 'with_trashed' => 'false', + 'download' => true, + 'checked' => 1, + 'unchecked' => '0', + 'with_on' => 'on', + 'with_yes' => 'yes' + ]); + + $this->assertTrue($input->boolean('checked')); + $this->assertTrue($input->boolean('download')); + $this->assertFalse($input->boolean('unchecked')); + $this->assertFalse($input->boolean('with_trashed')); + $this->assertFalse($input->boolean('some_undefined_key')); + $this->assertTrue($input->boolean('with_on')); + $this->assertTrue($input->boolean('with_yes')); + } + + + public function test_integer_method() + { + $input = new ValidatedInput([ + 'int' => '123', + 'raw_int' => 456, + 'zero_padded' => '078', + 'space_padded' => ' 901', + 'nan' => 'nan', + 'mixed' => '1ab', + 'underscore_notation' => '2_000', + 'null' => null, + ]); + + $this->assertSame(123, $input->integer('int')); + $this->assertSame(456, $input->integer('raw_int')); + $this->assertSame(78, $input->integer('zero_padded')); + $this->assertSame(901, $input->integer('space_padded')); + $this->assertSame(0, $input->integer('nan')); + $this->assertSame(1, $input->integer('mixed')); + $this->assertSame(2, $input->integer('underscore_notation')); + $this->assertSame(123456, $input->integer('unknown_key', 123456)); + $this->assertSame(0, $input->integer('null')); + $this->assertSame(0, $input->integer('null', 123456)); + } + + + public function test_float_method() + { + $input = new ValidatedInput([ + 'float' => '1.23', + 'raw_float' => 45.6, + 'decimal_only' => '.6', + 'zero_padded' => '0.78', + 'space_padded' => ' 90.1', + 'nan' => 'nan', + 'mixed' => '1.ab', + 'scientific_notation' => '1e3', + 'null' => null, + ]); + + $this->assertSame(1.23, $input->float('float')); + $this->assertSame(45.6, $input->float('raw_float')); + $this->assertSame(.6, $input->float('decimal_only')); + $this->assertSame(0.78, $input->float('zero_padded')); + $this->assertSame(90.1, $input->float('space_padded')); + $this->assertSame(0.0, $input->float('nan')); + $this->assertSame(1.0, $input->float('mixed')); + $this->assertSame(1e3, $input->float('scientific_notation')); + $this->assertSame(123.456, $input->float('unknown_key', 123.456)); + $this->assertSame(0.0, $input->float('null')); + $this->assertSame(0.0, $input->float('null', 123.456)); + } + + + public function test_date_method() + { + $input = new ValidatedInput([ + 'as_null' => null, + 'as_invalid' => 'invalid', + + 'as_datetime' => '24-01-01 16:30:25', + 'as_format' => '1704126625', + 'as_timezone' => '24-01-01 13:30:25', + + 'as_date' => '2024-01-01', + 'as_time' => '16:30:25', + ]); + + $current = Carbon::create(2024, 1, 1, 16, 30, 25); + + $this->assertNull($input->date('as_null')); + $this->assertNull($input->date('doesnt_exists')); + + $this->assertEquals($current, $input->date('as_datetime')); + $this->assertEquals($current->format('Y-m-d H:i:s P'), $input->date('as_format', 'U')->format('Y-m-d H:i:s P')); + $this->assertEquals($current, $input->date('as_timezone', null, 'America/Santiago')); + + $this->assertTrue($input->date('as_date')->isSameDay($current)); + $this->assertTrue($input->date('as_time')->isSameSecond('16:30:25')); + } + + public function test_enum_method() + { + $input = new ValidatedInput([ + 'valid_enum_value' => 'Hello world', + 'invalid_enum_value' => 'invalid', + ]); + + $this->assertNull($input->enum('doesnt_exists', StringBackedEnum::class)); + + $this->assertEquals(StringBackedEnum::HELLO_WORLD, $input->enum('valid_enum_value', StringBackedEnum::class)); + + $this->assertNull($input->enum('invalid_enum_value', StringBackedEnum::class)); + } + + public function test_collect_method() + { + $input = new ValidatedInput(['users' => [1, 2, 3]]); + + $this->assertInstanceOf(Collection::class, $input->collect('users')); + $this->assertTrue($input->collect('developers')->isEmpty()); + $this->assertEquals([1, 2, 3], $input->collect('users')->all()); + $this->assertEquals(['users' => [1, 2, 3]], $input->collect()->all()); + + $input = new ValidatedInput(['text-payload']); + $this->assertEquals(['text-payload'], $input->collect()->all()); + + $input = new ValidatedInput(['email' => 'test@example.com']); + $this->assertEquals(['test@example.com'], $input->collect('email')->all()); + + $input = new ValidatedInput([]); + $this->assertInstanceOf(Collection::class, $input->collect()); + $this->assertTrue($input->collect()->isEmpty()); + + $input = new ValidatedInput(['users' => [1, 2, 3], 'roles' => [4, 5, 6], 'foo' => ['bar', 'baz'], 'email' => 'test@example.com']); + $this->assertInstanceOf(Collection::class, $input->collect(['users'])); + $this->assertTrue($input->collect(['developers'])->isEmpty()); + $this->assertTrue($input->collect(['roles'])->isNotEmpty()); + $this->assertEquals(['roles' => [4, 5, 6]], $input->collect(['roles'])->all()); + $this->assertEquals(['users' => [1, 2, 3], 'email' => 'test@example.com'], $input->collect(['users', 'email'])->all()); + $this->assertEquals(collect(['roles' => [4, 5, 6], 'foo' => ['bar', 'baz']]), $input->collect(['roles', 'foo'])); + $this->assertEquals(['users' => [1, 2, 3], 'roles' => [4, 5, 6], 'foo' => ['bar', 'baz'], 'email' => 'test@example.com'], $input->collect()->all()); + } + + + public function test_only_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertEquals(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null]], $input->only('name', 'surname', 'foo.bar')); + $this->assertEquals(['name' => 'Fatih', 'foo' => ['bar' => null, 'baz' => '']], $input->only('name', 'foo')); + $this->assertEquals(['foo' => ['baz' => '']], $input->only('foo.baz')); + $this->assertEquals(['name' => 'Fatih'], $input->only('name')); + } + + public function test_except_method() + { + $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); + + $this->assertEquals(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null]], $input->except('foo.baz')); + $this->assertEquals(['surname' => 'AYDIN'], $input->except('name', 'foo')); + $this->assertEquals([], $input->except('name', 'surname', 'foo')); + } } From 21502433d14f29442e1f166a32c57997952d5fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:42:21 +0300 Subject: [PATCH 026/707] style: Fixed styling --- tests/Support/ValidatedInputTest.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/tests/Support/ValidatedInputTest.php b/tests/Support/ValidatedInputTest.php index c88117c5899b..6798bd69c914 100644 --- a/tests/Support/ValidatedInputTest.php +++ b/tests/Support/ValidatedInputTest.php @@ -2,12 +2,12 @@ namespace Illuminate\Tests\Support; +use Illuminate\Support\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Stringable; use Illuminate\Support\ValidatedInput; use Illuminate\Tests\Support\Fixtures\StringBackedEnum; use PHPUnit\Framework\TestCase; -use Illuminate\Support\Carbon; class ValidatedInputTest extends TestCase { @@ -120,7 +120,6 @@ public function test_when_has_method() $foo = $value; }); - $input->whenHas('foo.bar', function ($value) use (&$bar) { $bar = $value; }); @@ -212,7 +211,6 @@ public function test_when_filled_method() $foo = $value; }); - $input->whenFilled('foo.bar', function ($value) use (&$bar) { $bar = $value; }); @@ -248,7 +246,6 @@ public function test_missing_method() $this->assertTrue($input->missing(['votes', 'foo.bar'])); } - public function test_when_missing_method() { $input = new ValidatedInput(['foo' => ['bar' => null]]); @@ -303,7 +300,6 @@ public function test_all_method() $this->assertEquals(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']], $input->all()); } - public function test_input_method() { $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); @@ -341,7 +337,6 @@ public function test_str_method() $this->assertSame('', $input->str('unknown_key')->value()); } - public function test_string_method() { $input = new ValidatedInput([ @@ -370,7 +365,6 @@ public function test_string_method() $this->assertSame('', $input->string('unknown_key')->value()); } - public function test_boolean_method() { $input = new ValidatedInput([ @@ -379,7 +373,7 @@ public function test_boolean_method() 'checked' => 1, 'unchecked' => '0', 'with_on' => 'on', - 'with_yes' => 'yes' + 'with_yes' => 'yes', ]); $this->assertTrue($input->boolean('checked')); @@ -391,7 +385,6 @@ public function test_boolean_method() $this->assertTrue($input->boolean('with_yes')); } - public function test_integer_method() { $input = new ValidatedInput([ @@ -417,7 +410,6 @@ public function test_integer_method() $this->assertSame(0, $input->integer('null', 123456)); } - public function test_float_method() { $input = new ValidatedInput([ @@ -445,7 +437,6 @@ public function test_float_method() $this->assertSame(0.0, $input->float('null', 123.456)); } - public function test_date_method() { $input = new ValidatedInput([ @@ -516,7 +507,6 @@ public function test_collect_method() $this->assertEquals(['users' => [1, 2, 3], 'roles' => [4, 5, 6], 'foo' => ['bar', 'baz'], 'email' => 'test@example.com'], $input->collect()->all()); } - public function test_only_method() { $input = new ValidatedInput(['name' => 'Fatih', 'surname' => 'AYDIN', 'foo' => ['bar' => null, 'baz' => '']]); From 56962e768de0e3c35d265e12800d3ef2e7759b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sun, 5 May 2024 16:43:14 +0300 Subject: [PATCH 027/707] style: Fixed styling --- src/Illuminate/Support/ValidatedInput.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 3cf043037b37..70bc6c3d2e8c 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -561,5 +561,4 @@ public function dump($keys = []) return $this; } - } From 96712ba63e37b54ee8d0738eb613e13c9aff522f Mon Sep 17 00:00:00 2001 From: Alfred Date: Thu, 11 Jul 2024 23:41:20 +0200 Subject: [PATCH 028/707] Fix PHP_CLI_SERVER_WORKERS warning by applying the same fix as 11.x (#52094) --- src/Illuminate/Foundation/Console/ServeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Console/ServeCommand.php b/src/Illuminate/Foundation/Console/ServeCommand.php index a73bf52ef5c1..df830148c7f7 100644 --- a/src/Illuminate/Foundation/Console/ServeCommand.php +++ b/src/Illuminate/Foundation/Console/ServeCommand.php @@ -295,7 +295,7 @@ protected function handleProcessOutput() $this->output->write(' '.str_repeat('.', $dots)); $this->output->writeln(" ~ {$runTime}s"); - } elseif (str($line)->contains(['Closed without sending a request'])) { + } elseif (str($line)->contains(['Closed without sending a request', 'Failed to poll event'])) { // ... } elseif (! empty($line)) { $position = strpos($line, '] '); From db9e7f140886d5e0402e5523b36e9700f8bda154 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Tue, 16 Jul 2024 14:34:28 +0000 Subject: [PATCH 029/707] Update CHANGELOG --- CHANGELOG.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fea327c272ad..33e34b000e7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,33 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.15.0...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.16.0...11.x) + +## [v11.16.0](https://github.com/laravel/framework/compare/v11.15.0...v11.16.0) - 2024-07-16 + +* [11.x] Fix expected/actual argument order for test assertion by [@riesjart](https://github.com/riesjart) in https://github.com/laravel/framework/pull/52084 +* [11.x] Fix Moving Files in Sorted Order in vendor:publish by [@lmottasin](https://github.com/lmottasin) in https://github.com/laravel/framework/pull/52078 +* [11.x] Fix docblock for \Illuminate\Validation\ClosureValidationRule::message() by [@seriquynh](https://github.com/seriquynh) in https://github.com/laravel/framework/pull/52077 +* [11.x] Allow passing Enum casts to `Rule::enum()->only()` and `->except()` by [@bakerkretzmar](https://github.com/bakerkretzmar) in https://github.com/laravel/framework/pull/52073 +* [11.x] Include ConnectionException in ConnectionFailed events by [@alexbowers](https://github.com/alexbowers) in https://github.com/laravel/framework/pull/52069 +* [11.x] Document returned array shape for sync methods by [@devfrey](https://github.com/devfrey) in https://github.com/laravel/framework/pull/52070 +* [11.x] Add ability to configure SQLite `busy_timeout`, `journal_mode`, and `synchronous` pragmas by [@bakerkretzmar](https://github.com/bakerkretzmar) in https://github.com/laravel/framework/pull/52052 +* [11.x] Allow view content dependent mail callbacks by [@MaxTingle](https://github.com/MaxTingle) in https://github.com/laravel/framework/pull/51990 +* Install Laravel Reverb version 1.0 instead of [@beta](https://github.com/beta) by [@lucasRolff](https://github.com/lucasRolff) in https://github.com/laravel/framework/pull/52096 +* [11.x] fix: dont use web middleware on health endpoint by [@joshmanders](https://github.com/joshmanders) in https://github.com/laravel/framework/pull/52088 +* [11.x] Add an option to replace configs recursively by [@felixbessler](https://github.com/felixbessler) in https://github.com/laravel/framework/pull/52087 +* [11.x] Fixes generator tests by [@buismaarten](https://github.com/buismaarten) in https://github.com/laravel/framework/pull/52118 +* [11.x] Test Improvements by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/framework/pull/52122 +* [11.x] Fix SQLite schema dumps containing internal `sqlite_*` objects by [@bakerkretzmar](https://github.com/bakerkretzmar) in https://github.com/laravel/framework/pull/52135 +* Fix typo in `` declaration by [@TENIOS](https://github.com/TENIOS) in https://github.com/laravel/framework/pull/52134 +* [11.x] fix: pluck generics by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52109 +* [11.x] Include 'success' console component by [@lewislarsen](https://github.com/lewislarsen) in https://github.com/laravel/framework/pull/52112 +* [11.x] Fix dumping migrations table with schema or prefixed name by [@hafezdivandari](https://github.com/hafezdivandari) in https://github.com/laravel/framework/pull/52098 +* Add `assertSentTo` shorthand by [@jasonmccreary](https://github.com/jasonmccreary) in https://github.com/laravel/framework/pull/52083 +* [11.x] Test Improvements by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/framework/pull/52139 +* [11.x] Update the docblock for the constructor of the FileFailedJobProvider class by [@kevinb1989](https://github.com/kevinb1989) in https://github.com/laravel/framework/pull/52149 +* [11.x] Update the docblock for the explode method of the Stringable class. by [@kevinb1989](https://github.com/kevinb1989) in https://github.com/laravel/framework/pull/52148 +* Refactor PHPStan configurations by [@TENIOS](https://github.com/TENIOS) in https://github.com/laravel/framework/pull/52145 +* [11.x] Fix docblock for RoutingServiceProvider by [@seriquynh](https://github.com/seriquynh) in https://github.com/laravel/framework/pull/52144 ## [v11.15.0](https://github.com/laravel/framework/compare/v11.14.0...v11.15.0) - 2024-07-09 From dc54770996425f155bff87c46761d8db17e0e521 Mon Sep 17 00:00:00 2001 From: Sergey Pashkevich Date: Tue, 16 Jul 2024 20:35:25 +0300 Subject: [PATCH 030/707] Update WipeCommand.php (#52152) https://github.com/laravel/framework/blob/11.x/src/Illuminate/Database/Console/DbCommand.php#L44 --- src/Illuminate/Database/Console/WipeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Console/WipeCommand.php b/src/Illuminate/Database/Console/WipeCommand.php index 3e83c9b9445d..f756dd121de0 100644 --- a/src/Illuminate/Database/Console/WipeCommand.php +++ b/src/Illuminate/Database/Console/WipeCommand.php @@ -36,7 +36,7 @@ public function handle() { if ($this->isProhibited() || ! $this->confirmToProceed()) { - return 1; + return Command::FAILURE; } $database = $this->input->getOption('database'); From dcb35ff2894b75dc597d4a4fab983abd4415de83 Mon Sep 17 00:00:00 2001 From: TENIOS <40282681+TENIOS@users.noreply.github.com> Date: Wed, 17 Jul 2024 00:36:43 +0700 Subject: [PATCH 031/707] Update outdated config files (#52150) --- config/cache.php | 3 ++- config/filesystems.php | 2 +- config/logging.php | 2 +- config/mail.php | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/cache.php b/config/cache.php index 6b57b1833240..925f7d2ee84b 100644 --- a/config/cache.php +++ b/config/cache.php @@ -40,9 +40,10 @@ 'database' => [ 'driver' => 'database', - 'table' => env('DB_CACHE_TABLE', 'cache'), 'connection' => env('DB_CACHE_CONNECTION'), + 'table' => env('DB_CACHE_TABLE', 'cache'), 'lock_connection' => env('DB_CACHE_LOCK_CONNECTION'), + 'lock_table' => env('DB_CACHE_LOCK_TABLE'), ], 'file' => [ diff --git a/config/filesystems.php b/config/filesystems.php index 44fe9c828e0e..c5f244d7fca0 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -24,7 +24,7 @@ | may even configure multiple disks for the same driver. Examples for | most supported storage drivers are configured here for reference. | - | Supported Drivers: "local", "ftp", "sftp", "s3" + | Supported drivers: "local", "ftp", "sftp", "s3" | */ diff --git a/config/logging.php b/config/logging.php index d526b64d75a5..8d94292b29f4 100644 --- a/config/logging.php +++ b/config/logging.php @@ -45,7 +45,7 @@ | utilizes the Monolog PHP logging library, which includes a variety | of powerful log handlers and formatters that you're free to use. | - | Available Drivers: "single", "daily", "slack", "syslog", + | Available drivers: "single", "daily", "slack", "syslog", | "errorlog", "monolog", "custom", "stack" | */ diff --git a/config/mail.php b/config/mail.php index ad513854ba17..6a484896b1d0 100644 --- a/config/mail.php +++ b/config/mail.php @@ -46,7 +46,7 @@ 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null, - 'local_domain' => env('MAIL_EHLO_DOMAIN'), + 'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url(env('APP_URL', 'http://localhost'), PHP_URL_HOST)), ], 'ses' => [ From c898498e15646209bc360589f1c6726845541bec Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:37:57 -0400 Subject: [PATCH 032/707] [11.x] Fix 'pushProcessor method not found on LoggerInterface' error (#52117) * add Logger@pushProcessor() * revert IDE style * add check to LogManager instead * move to closure * remove unused import * add test * readability * style --- src/Illuminate/Log/LogManager.php | 13 +++++++--- tests/Log/LogManagerTest.php | 40 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php index 5d22073831f5..954d1c2e7fdd 100644 --- a/src/Illuminate/Log/LogManager.php +++ b/src/Illuminate/Log/LogManager.php @@ -136,9 +136,13 @@ protected function get($name, ?array $config = null) { try { return $this->channels[$name] ?? with($this->resolve($name, $config), function ($logger) use ($name) { - return $this->channels[$name] = tap($this->tap($name, new Logger($logger, $this->app['events'])) - ->withContext($this->sharedContext)) - ->pushProcessor(function ($record) { + $loggerWithContext = $this->tap( + $name, + new Logger($logger, $this->app['events']) + )->withContext($this->sharedContext); + + if (method_exists($loggerWithContext->getLogger(), 'pushProcessor')) { + $loggerWithContext->pushProcessor(function ($record) { if (! $this->app->bound(ContextRepository::class)) { return $record; } @@ -148,6 +152,9 @@ protected function get($name, ?array $config = null) ...$this->app[ContextRepository::class]->all(), ]); }); + } + + return $this->channels[$name] = $loggerWithContext; }); } catch (Throwable $e) { return tap($this->createEmergencyLogger(), function ($logger) use ($e) { diff --git a/tests/Log/LogManagerTest.php b/tests/Log/LogManagerTest.php index cf7f66d86a06..f412ad3d3820 100755 --- a/tests/Log/LogManagerTest.php +++ b/tests/Log/LogManagerTest.php @@ -19,6 +19,8 @@ use Monolog\Processor\PsrLogMessageProcessor; use Monolog\Processor\UidProcessor; use Orchestra\Testbench\TestCase; +use Psr\Log\LoggerInterface; +use Psr\Log\LoggerTrait; use ReflectionProperty; use RuntimeException; @@ -709,6 +711,28 @@ public function testLogManagerCreateCustomFormatterWithTap() '[%datetime%] %channel%.%level_name%: %message% %context% %extra%', rtrim($format->getValue($formatter))); } + + public function testDriverUsersPsrLoggerManagerReturnsLogger() + { + // Given + $config = $this->app['config']; + $config->set('logging.channels.spy', [ + 'driver' => 'spy', + ]); + + $manager = new LogManager($this->app); + + $loggerSpy = new LoggerSpy(); + $manager->extend('spy', fn () => $loggerSpy); + + // When + $logger = $manager->channel('spy'); + $logger->alert('some alert'); + + // Then + $this->assertCount(1, $loggerSpy->logs); + $this->assertEquals('some alert', $loggerSpy->logs[0]['message']); + } } class CustomizeFormatter @@ -722,3 +746,19 @@ public function __invoke($logger) } } } + +class LoggerSpy implements LoggerInterface +{ + use LoggerTrait; + + public array $logs = []; + + public function log($level, \Stringable|string $message, array $context = []): void + { + $this->logs[] = [ + 'level' => $level, + 'message' => $message, + 'context' => $context, + ]; + } +} From f23a9a0857e43965cc5f4f4d13cb5bd4b5920166 Mon Sep 17 00:00:00 2001 From: Sergey Pashkevich Date: Tue, 16 Jul 2024 20:40:40 +0300 Subject: [PATCH 033/707] Update FreshCommand.php (#52153) https://github.com/laravel/framework/blob/11.x/src/Illuminate/Database/Console/DbCommand.php#L44 --- src/Illuminate/Database/Console/Migrations/FreshCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Console/Migrations/FreshCommand.php b/src/Illuminate/Database/Console/Migrations/FreshCommand.php index 00c8c3559876..45900ffe7a45 100644 --- a/src/Illuminate/Database/Console/Migrations/FreshCommand.php +++ b/src/Illuminate/Database/Console/Migrations/FreshCommand.php @@ -59,7 +59,7 @@ public function handle() { if ($this->isProhibited() || ! $this->confirmToProceed()) { - return 1; + return Command::FAILURE; } $database = $this->input->getOption('database'); From 75d7b47191beeaa3cb3b59eeb5a3142561a9cb29 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 17 Jul 2024 07:51:52 -0500 Subject: [PATCH 034/707] support boolean etag --- src/Illuminate/Http/Middleware/SetCacheHeaders.php | 9 ++++++++- tests/Http/Middleware/CacheTest.php | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Http/Middleware/SetCacheHeaders.php b/src/Illuminate/Http/Middleware/SetCacheHeaders.php index a6e7e807869e..ae40ba0d98c5 100644 --- a/src/Illuminate/Http/Middleware/SetCacheHeaders.php +++ b/src/Illuminate/Http/Middleware/SetCacheHeaders.php @@ -23,7 +23,14 @@ public static function using($options) } return collect($options) - ->map(fn ($value, $key) => is_int($key) ? $value : "{$key}={$value}") + ->map(function ($value, $key) { + if (is_bool($value)) { + return $value ? $key : null; + } + + return is_int($key) ? $value : "{$key}={$value}"; + }) + ->filter() ->map(fn ($value) => Str::finish($value, ';')) ->pipe(fn ($options) => rtrim(static::class.':'.$options->implode(''), ';')); } diff --git a/tests/Http/Middleware/CacheTest.php b/tests/Http/Middleware/CacheTest.php index eb36c664624d..cf238c39d706 100644 --- a/tests/Http/Middleware/CacheTest.php +++ b/tests/Http/Middleware/CacheTest.php @@ -25,8 +25,9 @@ public function testItCanGenerateDefinitionViaStaticMethod() 'max_age=120', 'no-transform', 's_maxage=60', + 'etag' => true, ]); - $this->assertSame('Illuminate\Http\Middleware\SetCacheHeaders:max_age=120;no-transform;s_maxage=60', $signature); + $this->assertSame('Illuminate\Http\Middleware\SetCacheHeaders:max_age=120;no-transform;s_maxage=60;etag', $signature); $signature = (string) Cache::using([ 'max_age' => 120, From 90464d3a08afcea436f59c46b75cf3ca1d79ba89 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Thu, 18 Jul 2024 17:43:49 +0200 Subject: [PATCH 035/707] Improve accuracy of `Collection::isEmpty` and `isNotEmpty` assertions (#52184) * Improve accuracy of `Collection::isEmpty` and `isNotEmpty` Those methods do not necessarily prove that the result of `first()` is not null. However, they can prove that the result of `first()` is of the type contained within the `Collection`. * Ensure only `first()` without parameters is affected --- src/Illuminate/Collections/Collection.php | 2 +- .../Collections/Traits/EnumeratesValues.php | 2 +- types/Support/Collection.php | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Collections/Collection.php b/src/Illuminate/Collections/Collection.php index 73adf3606965..8dbef5ea7fe1 100644 --- a/src/Illuminate/Collections/Collection.php +++ b/src/Illuminate/Collections/Collection.php @@ -665,7 +665,7 @@ public function intersectByKeys($items) * * @phpstan-assert-if-true null $this->first() * - * @phpstan-assert-if-false !null $this->first() + * @phpstan-assert-if-false TValue $this->first() * * @return bool */ diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 14fc0ba399a7..2ea0880c2398 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -367,7 +367,7 @@ public function ensure($type) /** * Determine if the collection is not empty. * - * @phpstan-assert-if-true !null $this->first() + * @phpstan-assert-if-true TValue $this->first() * * @phpstan-assert-if-false null $this->first() * diff --git a/types/Support/Collection.php b/types/Support/Collection.php index 2e8b4a926386..94769f8dc8ee 100644 --- a/types/Support/Collection.php +++ b/types/Support/Collection.php @@ -487,6 +487,20 @@ function ($collection, $count) { assertType('string|User', $collection->first(null, function () { return 'string'; })); +if ($collection->isNotEmpty()) { + assertType('User', $collection->first()); + assertType('string|User', $collection->first(null, 'foo')); +} else { + assertType('null', $collection->first()); + assertType('string|User', $collection->first(null, 'foo')); +} +if ($collection->isEmpty()) { + assertType('null', $collection->first()); + assertType('string|User', $collection->first(null, 'foo')); +} else { + assertType('User', $collection->first()); + assertType('string|User', $collection->first(null, 'foo')); +} assertType('Illuminate\Support\Collection', $collection->flatten()); assertType('Illuminate\Support\Collection', $collection::make(['string' => 'string'])->flatten(4)); From 202bdc4b31973504edc78b9119cdc5c3c3f89740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=B3nh=20Nguy=E1=BB=85n?= Date: Thu, 18 Jul 2024 22:46:12 +0700 Subject: [PATCH 036/707] Fix return for ApplicationBuilder::withBindings method (#52181) --- src/Illuminate/Foundation/Configuration/ApplicationBuilder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Foundation/Configuration/ApplicationBuilder.php b/src/Illuminate/Foundation/Configuration/ApplicationBuilder.php index 623970dd04d7..6065424e1198 100644 --- a/src/Illuminate/Foundation/Configuration/ApplicationBuilder.php +++ b/src/Illuminate/Foundation/Configuration/ApplicationBuilder.php @@ -300,6 +300,8 @@ protected function withCommandRouting(array $paths) $this->app->afterResolving(ConsoleKernel::class, function ($kernel) use ($paths) { $this->app->booted(fn () => $kernel->addCommandRoutePaths($paths)); }); + + return $this; } /** From 3e07f5af72daa133b70353ad9107a980b6e5b7d8 Mon Sep 17 00:00:00 2001 From: Fernando Garcia Date: Thu, 18 Jul 2024 09:47:37 -0600 Subject: [PATCH 037/707] Refactor: Replace get_called_class() with static::class for consistency (#52173) --- src/Illuminate/Database/Eloquent/Factories/HasFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Factories/HasFactory.php b/src/Illuminate/Database/Eloquent/Factories/HasFactory.php index afd20e6ed73e..45b3b851badd 100644 --- a/src/Illuminate/Database/Eloquent/Factories/HasFactory.php +++ b/src/Illuminate/Database/Eloquent/Factories/HasFactory.php @@ -16,7 +16,7 @@ trait HasFactory */ public static function factory($count = null, $state = []) { - $factory = static::newFactory() ?? Factory::factoryForModel(get_called_class()); + $factory = static::newFactory() ?? Factory::factoryForModel(static::class); return $factory ->count(is_numeric($count) ? $count : null) From a128fc5e82814d70b4bb40fcdbbbf36a256545a0 Mon Sep 17 00:00:00 2001 From: Jacob Baker-Kretzmar Date: Thu, 18 Jul 2024 11:48:25 -0400 Subject: [PATCH 038/707] [11.x] Improve readability of SQLite schema dumps (#52172) * Fix schema test to run against real database file * Indent schema dump * Wip * Simplify test * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * Update SchemaStateTest.php * Update SchemaStateTest.php --------- Signed-off-by: Mior Muhammad Zaki Co-authored-by: Mior Muhammad Zaki --- .github/workflows/databases.yml | 38 ++++++++++++++ .../Database/Schema/SqliteSchemaState.php | 8 ++- .../Sqlite/DatabaseSqliteConnectionTest.php | 6 ++- .../DatabaseSqliteSchemaBuilderTest.php | 6 ++- .../Sqlite/EloquentModelConnectionsTest.php | 6 ++- .../Database/Sqlite/EscapeTest.php | 6 ++- .../Database/Sqlite/SchemaStateTest.php | 52 ++++++++++++++----- 7 files changed, 96 insertions(+), 26 deletions(-) diff --git a/.github/workflows/databases.yml b/.github/workflows/databases.yml index 5db77fab35bc..46cf7a225d67 100644 --- a/.github/workflows/databases.yml +++ b/.github/workflows/databases.yml @@ -238,3 +238,41 @@ jobs: DB_DATABASE: master DB_USERNAME: SA DB_PASSWORD: Forge123 + + sqlite: + runs-on: ubuntu-20.04 + + strategy: + fail-fast: true + + name: SQLite + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.2 + extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc, :php-psr + tools: composer:v2 + coverage: none + + - name: Set Framework version + run: composer config version "11.x-dev" + + - name: Install dependencies + uses: nick-fields/retry@v3 + with: + timeout_minutes: 5 + max_attempts: 5 + command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress + + - name: Setup SQLite Database + run: php vendor/bin/testbench package:create-sqlite-db + + - name: Execute tests + run: vendor/bin/phpunit tests/Integration/Database/Sqlite + env: + DB_CONNECTION: sqlite diff --git a/src/Illuminate/Database/Schema/SqliteSchemaState.php b/src/Illuminate/Database/Schema/SqliteSchemaState.php index a7c0edfeff02..d7195f495b47 100644 --- a/src/Illuminate/Database/Schema/SqliteSchemaState.php +++ b/src/Illuminate/Database/Schema/SqliteSchemaState.php @@ -16,16 +16,14 @@ class SqliteSchemaState extends SchemaState public function dump(Connection $connection, $path) { with($process = $this->makeProcess( - $this->baseCommand().' .schema' + $this->baseCommand().' ".schema --indent"' ))->setTimeout(null)->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [ // ])); - $migrations = collect(preg_split("/\r\n|\n|\r/", $process->getOutput()))->reject(function ($line) { - return str_starts_with($line, 'CREATE TABLE sqlite_'); - })->all(); + $migrations = preg_replace('/CREATE TABLE sqlite_.+\);[\r\n]+/is', '', $process->getOutput()); - $this->files->put($path, implode(PHP_EOL, $migrations).PHP_EOL); + $this->files->put($path, $migrations.PHP_EOL); if ($this->hasMigrationTable()) { $this->appendMigrationData($path); diff --git a/tests/Integration/Database/Sqlite/DatabaseSqliteConnectionTest.php b/tests/Integration/Database/Sqlite/DatabaseSqliteConnectionTest.php index d95b6b97f98b..0afec4bd7d1d 100644 --- a/tests/Integration/Database/Sqlite/DatabaseSqliteConnectionTest.php +++ b/tests/Integration/Database/Sqlite/DatabaseSqliteConnectionTest.php @@ -10,9 +10,11 @@ class DatabaseSqliteConnectionTest extends DatabaseTestCase { - protected function getEnvironmentSetUp($app) + protected function defineEnvironment($app) { - if (getenv('DB_CONNECTION') !== 'testing') { + parent::defineEnvironment($app); + + if ($this->driver !== 'sqlite') { $this->markTestSkipped('Test requires a Sqlite connection.'); } diff --git a/tests/Integration/Database/Sqlite/DatabaseSqliteSchemaBuilderTest.php b/tests/Integration/Database/Sqlite/DatabaseSqliteSchemaBuilderTest.php index c7e4f44c4a55..36fe9611357a 100644 --- a/tests/Integration/Database/Sqlite/DatabaseSqliteSchemaBuilderTest.php +++ b/tests/Integration/Database/Sqlite/DatabaseSqliteSchemaBuilderTest.php @@ -9,9 +9,11 @@ class DatabaseSqliteSchemaBuilderTest extends DatabaseTestCase { - protected function getEnvironmentSetUp($app) + protected function defineEnvironment($app) { - if (getenv('DB_CONNECTION') !== 'testing') { + parent::defineEnvironment($app); + + if ($this->driver !== 'sqlite') { $this->markTestSkipped('Test requires a Sqlite connection.'); } diff --git a/tests/Integration/Database/Sqlite/EloquentModelConnectionsTest.php b/tests/Integration/Database/Sqlite/EloquentModelConnectionsTest.php index ba296463329a..9ecd22172801 100644 --- a/tests/Integration/Database/Sqlite/EloquentModelConnectionsTest.php +++ b/tests/Integration/Database/Sqlite/EloquentModelConnectionsTest.php @@ -10,9 +10,11 @@ class EloquentModelConnectionsTest extends TestCase { - protected function getEnvironmentSetUp($app) + protected function defineEnvironment($app) { - if (getenv('DB_CONNECTION') !== 'testing') { + $connection = $app['config']->get('database.default'); + + if ($app['config']->get("database.connections.$connection.driver") !== 'sqlite') { $this->markTestSkipped('Test requires a Sqlite connection.'); } diff --git a/tests/Integration/Database/Sqlite/EscapeTest.php b/tests/Integration/Database/Sqlite/EscapeTest.php index bcf6c2f0d5c2..aba82ca0e3a3 100644 --- a/tests/Integration/Database/Sqlite/EscapeTest.php +++ b/tests/Integration/Database/Sqlite/EscapeTest.php @@ -7,9 +7,11 @@ class EscapeTest extends DatabaseTestCase { - protected function getEnvironmentSetUp($app) + protected function defineEnvironment($app) { - if (getenv('DB_CONNECTION') !== 'testing') { + parent::defineEnvironment($app); + + if ($this->driver !== 'sqlite') { $this->markTestSkipped('Test requires a Sqlite connection.'); } diff --git a/tests/Integration/Database/Sqlite/SchemaStateTest.php b/tests/Integration/Database/Sqlite/SchemaStateTest.php index 8c25810b6992..5bb30f1b34a4 100644 --- a/tests/Integration/Database/Sqlite/SchemaStateTest.php +++ b/tests/Integration/Database/Sqlite/SchemaStateTest.php @@ -3,14 +3,13 @@ namespace Illuminate\Tests\Integration\Database\Sqlite; use Illuminate\Support\Facades\DB; -use Illuminate\Tests\Integration\Database\DatabaseTestCase; -use Orchestra\Testbench\Attributes\WithMigration; use Orchestra\Testbench\Concerns\InteractsWithPublishedFiles; -use Orchestra\Testbench\Factories\UserFactory; +use Orchestra\Testbench\TestCase; use PHPUnit\Framework\Attributes\RequiresOperatingSystem; -#[WithMigration] -class SchemaStateTest extends DatabaseTestCase +use function Orchestra\Testbench\remote; + +class SchemaStateTest extends TestCase { use InteractsWithPublishedFiles; @@ -18,26 +17,53 @@ class SchemaStateTest extends DatabaseTestCase 'database/schema', ]; + protected function setUp(): void + { + parent::setUp(); + + remote('migrate:install')->mustRun(); + } + + protected function tearDown(): void + { + remote('db:wipe')->mustRun(); + + parent::tearDown(); + } + + protected function defineEnvironment($app) + { + $connection = $app['config']->get('database.default'); + + if ($app['config']->get("database.connections.$connection.driver") !== 'sqlite') { + $this->markTestSkipped('Test requires a Sqlite connection.'); + } + } + #[RequiresOperatingSystem('Linux|Darwin')] public function testSchemaDumpOnSqlite() { - if ($this->driver !== 'sqlite') { - $this->markTestSkipped('Test requires a SQLite connection.'); + if ($this->usesSqliteInMemoryDatabaseConnection()) { + $this->markTestSkipped('Test cannot be run using :in-memory: database connection'); } - UserFactory::new()->create(); - $connection = DB::connection(); - $connection->statement('PRAGMA optimize;'); + $connection->getSchemaBuilder()->createDatabase($connection->getConfig('database')); + + $connection->statement('CREATE TABLE users(id integer primary key autoincrement not null, email varchar not null, name varchar not null);'); + $connection->statement('INSERT INTO users (email, name) VALUES ("taylor@laravel.com", "Taylor Otwell");'); + + $this->assertTrue($connection->table('sqlite_sequence')->exists()); $this->app['files']->ensureDirectoryExists(database_path('schema')); $connection->getSchemaState()->dump($connection, database_path('schema/sqlite-schema.sql')); - $this->assertFileDoesNotContains([ + $this->assertFileContains([ + 'CREATE TABLE users', + ], 'database/schema/sqlite-schema.sql'); + $this->assertFileNotContains([ 'sqlite_sequence', - 'sqlite_stat1', - 'sqlite_stat4', ], 'database/schema/sqlite-schema.sql'); } } From 45592e6601e4c1a0d2913a2d15e8f07ac35a8a7c Mon Sep 17 00:00:00 2001 From: Enzo Innocenzi Date: Thu, 18 Jul 2024 17:50:24 +0200 Subject: [PATCH 039/707] feat: allow non-contextual attributes to have an `after` callback (#52167) --- src/Illuminate/Container/Container.php | 8 ++----- .../AfterResolvingAttributeCallbackTest.php | 24 ++++++++++++++++++- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/Illuminate/Container/Container.php b/src/Illuminate/Container/Container.php index 787ecaf69657..148a2a5ca2de 100755 --- a/src/Illuminate/Container/Container.php +++ b/src/Illuminate/Container/Container.php @@ -1366,12 +1366,8 @@ protected function fireAfterResolvingCallbacks($abstract, $object) protected function fireAfterResolvingAttributeCallbacks(array $attributes, $object) { foreach ($attributes as $attribute) { - if (is_a($attribute->getName(), ContextualAttribute::class, true)) { - $instance = $attribute->newInstance(); - - if (method_exists($instance, 'after')) { - $instance->after($instance, $object, $this); - } + if (method_exists($instance = $attribute->newInstance(), 'after')) { + $instance->after($instance, $object, $this); } $callbacks = $this->getCallbacksForType( diff --git a/tests/Container/AfterResolvingAttributeCallbackTest.php b/tests/Container/AfterResolvingAttributeCallbackTest.php index 545db091af3b..0970ea1f2c1f 100644 --- a/tests/Container/AfterResolvingAttributeCallbackTest.php +++ b/tests/Container/AfterResolvingAttributeCallbackTest.php @@ -11,18 +11,22 @@ class AfterResolvingAttributeCallbackTest extends TestCase public function testCallbackIsCalledAfterDependencyResolutionWithAttribute() { $container = new Container(); + $stack = []; - $container->afterResolvingAttribute(ContainerTestOnTenant::class, function (ContainerTestOnTenant $attribute, HasTenantImpl $hasTenantImpl, Container $container) { + $container->afterResolvingAttribute(ContainerTestOnTenant::class, function (ContainerTestOnTenant $attribute, HasTenantImpl $hasTenantImpl, Container $container) use (&$stack) { $hasTenantImpl->onTenant($attribute->tenant); + $stack[] = $attribute->tenant; }); $hasTenantA = $container->make(ContainerTestHasTenantImplPropertyWithTenantA::class); $this->assertInstanceOf(HasTenantImpl::class, $hasTenantA->property); $this->assertEquals(Tenant::TenantA, $hasTenantA->property->tenant); + $this->assertContains(Tenant::TenantA, $stack); $hasTenantB = $container->make(ContainerTestHasTenantImplPropertyWithTenantB::class); $this->assertInstanceOf(HasTenantImpl::class, $hasTenantB->property); $this->assertEquals(Tenant::TenantB, $hasTenantB->property->tenant); + $this->assertContains(Tenant::TenantB, $stack); } public function testCallbackIsCalledAfterClassWithAttributeIsResolved() @@ -57,6 +61,19 @@ public function testCallbackIsCalledAfterClassWithConstructorAndAttributeIsResol $this->assertInstanceOf(ContainerTestHasSelfConfiguringAttributeAndConstructor::class, $instance); $this->assertEquals('the-right-value', $instance->value); } + + public function testAfterCallbackIsCalled() + { + $container = new Container(); + + $hasTenantA = $container->make(ContainerTestHasTenantImplPropertyWithTenantA::class); + $this->assertInstanceOf(HasTenantImpl::class, $hasTenantA->property); + $this->assertEquals(Tenant::TenantA, $hasTenantA->property->tenant); + + $hasTenantB = $container->make(ContainerTestHasTenantImplPropertyWithTenantB::class); + $this->assertInstanceOf(HasTenantImpl::class, $hasTenantB->property); + $this->assertEquals(Tenant::TenantB, $hasTenantB->property->tenant); + } } #[Attribute(Attribute::TARGET_PARAMETER)] @@ -66,6 +83,11 @@ public function __construct( public readonly Tenant $tenant ) { } + + public function after(self $attribute, HasTenantImpl $class, Container $container): void + { + $class->onTenant($attribute->tenant); + } } enum Tenant From 1883126a4064e0244716bf9333cc893079bf8267 Mon Sep 17 00:00:00 2001 From: kingsven Date: Fri, 19 Jul 2024 00:02:33 +0800 Subject: [PATCH 040/707] [11.x] Ignoring column definitions when determining if a blueprint has a create command (#52177) * Added a test to ensure that a database column named 'create' can be added to an existing table * Ignoring column definitions when determining if a blueprint has a create command * Changes from StyleCI * Update tests/Integration/Database/DatabaseSchemaBlueprintTest.php Co-authored-by: Hafez Divandari * Update Blueprint.php --------- Co-authored-by: Simon Geoghegan Co-authored-by: Taylor Otwell Co-authored-by: Hafez Divandari --- src/Illuminate/Database/Schema/Blueprint.php | 2 +- .../Database/DatabaseSchemaBlueprintTest.php | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Schema/Blueprint.php b/src/Illuminate/Database/Schema/Blueprint.php index a3cddae4bd28..3db52937dc23 100755 --- a/src/Illuminate/Database/Schema/Blueprint.php +++ b/src/Illuminate/Database/Schema/Blueprint.php @@ -327,7 +327,7 @@ public function addAlterCommands(Connection $connection, Grammar $grammar) public function creating() { return collect($this->commands)->contains(function ($command) { - return $command->name === 'create'; + return ! $command instanceof ColumnDefinition && $command->name === 'create'; }); } diff --git a/tests/Integration/Database/DatabaseSchemaBlueprintTest.php b/tests/Integration/Database/DatabaseSchemaBlueprintTest.php index 6ef517094e84..6e755b41e93b 100644 --- a/tests/Integration/Database/DatabaseSchemaBlueprintTest.php +++ b/tests/Integration/Database/DatabaseSchemaBlueprintTest.php @@ -507,6 +507,19 @@ public function testAddUniqueIndexWithNameWorks() $this->assertEquals($expected, $queries); } + public function testAddColumnNamedCreateWorks() + { + Schema::create('users', function (Blueprint $table) { + $table->string('name'); + }); + + Schema::table('users', function (Blueprint $table) { + $table->string('create'); + }); + + $this->assertTrue(Schema::hasColumn('users', 'create')); + } + public function testDropIndexOnColumnChangeWorks() { $connection = DB::connection(); From 6c16f47db630b03837683af9f9fb3a1f28d9e0dd Mon Sep 17 00:00:00 2001 From: Samuel Weirich <4281791+SamuelWei@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:08:52 +0200 Subject: [PATCH 041/707] Add specify exceptions for exceptions handling the vite manifest file (#52169) * Add specify exceptions for exceptions handling the manifest files * Fix CS * Change to single ViteException --- src/Illuminate/Foundation/Vite.php | 9 ++++----- src/Illuminate/Foundation/ViteException.php | 10 ++++++++++ .../ViteManifestNotFoundException.php | 7 ++++--- tests/Foundation/FoundationViteTest.php | 17 +++++++++++++---- 4 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 src/Illuminate/Foundation/ViteException.php diff --git a/src/Illuminate/Foundation/Vite.php b/src/Illuminate/Foundation/Vite.php index 97e79b6d03cb..46deeb8f0041 100644 --- a/src/Illuminate/Foundation/Vite.php +++ b/src/Illuminate/Foundation/Vite.php @@ -2,7 +2,6 @@ namespace Illuminate\Foundation; -use Exception; use Illuminate\Contracts\Support\Htmlable; use Illuminate\Support\Collection; use Illuminate\Support\HtmlString; @@ -682,7 +681,7 @@ public function asset($asset, $buildDirectory = null) * @param string|null $buildDirectory * @return string * - * @throws \Exception + * @throws \Illuminate\Foundation\ViteException */ public function content($asset, $buildDirectory = null) { @@ -693,7 +692,7 @@ public function content($asset, $buildDirectory = null) $path = public_path($buildDirectory.'/'.$chunk['file']); if (! is_file($path) || ! file_exists($path)) { - throw new Exception("Unable to locate file from Vite manifest: {$path}."); + throw new ViteException("Unable to locate file from Vite manifest: {$path}."); } return file_get_contents($path); @@ -773,12 +772,12 @@ public function manifestHash($buildDirectory = null) * @param string $file * @return array * - * @throws \Exception + * @throws \Illuminate\Foundation\ViteException */ protected function chunk($manifest, $file) { if (! isset($manifest[$file])) { - throw new Exception("Unable to locate file in Vite manifest: {$file}."); + throw new ViteException("Unable to locate file in Vite manifest: {$file}."); } return $manifest[$file]; diff --git a/src/Illuminate/Foundation/ViteException.php b/src/Illuminate/Foundation/ViteException.php new file mode 100644 index 000000000000..984736e2a83e --- /dev/null +++ b/src/Illuminate/Foundation/ViteException.php @@ -0,0 +1,10 @@ +expectException(Exception::class); + $this->expectException(ViteException::class); + $this->expectExceptionMessage('Vite manifest not found at: '.public_path('build/manifest.json')); + + ViteFacade::asset('resources/js/app.js'); + } + + public function testItThrowsDeprecatedExecptionWhenUnableToFindAssetManifestInBuildMode() + { + $this->expectException(ViteManifestNotFoundException::class); $this->expectExceptionMessage('Vite manifest not found at: '.public_path('build/manifest.json')); ViteFacade::asset('resources/js/app.js'); @@ -574,7 +583,7 @@ public function testItThrowsWhenUnableToFindAssetChunkInBuildMode() { $this->makeViteManifest(); - $this->expectException(Exception::class); + $this->expectException(ViteException::class); $this->expectExceptionMessage('Unable to locate file in Vite manifest: resources/js/missing.js'); ViteFacade::asset('resources/js/missing.js'); @@ -1232,7 +1241,7 @@ public function testItThrowsWhenUnableToFindFileToRetrieveContent() { $this->makeViteManifest(); - $this->expectException(Exception::class); + $this->expectException(ViteException::class); $this->expectExceptionMessage('Unable to locate file from Vite manifest: '.public_path('build/assets/app.versioned.js')); ViteFacade::content('resources/js/app.js'); From a4889742d8675e8654eed791bf5705340bf4f11f Mon Sep 17 00:00:00 2001 From: Caleb White Date: Thu, 18 Jul 2024 11:34:14 -0500 Subject: [PATCH 042/707] [11.x] fix: Model newCollection generics; feat: add HasCollection trait (#52171) * fix: newCollection generics * feat: add HasCollection trait --- .../Database/Eloquent/HasCollection.php | 20 ++++++++++ src/Illuminate/Database/Eloquent/Model.php | 23 +++++------ .../Notifications/DatabaseNotification.php | 17 +++----- types/Database/Eloquent/Model.php | 39 +++++++++++++++++-- 4 files changed, 71 insertions(+), 28 deletions(-) create mode 100644 src/Illuminate/Database/Eloquent/HasCollection.php diff --git a/src/Illuminate/Database/Eloquent/HasCollection.php b/src/Illuminate/Database/Eloquent/HasCollection.php new file mode 100644 index 000000000000..6bdacb4bd380 --- /dev/null +++ b/src/Illuminate/Database/Eloquent/HasCollection.php @@ -0,0 +1,20 @@ + $models + * @return TCollection + */ + public function newCollection(array $models = []) + { + return new static::$collection($models); + } +} diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 4cf1b413b3f0..b4b5a2d66c5f 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -35,6 +35,8 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt Concerns\HidesAttributes, Concerns\GuardsAttributes, ForwardsCalls; + /** @use HasCollection<\Illuminate\Database\Eloquent\Collection> */ + use HasCollection; /** * The connection name for the model. @@ -218,6 +220,13 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt */ protected static string $builder = Builder::class; + /** + * The Eloquent collection class to use for the model. + * + * @var class-string<\Illuminate\Database\Eloquent\Collection<*, *>> + */ + protected static string $collection = Collection::class; + /** * The name of the "created at" column. * @@ -1588,20 +1597,6 @@ protected function newBaseQueryBuilder() return $this->getConnection()->query(); } - /** - * Create a new Eloquent Collection instance. - * - * @template TKey of array-key - * @template TModel of \Illuminate\Database\Eloquent\Model - * - * @param array $models - * @return \Illuminate\Database\Eloquent\Collection - */ - public function newCollection(array $models = []) - { - return new Collection($models); - } - /** * Create a new pivot model instance. * diff --git a/src/Illuminate/Notifications/DatabaseNotification.php b/src/Illuminate/Notifications/DatabaseNotification.php index fa4e36bc2b25..f7dcae543bb7 100644 --- a/src/Illuminate/Notifications/DatabaseNotification.php +++ b/src/Illuminate/Notifications/DatabaseNotification.php @@ -3,10 +3,14 @@ namespace Illuminate\Notifications; use Illuminate\Database\Eloquent\Builder; +use Illuminate\Database\Eloquent\HasCollection; use Illuminate\Database\Eloquent\Model; class DatabaseNotification extends Model { + /** @use HasCollection */ + use HasCollection; + /** * The "type" of the primary key ID. * @@ -45,6 +49,8 @@ class DatabaseNotification extends Model 'read_at' => 'datetime', ]; + protected static string $collection = DatabaseNotificationCollection::class; + /** * Get the notifiable entity that the notification belongs to. * @@ -120,15 +126,4 @@ public function scopeUnread(Builder $query) { return $query->whereNull('read_at'); } - - /** - * Create a new database notification collection instance. - * - * @param array $models - * @return \Illuminate\Notifications\DatabaseNotificationCollection - */ - public function newCollection(array $models = []) - { - return new DatabaseNotificationCollection($models); - } } diff --git a/types/Database/Eloquent/Model.php b/types/Database/Eloquent/Model.php index 29c7d477e266..15c34c74cdc0 100644 --- a/types/Database/Eloquent/Model.php +++ b/types/Database/Eloquent/Model.php @@ -2,12 +2,14 @@ namespace Illuminate\Types\Model; +use Illuminate\Database\Eloquent\Collection; +use Illuminate\Database\Eloquent\HasCollection; use Illuminate\Database\Eloquent\Model; use User; use function PHPStan\Testing\assertType; -function test(User $user): void +function test(User $user, Post $post, Comment $comment): void { assertType('UserFactory', User::factory(function ($attributes, $model) { assertType('array', $attributes); @@ -30,8 +32,9 @@ function test(User $user): void assertType('Illuminate\Database\Eloquent\Builder', $user->prunable()); assertType('Illuminate\Database\Eloquent\Relations\MorphMany', $user->notifications()); - assertType('Illuminate\Database\Eloquent\Collection', $user->newCollection([new User()])); - assertType('Illuminate\Database\Eloquent\Collection', $user->newCollection(['foo' => new Post()])); + assertType('Illuminate\Database\Eloquent\Collection<(int|string), User>', $user->newCollection([new User()])); + assertType('Illuminate\Types\Model\Posts<(int|string), Illuminate\Types\Model\Post>', $post->newCollection(['foo' => new Post()])); + assertType('Illuminate\Types\Model\Comments', $comment->newCollection([new Comment()])); assertType('bool', $user->restore()); assertType('User', $user->restoreOrCreate()); @@ -39,5 +42,35 @@ function test(User $user): void } class Post extends Model +{ + /** @use HasCollection> */ + use HasCollection; + + protected static string $collection = Posts::class; +} + +/** + * @template TKey of array-key + * @template TModel of Post + * + * @extends Collection */ +class Posts extends Collection +{ +} + +final class Comment extends Model +{ + /** @use HasCollection */ + use HasCollection; + + /** @param array $models */ + public function newCollection(array $models = []): Comments + { + return new Comments($models); + } +} + +/** @extends Collection */ +final class Comments extends Collection { } From 92a78ce54634adbc8657ba96870b8f76635df722 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 18 Jul 2024 11:34:41 -0500 Subject: [PATCH 043/707] wip --- src/Illuminate/Notifications/DatabaseNotification.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Illuminate/Notifications/DatabaseNotification.php b/src/Illuminate/Notifications/DatabaseNotification.php index f7dcae543bb7..6c54197c579d 100644 --- a/src/Illuminate/Notifications/DatabaseNotification.php +++ b/src/Illuminate/Notifications/DatabaseNotification.php @@ -49,6 +49,9 @@ class DatabaseNotification extends Model 'read_at' => 'datetime', ]; + /** + * The type of collection that should be used for the model. + */ protected static string $collection = DatabaseNotificationCollection::class; /** From 95107a07cdba3015c4fcfa4430ad88ae90124c2b Mon Sep 17 00:00:00 2001 From: Einar Hansen <49709354+einar-hansen@users.noreply.github.com> Date: Thu, 18 Jul 2024 20:28:56 +0200 Subject: [PATCH 044/707] Add whereLike clause to query builder (#52147) * Add database grammer for whereLike method * Add whereLike to database query builder * Add whereLike clause to MySQL grammar * Add whereLike clause to Postgres grammar * Add whereLike clause to SQLite grammar * Add whereLike query builder test for sql server * Run whereLike integration test on all databases * Skip sqlsrv where like integration test * Fic styling * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Database/Query/Builder.php | 65 ++++++++++ .../Database/Query/Grammars/Grammar.php | 18 +++ .../Database/Query/Grammars/MySqlGrammar.php | 16 +++ .../Query/Grammars/PostgresGrammar.php | 16 +++ .../Database/Query/Grammars/SQLiteGrammar.php | 33 +++++ tests/Database/DatabaseQueryBuilderTest.php | 122 ++++++++++++++++++ .../Database/QueryBuilderWhereLikeTest.php | 110 ++++++++++++++++ 7 files changed, 380 insertions(+) create mode 100644 tests/Integration/Database/QueryBuilderWhereLikeTest.php diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 7763b55ab6e4..e32d8b49e20c 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -1121,6 +1121,71 @@ public function orWhereRaw($sql, $bindings = []) return $this->whereRaw($sql, $bindings, 'or'); } + /** + * Add a "where like" clause to the query. + * + * @param string $column + * @param string $value + * @param bool $caseSensitive + * @param string $boolean + * @param bool $not + * @return $this + */ + public function whereLike($column, $value, $caseSensitive = false, $boolean = 'and', $not = false) + { + $type = 'Like'; + + $this->wheres[] = compact('type', 'column', 'value', 'caseSensitive', 'boolean', 'not'); + + if (method_exists($this->grammar, 'prepareWhereLikeBinding')) { + $value = $this->grammar->prepareWhereLikeBinding($value, $caseSensitive); + } + + $this->addBinding($value); + + return $this; + } + + /** + * Add an "or where like" clause to the query. + * + * @param string $column + * @param string $value + * @param bool $caseSensitive + * @return $this + */ + public function orWhereLike($column, $value, $caseSensitive = false) + { + return $this->whereLike($column, $value, $caseSensitive, 'or', false); + } + + /** + * Add a "where not like" clause to the query. + * + * @param string $column + * @param string $value + * @param bool $caseSensitive + * @param string $boolean + * @return $this + */ + public function whereNotLike($column, $value, $caseSensitive = false, $boolean = 'and') + { + return $this->whereLike($column, $value, $caseSensitive, $boolean, true); + } + + /** + * Add an "or where not like" clause to the query. + * + * @param string $columns + * @param string $value + * @param bool $caseSensitive + * @return $this + */ + public function orWhereNotLike($column, $value, $caseSensitive = false) + { + return $this->whereNotLike($column, $value, $caseSensitive, 'or'); + } + /** * Add a "where in" clause to the query. * diff --git a/src/Illuminate/Database/Query/Grammars/Grammar.php b/src/Illuminate/Database/Query/Grammars/Grammar.php index 42c9102b4c62..63e624bcaf17 100755 --- a/src/Illuminate/Database/Query/Grammars/Grammar.php +++ b/src/Illuminate/Database/Query/Grammars/Grammar.php @@ -308,6 +308,24 @@ protected function whereBitwise(Builder $query, $where) return $this->whereBasic($query, $where); } + /** + * Compile a "where like" clause. + * + * @param \Illuminate\Database\Query\Builder $query + * @param array $where + * @return string + */ + protected function whereLike(Builder $query, $where) + { + if ($where['caseSensitive']) { + throw new RuntimeException('This database engine does not support case sensitive like operations.'); + } + + $where['operator'] = $where['not'] ? 'not like' : 'like'; + + return $this->whereBasic($query, $where); + } + /** * Compile a "where in" clause. * diff --git a/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php b/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php index 8c1521f60d31..397dbe54e24b 100755 --- a/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php @@ -15,6 +15,22 @@ class MySqlGrammar extends Grammar */ protected $operators = ['sounds like']; + /** + * Compile a "where like" clause. + * + * @param \Illuminate\Database\Query\Builder $query + * @param array $where + * @return string + */ + protected function whereLike(Builder $query, $where) + { + $where['operator'] = $where['not'] ? 'not ' : ''; + + $where['operator'] .= $where['caseSensitive'] ? 'like binary' : 'like'; + + return $this->whereBasic($query, $where); + } + /** * Add a "where null" clause to the query. * diff --git a/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php b/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php index c22720a05c7c..bbb11284e72b 100755 --- a/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php @@ -68,6 +68,22 @@ protected function whereBitwise(Builder $query, $where) return '('.$this->wrap($where['column']).' '.$operator.' '.$value.')::bool'; } + /** + * Compile a "where like" clause. + * + * @param \Illuminate\Database\Query\Builder $query + * @param array $where + * @return string + */ + protected function whereLike(Builder $query, $where) + { + $where['operator'] = $where['not'] ? 'not ' : ''; + + $where['operator'] .= $where['caseSensitive'] ? 'like' : 'ilike'; + + return $this->whereBasic($query, $where); + } + /** * Compile a "where date" clause. * diff --git a/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php b/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php index 5a754ebdb852..5b9e9761f381 100755 --- a/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php @@ -42,6 +42,39 @@ protected function wrapUnion($sql) return 'select * from ('.$sql.')'; } + /** + * Compile a "where like" clause. + * + * @param \Illuminate\Database\Query\Builder $query + * @param array $where + * @return string + */ + protected function whereLike(Builder $query, $where) + { + if ($where['caseSensitive'] == false) { + return parent::whereLike($query, $where); + } + $where['operator'] = $where['not'] ? 'not glob' : 'glob'; + + return $this->whereBasic($query, $where); + } + + /** + * Convert a LIKE pattern to a GLOB pattern using simple string replacement. + * + * @param string $value + * @param bool $caseSensitive + * @return string + */ + public function prepareWhereLikeBinding($value, $caseSensitive) + { + return $caseSensitive === false ? $value : str_replace( + ['*', '?', '%', '_'], + ['[*]', '[?]', '*', '?'], + $value + ); + } + /** * Compile a "where date" clause. * diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index a045f41548c6..c345ffcfb5c8 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -656,6 +656,128 @@ public function testWhereLikePostgres() $this->assertEquals([0 => '1'], $builder->getBindings()); } + public function testWhereLikeClausePostgres() + { + $builder = $this->getPostgresBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1'); + $this->assertSame('select * from "users" where "id"::text ilike ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getPostgresBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1', false); + $this->assertSame('select * from "users" where "id"::text ilike ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getPostgresBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1', true); + $this->assertSame('select * from "users" where "id"::text like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getPostgresBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1'); + $this->assertSame('select * from "users" where "id"::text not ilike ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getPostgresBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1', false); + $this->assertSame('select * from "users" where "id"::text not ilike ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getPostgresBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1', true); + $this->assertSame('select * from "users" where "id"::text not like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + } + + public function testWhereLikeClauseMysql() + { + $builder = $this->getMySqlBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1'); + $this->assertSame('select * from `users` where `id` like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getMySqlBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1', false); + $this->assertSame('select * from `users` where `id` like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getMySqlBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1', true); + $this->assertSame('select * from `users` where `id` like binary ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getMySqlBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1'); + $this->assertSame('select * from `users` where `id` not like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getMySqlBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1', false); + $this->assertSame('select * from `users` where `id` not like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getMySqlBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1', true); + $this->assertSame('select * from `users` where `id` not like binary ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + } + + public function testWhereLikeClauseSqlite() + { + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1'); + $this->assertSame('select * from "users" where "id" like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1', true); + $this->assertSame('select * from "users" where "id" glob ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereLike('description', 'Hell* _orld?%', true); + $this->assertSame('select * from "users" where "description" glob ?', $builder->toSql()); + $this->assertEquals([0 => 'Hell[*] ?orld[?]*'], $builder->getBindings()); + + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1'); + $this->assertSame('select * from "users" where "id" not like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereNotLike('description', 'Hell* _orld?%', true); + $this->assertSame('select * from "users" where "description" not glob ?', $builder->toSql()); + $this->assertEquals([0 => 'Hell[*] ?orld[?]*'], $builder->getBindings()); + + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereLike('name', 'John%', true)->whereNotLike('name', '%Doe%', true); + $this->assertSame('select * from "users" where "name" glob ? and "name" not glob ?', $builder->toSql()); + $this->assertEquals([0 => 'John*', 1 => '*Doe*'], $builder->getBindings()); + + $builder = $this->getSQLiteBuilder(); + $builder->select('*')->from('users')->whereLike('name', 'John%')->orWhereLike('name', 'Jane%', true); + $this->assertSame('select * from "users" where "name" like ? or "name" glob ?', $builder->toSql()); + $this->assertEquals([0 => 'John%', 1 => 'Jane*'], $builder->getBindings()); + } + + public function testWhereLikeClauseSqlServer() + { + $builder = $this->getSqlServerBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1'); + $this->assertSame('select * from [users] where [id] like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + + $builder = $this->getSqlServerBuilder(); + $builder->select('*')->from('users')->whereLike('id', '1')->orWhereLike('id', '2'); + $this->assertSame('select * from [users] where [id] like ? or [id] like ?', $builder->toSql()); + $this->assertEquals([0 => '1', 1 => '2'], $builder->getBindings()); + + $builder = $this->getSqlServerBuilder(); + $builder->select('*')->from('users')->whereNotLike('id', '1'); + $this->assertSame('select * from [users] where [id] not like ?', $builder->toSql()); + $this->assertEquals([0 => '1'], $builder->getBindings()); + } + public function testWhereDateSqlite() { $builder = $this->getSQLiteBuilder(); diff --git a/tests/Integration/Database/QueryBuilderWhereLikeTest.php b/tests/Integration/Database/QueryBuilderWhereLikeTest.php new file mode 100644 index 000000000000..f2bf96663d60 --- /dev/null +++ b/tests/Integration/Database/QueryBuilderWhereLikeTest.php @@ -0,0 +1,110 @@ +id('id'); + $table->string('name', 200); + $table->text('email'); + }); + } + + protected function destroyDatabaseMigrations() + { + Schema::drop('users'); + } + + protected function setUp(): void + { + parent::setUp(); + + DB::table('users')->insert([ + ['name' => 'John Doe', 'email' => 'John.Doe@example.com'], + ['name' => 'Jane Doe', 'email' => 'janedoe@example.com'], + ['name' => 'Dale doe', 'email' => 'Dale.Doe@example.com'], + ['name' => 'Earl Smith', 'email' => 'Earl.Smith@example.com'], + ['name' => 'tim smith', 'email' => 'tim.smith@example.com'], + ]); + } + + public function testWhereLike() + { + $users = DB::table('users')->whereLike('email', 'john.doe@example.com')->get(); + $this->assertCount(1, $users); + $this->assertSame('John.Doe@example.com', $users[0]->email); + + $this->assertSame(4, DB::table('users')->whereNotLike('email', 'john.doe@example.com')->count()); + } + + public function testWhereLikeWithPercentWildcard() + { + $this->assertSame(5, DB::table('users')->whereLike('email', '%@example.com')->count()); + $this->assertSame(2, DB::table('users')->whereNotLike('email', '%Doe%')->count()); + + $users = DB::table('users')->whereLike('email', 'john%')->get(); + $this->assertCount(1, $users); + $this->assertSame('John.Doe@example.com', $users[0]->email); + } + + public function testWhereLikeWithUnderscoreWildcard() + { + $users = DB::table('users')->whereLike('email', '_a_e_%@example.com')->get(); + $this->assertCount(2, $users); + $this->assertSame('janedoe@example.com', $users[0]->email); + $this->assertSame('Dale.Doe@example.com', $users[1]->email); + } + + public function testWhereLikeCaseSensitive() + { + if ($this->driver === 'sqlsrv') { + $this->markTestSkipped('The case-sensitive whereLike clause is not supported on MSSQL.'); + } + + $users = DB::table('users')->whereLike('email', 'john.doe@example.com', true)->get(); + $this->assertCount(0, $users); + + $users = DB::table('users')->whereLike('email', 'tim.smith@example.com', true)->get(); + $this->assertCount(1, $users); + $this->assertSame('tim.smith@example.com', $users[0]->email); + $this->assertSame(5, DB::table('users')->whereNotLike('email', 'john.doe@example.com', true)->count()); + } + + public function testWhereLikeWithPercentWildcardCaseSensitive() + { + if ($this->driver === 'sqlsrv') { + $this->markTestSkipped('The case-sensitive whereLike clause is not supported on MSSQL.'); + } + + $this->assertSame(2, DB::table('users')->whereLike('email', '%Doe@example.com', true)->count()); + $this->assertSame(4, DB::table('users')->whereNotLike('email', '%smith%', true)->count()); + + $users = DB::table('users')->whereLike('email', '%Doe@example.com', true)->get(); + $this->assertCount(2, $users); + $this->assertSame('John.Doe@example.com', $users[0]->email); + $this->assertSame('Dale.Doe@example.com', $users[1]->email); + } + + public function testWhereLikeWithUnderscoreWildcardCaseSensitive() + { + if ($this->driver === 'sqlsrv') { + $this->markTestSkipped('The case-sensitive whereLike clause is not supported on MSSQL.'); + } + + $users = DB::table('users')->whereLike('email', 'j__edoe@example.com', true)->get(); + $this->assertCount(1, $users); + $this->assertSame('janedoe@example.com', $users[0]->email); + + $users = DB::table('users')->whereNotLike('email', '%_oe@example.com', true)->get(); + $this->assertCount(2, $users); + $this->assertSame('Earl.Smith@example.com', $users[0]->email); + $this->assertSame('tim.smith@example.com', $users[1]->email); + } +} From c49e9015774a76cdcff2900455b899a633d6769c Mon Sep 17 00:00:00 2001 From: Karem Sobhy Date: Thu, 18 Jul 2024 21:44:28 +0300 Subject: [PATCH 045/707] [11.x] Implement HasV7Uuids to use with MariaDB native uuid data type (#52029) * implement HasV7UUids * Implement all uuid4 methods to uuid7 for unified experience and add ability to define time for the uuid7 * formatting * formatting * remove property --------- Co-authored-by: Taylor Otwell --- .../Eloquent/Concerns/HasVersion7Uuids.php | 20 +++++++++++++++++++ src/Illuminate/Support/Str.php | 13 ++++++++++++ tests/Support/SupportStrTest.php | 3 ++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/Illuminate/Database/Eloquent/Concerns/HasVersion7Uuids.php diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasVersion7Uuids.php b/src/Illuminate/Database/Eloquent/Concerns/HasVersion7Uuids.php new file mode 100644 index 000000000000..455bf74aa576 --- /dev/null +++ b/src/Illuminate/Database/Eloquent/Concerns/HasVersion7Uuids.php @@ -0,0 +1,20 @@ +assertInstanceOf(UuidInterface::class, Str::uuid()); $this->assertInstanceOf(UuidInterface::class, Str::orderedUuid()); + $this->assertInstanceOf(UuidInterface::class, Str::uuid7()); } public function testAsciiNull() @@ -1354,7 +1355,7 @@ public function testItCanSpecifyASequenceOfUuidsToUtilise() { Str::createUuidsUsingSequence([ 0 => ($zeroth = Str::uuid()), - 1 => ($first = Str::uuid()), + 1 => ($first = Str::uuid7()), // just generate a random one here... 3 => ($third = Str::uuid()), // continue to generate random uuids... From 7d26b7ee454a0ccc339db92a641487f668b44331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 18 Jul 2024 22:45:25 +0200 Subject: [PATCH 046/707] Rename Model::$collection to $collectionClass (#52186) --- src/Illuminate/Database/Eloquent/HasCollection.php | 2 +- src/Illuminate/Database/Eloquent/Model.php | 2 +- src/Illuminate/Notifications/DatabaseNotification.php | 2 +- types/Database/Eloquent/Model.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/HasCollection.php b/src/Illuminate/Database/Eloquent/HasCollection.php index 6bdacb4bd380..e676bb79ae7c 100644 --- a/src/Illuminate/Database/Eloquent/HasCollection.php +++ b/src/Illuminate/Database/Eloquent/HasCollection.php @@ -15,6 +15,6 @@ trait HasCollection */ public function newCollection(array $models = []) { - return new static::$collection($models); + return new static::$collectionClass($models); } } diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index b4b5a2d66c5f..703b6d4eb086 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -225,7 +225,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt * * @var class-string<\Illuminate\Database\Eloquent\Collection<*, *>> */ - protected static string $collection = Collection::class; + protected static string $collectionClass = Collection::class; /** * The name of the "created at" column. diff --git a/src/Illuminate/Notifications/DatabaseNotification.php b/src/Illuminate/Notifications/DatabaseNotification.php index 6c54197c579d..19cfcfe00528 100644 --- a/src/Illuminate/Notifications/DatabaseNotification.php +++ b/src/Illuminate/Notifications/DatabaseNotification.php @@ -52,7 +52,7 @@ class DatabaseNotification extends Model /** * The type of collection that should be used for the model. */ - protected static string $collection = DatabaseNotificationCollection::class; + protected static string $collectionClass = DatabaseNotificationCollection::class; /** * Get the notifiable entity that the notification belongs to. diff --git a/types/Database/Eloquent/Model.php b/types/Database/Eloquent/Model.php index 15c34c74cdc0..9bf2a8c7c531 100644 --- a/types/Database/Eloquent/Model.php +++ b/types/Database/Eloquent/Model.php @@ -46,7 +46,7 @@ class Post extends Model /** @use HasCollection> */ use HasCollection; - protected static string $collection = Posts::class; + protected static string $collectionClass = Posts::class; } /** From 1d36e239213dc63732c65f82fabb91657a60eb5b Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Sat, 20 Jul 2024 00:14:13 +1000 Subject: [PATCH 047/707] Allow microsecond travel (#52190) --- .../Foundation/Testing/Wormhole.php | 24 +++++++++++++++++++ tests/Foundation/Testing/WormholeTest.php | 14 +++++++++++ 2 files changed, 38 insertions(+) diff --git a/src/Illuminate/Foundation/Testing/Wormhole.php b/src/Illuminate/Foundation/Testing/Wormhole.php index 54fe0fa0bb4c..beac013ab34c 100644 --- a/src/Illuminate/Foundation/Testing/Wormhole.php +++ b/src/Illuminate/Foundation/Testing/Wormhole.php @@ -24,6 +24,30 @@ public function __construct($value) $this->value = $value; } + /** + * Travel forward the given number of microseconds. + * + * @param callable|null $callback + * @return mixed + */ + public function microsecond($callback = null) + { + return $this->microseconds($callback); + } + + /** + * Travel forward the given number of microseconds. + * + * @param callable|null $callback + * @return mixed + */ + public function microseconds($callback = null) + { + Carbon::setTestNow(Carbon::now()->addMicroseconds($this->value)); + + return $this->handleCallback($callback); + } + /** * Travel forward the given number of milliseconds. * diff --git a/tests/Foundation/Testing/WormholeTest.php b/tests/Foundation/Testing/WormholeTest.php index e6fbfa13edcf..17f286d7e377 100644 --- a/tests/Foundation/Testing/WormholeTest.php +++ b/tests/Foundation/Testing/WormholeTest.php @@ -46,4 +46,18 @@ public function testCarbonImmutableCompatibility() // Restore the default Date Factory... Date::useDefault(); } + + public function testItCanTravelByMicroseconds() + { + Date::use(CarbonImmutable::class); + Date::setTestNow(Date::parse('2000-01-01 00:00:00')->startOfSecond()); + + (new Wormhole(1))->microsecond(); + $this->assertSame('2000-01-01 00:00:00.000001', Date::now()->format('Y-m-d H:i:s.u')); + + (new Wormhole(5))->microseconds(); + $this->assertSame('2000-01-01 00:00:00.000006', Date::now()->format('Y-m-d H:i:s.u')); + + Date::useDefault(); + } } From 9d7c869cd53c5c18b1939a7d826506f31f74669c Mon Sep 17 00:00:00 2001 From: Caleb White Date: Fri, 19 Jul 2024 09:19:10 -0500 Subject: [PATCH 048/707] fix: Model/JsonResource::toJson should not fail with prior json errors (#52188) --- src/Illuminate/Database/Eloquent/Model.php | 9 +++++---- .../Http/Resources/Json/JsonResource.php | 9 +++++---- tests/Database/DatabaseEloquentModelTest.php | 11 +++++++++++ tests/Http/JsonResourceTest.php | 17 +++++++++++++++++ 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 703b6d4eb086..c6ffbce4e2f1 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -20,6 +20,7 @@ use Illuminate\Support\Collection as BaseCollection; use Illuminate\Support\Str; use Illuminate\Support\Traits\ForwardsCalls; +use JsonException; use JsonSerializable; use LogicException; use Stringable; @@ -1656,10 +1657,10 @@ public function toArray() */ public function toJson($options = 0) { - $json = json_encode($this->jsonSerialize(), $options); - - if (json_last_error() !== JSON_ERROR_NONE) { - throw JsonEncodingException::forModel($this, json_last_error_msg()); + try { + $json = json_encode($this->jsonSerialize(), $options | JSON_THROW_ON_ERROR); + } catch (JsonException $e) { + throw JsonEncodingException::forModel($this, $e->getMessage()); } return $json; diff --git a/src/Illuminate/Http/Resources/Json/JsonResource.php b/src/Illuminate/Http/Resources/Json/JsonResource.php index b36a1ab9d605..30b9425b08fb 100644 --- a/src/Illuminate/Http/Resources/Json/JsonResource.php +++ b/src/Illuminate/Http/Resources/Json/JsonResource.php @@ -12,6 +12,7 @@ use Illuminate\Http\Request; use Illuminate\Http\Resources\ConditionallyLoadsAttributes; use Illuminate\Http\Resources\DelegatesToResource; +use JsonException; use JsonSerializable; class JsonResource implements ArrayAccess, JsonSerializable, Responsable, UrlRoutable @@ -144,10 +145,10 @@ public function toArray(Request $request) */ public function toJson($options = 0) { - $json = json_encode($this->jsonSerialize(), $options); - - if (json_last_error() !== JSON_ERROR_NONE) { - throw JsonEncodingException::forResource($this, json_last_error_msg()); + try { + $json = json_encode($this->jsonSerialize(), $options | JSON_THROW_ON_ERROR); + } catch (JsonException $e) { + throw JsonEncodingException::forResource($this, $e->getMessage()); } return $json; diff --git a/tests/Database/DatabaseEloquentModelTest.php b/tests/Database/DatabaseEloquentModelTest.php index 079f68f16747..11757e80384b 100755 --- a/tests/Database/DatabaseEloquentModelTest.php +++ b/tests/Database/DatabaseEloquentModelTest.php @@ -3037,6 +3037,17 @@ public function testHasAttribute() $this->assertFalse($user->hasAttribute('nonexistent')); $this->assertFalse($user->hasAttribute('belongsToStub')); } + + public function testModelToJsonSucceedsWithPriorErrors(): void + { + $user = new EloquentModelStub(['name' => 'Mateus']); + + // Simulate a JSON error + json_decode('{'); + $this->assertTrue(json_last_error() !== JSON_ERROR_NONE); + + $this->assertSame('{"name":"Mateus"}', $user->toJson(JSON_THROW_ON_ERROR)); + } } class EloquentTestObserverStub diff --git a/tests/Http/JsonResourceTest.php b/tests/Http/JsonResourceTest.php index fcd20c3914d5..8a3a07540618 100644 --- a/tests/Http/JsonResourceTest.php +++ b/tests/Http/JsonResourceTest.php @@ -5,6 +5,7 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Resources\Json\JsonResource; use Illuminate\Http\Resources\MissingValue; +use Mockery as m; use PHPUnit\Framework\TestCase; class JsonResourceTest extends TestCase @@ -24,4 +25,20 @@ public function testJsonResourceNullAttributes() $this->assertNull($resource->whenAggregated('relation', 'column', 'sum')); $this->assertNull($resource->whenCounted('relation')); } + + public function testJsonResourceToJsonSucceedsWithPriorErrors(): void + { + $model = new class extends Model {}; + + $resource = m::mock(JsonResource::class, ['resource' => $model]) + ->makePartial() + ->shouldReceive('jsonSerialize')->once()->andReturn(['foo' => 'bar']) + ->getMock(); + + // Simulate a JSON error + json_decode('{'); + $this->assertTrue(json_last_error() !== JSON_ERROR_NONE); + + $this->assertSame('{"foo":"bar"}', $resource->toJson(JSON_THROW_ON_ERROR)); + } } From 29a58fe79517ba8ad17198f42bea79c781b6aa6e Mon Sep 17 00:00:00 2001 From: Hafez Divandari Date: Mon, 22 Jul 2024 17:20:37 +0330 Subject: [PATCH 049/707] [11.x] Fix SQL Server tests (#52222) * fix slqsrv tests * fix date tests --- tests/Foundation/Testing/WormholeTest.php | 12 +++++++----- .../Database/DatabaseSchemaBlueprintTest.php | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/Foundation/Testing/WormholeTest.php b/tests/Foundation/Testing/WormholeTest.php index 17f286d7e377..da57ca2fd103 100644 --- a/tests/Foundation/Testing/WormholeTest.php +++ b/tests/Foundation/Testing/WormholeTest.php @@ -9,6 +9,13 @@ class WormholeTest extends TestCase { + protected function tearDown(): void + { + parent::tearDown(); + + Date::useDefault(); + } + public function testCanTravelBackToPresent() { // Preserve the timelines we want to compare the reality with... @@ -42,9 +49,6 @@ public function testCarbonImmutableCompatibility() // Assert the time travel was successful... $this->assertEquals($future->format('Y-m-d'), now()->format('Y-m-d')); - - // Restore the default Date Factory... - Date::useDefault(); } public function testItCanTravelByMicroseconds() @@ -57,7 +61,5 @@ public function testItCanTravelByMicroseconds() (new Wormhole(5))->microseconds(); $this->assertSame('2000-01-01 00:00:00.000006', Date::now()->format('Y-m-d H:i:s.u')); - - Date::useDefault(); } } diff --git a/tests/Integration/Database/DatabaseSchemaBlueprintTest.php b/tests/Integration/Database/DatabaseSchemaBlueprintTest.php index 6e755b41e93b..dbe7a470fade 100644 --- a/tests/Integration/Database/DatabaseSchemaBlueprintTest.php +++ b/tests/Integration/Database/DatabaseSchemaBlueprintTest.php @@ -514,7 +514,7 @@ public function testAddColumnNamedCreateWorks() }); Schema::table('users', function (Blueprint $table) { - $table->string('create'); + $table->string('create')->nullable(); }); $this->assertTrue(Schema::hasColumn('users', 'create')); From 1301d9c6d3c31faa838379f91455b78fbaacd976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Mon, 22 Jul 2024 16:20:01 +0200 Subject: [PATCH 050/707] [11.x] Inspect exception of assertThrows (#52224) * Inspect exception of assertThrows * Update InteractsWithExceptionHandling.php --------- Co-authored-by: Taylor Otwell --- .../InteractsWithExceptionHandling.php | 13 +++++-- .../FoundationExceptionsHandlerTest.php | 36 +++++++++++++++++++ 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php index 67aac9d97483..cb20d9768d27 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithExceptionHandling.php @@ -5,6 +5,7 @@ use Closure; use Illuminate\Contracts\Debug\ExceptionHandler; use Illuminate\Support\Testing\Fakes\ExceptionHandlerFake; +use Illuminate\Support\Traits\ReflectsClosures; use Illuminate\Testing\Assert; use Illuminate\Validation\ValidationException; use Symfony\Component\Console\Application as ConsoleApplication; @@ -13,6 +14,8 @@ trait InteractsWithExceptionHandling { + use ReflectsClosures; + /** * The original exception handler. * @@ -169,18 +172,22 @@ public function renderForConsole($output, Throwable $e) * Assert that the given callback throws an exception with the given message when invoked. * * @param \Closure $test - * @param class-string<\Throwable> $expectedClass + * @param \Closure|class-string<\Throwable> $expectedClass * @param string|null $expectedMessage * @return $this */ - protected function assertThrows(Closure $test, string $expectedClass = Throwable::class, ?string $expectedMessage = null) + protected function assertThrows(Closure $test, string|Closure $expectedClass = Throwable::class, ?string $expectedMessage = null) { + [$expectedClass, $expectedClassCallback] = $expectedClass instanceof Closure + ? [$this->firstClosureParameterType($expectedClass), $expectedClass] + : [$expectedClass, null]; + try { $test(); $thrown = false; } catch (Throwable $exception) { - $thrown = $exception instanceof $expectedClass; + $thrown = $exception instanceof $expectedClass && ($expectedClassCallback === null || $expectedClassCallback($exception)); $actualMessage = $exception->getMessage(); } diff --git a/tests/Foundation/FoundationExceptionsHandlerTest.php b/tests/Foundation/FoundationExceptionsHandlerTest.php index 70ac2a96f9c9..c4f1044f1e55 100644 --- a/tests/Foundation/FoundationExceptionsHandlerTest.php +++ b/tests/Foundation/FoundationExceptionsHandlerTest.php @@ -533,6 +533,42 @@ public function testAssertExceptionIsThrown() if ($testFailed) { Assert::fail('assertThrows failed: non matching message are thrown.'); } + + $this->assertThrows(function () { + throw new CustomException('Some message.'); + }, function (CustomException $exception) { + return $exception->getMessage() === 'Some message.'; + }); + + try { + $this->assertThrows(function () { + throw new CustomException('Some message.'); + }, function (CustomException $exception) { + return false; + }); + $testFailed = true; + } catch (AssertionFailedError) { + $testFailed = false; + } + + if ($testFailed) { + Assert::fail('assertThrows failed: exception callback succeeded.'); + } + + try { + $this->assertThrows(function () { + throw new Exception('Some message.'); + }, function (CustomException $exception) { + return true; + }); + $testFailed = true; + } catch (AssertionFailedError) { + $testFailed = false; + } + + if ($testFailed) { + Assert::fail('assertThrows failed: non matching exceptions are thrown.'); + } } public function testItReportsDuplicateExceptions() From 7692ec4456636f84092709fb7c5b38d22e4e4609 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 22 Jul 2024 15:24:00 +0100 Subject: [PATCH 051/707] Backport #51615 (#52215) Co-authored-by: Hafez Divandari --- .../Database/Schema/Grammars/SQLiteGrammar.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php index 201121cb6170..d3dfdebb6392 100755 --- a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php +++ b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php @@ -123,7 +123,7 @@ public function compileColumns($table) return sprintf( 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary" ' .'from pragma_table_info(%s) order by cid asc', - $this->wrap(str_replace('.', '__', $table)) + $this->quoteString(str_replace('.', '__', $table)) ); } @@ -136,12 +136,12 @@ public function compileColumns($table) public function compileIndexes($table) { return sprintf( - 'select "primary" as name, group_concat(col) as columns, 1 as "unique", 1 as "primary" ' + 'select \'primary\' as name, group_concat(col) as columns, 1 as "unique", 1 as "primary" ' .'from (select name as col from pragma_table_info(%s) where pk > 0 order by pk, cid) group by name ' - .'union select name, group_concat(col) as columns, "unique", origin = "pk" as "primary" ' + .'union select name, group_concat(col) as columns, "unique", origin = \'pk\' as "primary" ' .'from (select il.*, ii.name as col from pragma_index_list(%s) il, pragma_index_info(il.name) ii order by il.seq, ii.seqno) ' .'group by name, "unique", "primary"', - $table = $this->wrap(str_replace('.', '__', $table)), + $table = $this->quoteString(str_replace('.', '__', $table)), $table ); } @@ -159,7 +159,7 @@ public function compileForeignKeys($table) .'group_concat("to") as foreign_columns, on_update, on_delete ' .'from (select * from pragma_foreign_key_list(%s) order by id desc, seq) ' .'group by id, "table", on_update, on_delete', - $this->wrap(str_replace('.', '__', $table)) + $this->quoteString(str_replace('.', '__', $table)) ); } From ee1166ca8ebdf3d7f0903c03e312d250c6582fca Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 22 Jul 2024 09:33:35 -0500 Subject: [PATCH 052/707] fix: Request::json() json errors when decoding empty string (#52204) --- src/Illuminate/Http/Request.php | 2 +- tests/Http/HttpRequestTest.php | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Http/Request.php b/src/Illuminate/Http/Request.php index f80f74700dcd..40a61eff5736 100644 --- a/src/Illuminate/Http/Request.php +++ b/src/Illuminate/Http/Request.php @@ -405,7 +405,7 @@ public function get(string $key, mixed $default = null): mixed public function json($key = null, $default = null) { if (! isset($this->json)) { - $this->json = new InputBag((array) json_decode($this->getContent(), true)); + $this->json = new InputBag((array) json_decode($this->getContent() ?: '[]', true)); } if (is_null($key)) { diff --git a/tests/Http/HttpRequestTest.php b/tests/Http/HttpRequestTest.php index 9c6a5246343c..7c4f26872d5c 100644 --- a/tests/Http/HttpRequestTest.php +++ b/tests/Http/HttpRequestTest.php @@ -1606,4 +1606,14 @@ public function testItCanHaveObjectsInJsonPayload() $this->assertSame(['name' => 'Laravel'], $request->get('framework')); } + + public function testItDoesNotGenerateJsonErrorsForEmptyContent() + { + // clear any existing errors + json_encode(null); + + Request::create('', 'GET')->json(); + + $this->assertTrue(json_last_error() === JSON_ERROR_NONE); + } } From 73630525c97fd3ad2357710328aca87234cd180d Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Mon, 22 Jul 2024 12:02:41 -0300 Subject: [PATCH 053/707] [11.x] Reduce the number of queries with `Cache::many` and `Cache::putMany` methods in the database driver (#52209) * Adds integration test for database store multiget * Tweaks the test * Tweaks the test and adds the many test with expired keys * Adds test for the putMany method * Tweaks the test * Reduce the number of database calls in the many methods of the database store cache driver * Fix tests * Make the get and put use the many and putMany methods so the logic is the same * Adds a test for fetching many with associative arrays * Tweaks types and fixes docblocks on non-interface methods * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Cache/DatabaseStore.php | 116 ++++++++++++++---- tests/Cache/CacheDatabaseStoreTest.php | 34 ++--- .../Database/DatabaseCacheStoreTest.php | 73 ++++++++++- 3 files changed, 187 insertions(+), 36 deletions(-) diff --git a/src/Illuminate/Cache/DatabaseStore.php b/src/Illuminate/Cache/DatabaseStore.php index d51c1f5781d1..caebbcc25477 100755 --- a/src/Illuminate/Cache/DatabaseStore.php +++ b/src/Illuminate/Cache/DatabaseStore.php @@ -9,12 +9,13 @@ use Illuminate\Database\PostgresConnection; use Illuminate\Database\QueryException; use Illuminate\Database\SqlServerConnection; +use Illuminate\Support\Arr; use Illuminate\Support\InteractsWithTime; use Illuminate\Support\Str; class DatabaseStore implements LockProvider, Store { - use InteractsWithTime, RetrievesMultipleKeys; + use InteractsWithTime; /** * The database connection instance. @@ -98,29 +99,56 @@ public function __construct(ConnectionInterface $connection, */ public function get($key) { - $prefixed = $this->prefix.$key; - - $cache = $this->table()->where('key', '=', $prefixed)->first(); + return $this->many([$key])[$key]; + } - // If we have a cache record we will check the expiration time against current - // time on the system and see if the record has expired. If it has, we will - // remove the records from the database table so it isn't returned again. - if (is_null($cache)) { - return; + /** + * Retrieve multiple items from the cache by key. + * + * Items not found in the cache will have a null value. + * + * @return array + */ + public function many(array $keys) + { + if (count($keys) === 0) { + return []; } - $cache = is_array($cache) ? (object) $cache : $cache; + $results = array_fill_keys($keys, null); + + // First we will retrieve all of the items from the cache using their keys and + // the prefix value. Then we will need to iterate through each of the items + // and convert them to an object when they are currently in array format. + $values = $this->table() + ->whereIn('key', array_map(function ($key) { + return $this->prefix.$key; + }, $keys)) + ->get() + ->map(function ($value) { + return is_array($value) ? (object) $value : $value; + }); + + $currentTime = $this->currentTime(); // If this cache expiration date is past the current time, we will remove this // item from the cache. Then we will return a null value since the cache is // expired. We will use "Carbon" to make this comparison with the column. - if ($this->currentTime() >= $cache->expiration) { - $this->forgetIfExpired($key); + [$values, $expired] = $values->partition(function ($cache) use ($currentTime) { + return $cache->expiration > $currentTime; + }); - return; + if ($expired->isNotEmpty()) { + $this->forgetManyIfExpired($expired->pluck('key')->all(), prefixed: true); } - return $this->unserialize($cache->value); + return Arr::map($results, function ($value, $key) use ($values) { + if ($cache = $values->firstWhere('key', $this->prefix.$key)) { + return $this->unserialize($cache->value); + } + + return $value; + }); } /** @@ -133,11 +161,30 @@ public function get($key) */ public function put($key, $value, $seconds) { - $key = $this->prefix.$key; - $value = $this->serialize($value); + return $this->putMany([$key => $value], $seconds); + } + + /** + * Store multiple items in the cache for a given number of seconds. + * + * @param int $seconds + * @return bool + */ + public function putMany(array $values, $seconds) + { + $serializedValues = []; + $expiration = $this->getTime() + $seconds; - return $this->table()->upsert(compact('key', 'value', 'expiration'), 'key') > 0; + foreach ($values as $key => $value) { + $serializedValues[] = [ + 'key' => $this->prefix.$key, + 'value' => $this->serialize($value), + 'expiration' => $expiration, + ]; + } + + return $this->table()->upsert($serializedValues, 'key') > 0; } /** @@ -309,9 +356,7 @@ public function restoreLock($name, $owner) */ public function forget($key) { - $this->table()->where('key', '=', $this->prefix.$key)->delete(); - - return true; + return $this->forgetMany([$key]); } /** @@ -321,9 +366,38 @@ public function forget($key) * @return bool */ public function forgetIfExpired($key) + { + return $this->forgetManyIfExpired([$key]); + } + + /** + * Remove all items from the cache. + * + * @param array $keys + * @return bool + */ + protected function forgetMany(array $keys) + { + $this->table()->whereIn('key', array_map(function ($key) { + return $this->prefix.$key; + }, $keys))->delete(); + + return true; + } + + /** + * Remove all expired items from the given set from the cache. + * + * @param array $keys + * @param bool $prefixed + * @return bool + */ + protected function forgetManyIfExpired(array $keys, bool $prefixed = false) { $this->table() - ->where('key', '=', $this->prefix.$key) + ->whereIn('key', $prefixed ? $keys : array_map(function ($key) { + return $this->prefix.$key; + }, $keys)) ->where('expiration', '<=', $this->getTime()) ->delete(); diff --git a/tests/Cache/CacheDatabaseStoreTest.php b/tests/Cache/CacheDatabaseStoreTest.php index 4a2bfaa7fbf7..2e5393f21cb3 100755 --- a/tests/Cache/CacheDatabaseStoreTest.php +++ b/tests/Cache/CacheDatabaseStoreTest.php @@ -22,8 +22,8 @@ public function testNullIsReturnedWhenItemNotFound() $store = $this->getStore(); $table = m::mock(stdClass::class); $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); - $table->shouldReceive('where')->once()->with('key', '=', 'prefixfoo')->andReturn($table); - $table->shouldReceive('first')->once()->andReturn(null); + $table->shouldReceive('whereIn')->once()->with('key', ['prefixfoo'])->andReturn($table); + $table->shouldReceive('get')->once()->andReturn(collect([])); $this->assertNull($store->get('foo')); } @@ -31,11 +31,17 @@ public function testNullIsReturnedWhenItemNotFound() public function testNullIsReturnedAndItemDeletedWhenItemIsExpired() { $store = $this->getMockBuilder(DatabaseStore::class)->onlyMethods(['forgetIfExpired'])->setConstructorArgs($this->getMocks())->getMock(); - $table = m::mock(stdClass::class); - $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); - $table->shouldReceive('where')->once()->with('key', '=', 'prefixfoo')->andReturn($table); - $table->shouldReceive('first')->once()->andReturn((object) ['expiration' => 1]); - $store->expects($this->once())->method('forgetIfExpired')->with($this->equalTo('foo'))->willReturn(null); + + $getQuery = m::mock(stdClass::class); + $getQuery->shouldReceive('whereIn')->once()->with('key', ['prefixfoo'])->andReturn($getQuery); + $getQuery->shouldReceive('get')->once()->andReturn(collect([(object) ['key' => 'prefixfoo', 'expiration' => 1]])); + + $deleteQuery = m::mock(stdClass::class); + $deleteQuery->shouldReceive('whereIn')->once()->with('key', ['prefixfoo'])->andReturn($deleteQuery); + $deleteQuery->shouldReceive('where')->once()->with('expiration', '<=', m::any())->andReturn($deleteQuery); + $deleteQuery->shouldReceive('delete')->once()->andReturnNull(); + + $store->getConnection()->shouldReceive('table')->twice()->with('table')->andReturn($getQuery, $deleteQuery); $this->assertNull($store->get('foo')); } @@ -45,8 +51,8 @@ public function testDecryptedValueIsReturnedWhenItemIsValid() $store = $this->getStore(); $table = m::mock(stdClass::class); $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); - $table->shouldReceive('where')->once()->with('key', '=', 'prefixfoo')->andReturn($table); - $table->shouldReceive('first')->once()->andReturn((object) ['value' => serialize('bar'), 'expiration' => 999999999999999]); + $table->shouldReceive('whereIn')->once()->with('key', ['prefixfoo'])->andReturn($table); + $table->shouldReceive('get')->once()->andReturn(collect([(object) ['key' => 'prefixfoo', 'value' => serialize('bar'), 'expiration' => 999999999999999]])); $this->assertSame('bar', $store->get('foo')); } @@ -56,8 +62,8 @@ public function testValueIsReturnedOnPostgres() $store = $this->getPostgresStore(); $table = m::mock(stdClass::class); $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); - $table->shouldReceive('where')->once()->with('key', '=', 'prefixfoo')->andReturn($table); - $table->shouldReceive('first')->once()->andReturn((object) ['value' => base64_encode(serialize('bar')), 'expiration' => 999999999999999]); + $table->shouldReceive('whereIn')->once()->with('key', ['prefixfoo'])->andReturn($table); + $table->shouldReceive('get')->once()->andReturn(collect([(object) ['key' => 'prefixfoo', 'value' => base64_encode(serialize('bar')), 'expiration' => 999999999999999]])); $this->assertSame('bar', $store->get('foo')); } @@ -68,7 +74,7 @@ public function testValueIsUpserted() $table = m::mock(stdClass::class); $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); $store->expects($this->once())->method('getTime')->willReturn(1); - $table->shouldReceive('upsert')->once()->with(['key' => 'prefixfoo', 'value' => serialize('bar'), 'expiration' => 61], 'key')->andReturnTrue(); + $table->shouldReceive('upsert')->once()->with([['key' => 'prefixfoo', 'value' => serialize('bar'), 'expiration' => 61]], 'key')->andReturnTrue(); $result = $store->put('foo', 'bar', 60); $this->assertTrue($result); @@ -80,7 +86,7 @@ public function testValueIsUpsertedOnPostgres() $table = m::mock(stdClass::class); $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); $store->expects($this->once())->method('getTime')->willReturn(1); - $table->shouldReceive('upsert')->once()->with(['key' => 'prefixfoo', 'value' => base64_encode(serialize("\0")), 'expiration' => 61], 'key')->andReturn(1); + $table->shouldReceive('upsert')->once()->with([['key' => 'prefixfoo', 'value' => base64_encode(serialize("\0")), 'expiration' => 61]], 'key')->andReturn(1); $result = $store->put('foo', "\0", 60); $this->assertTrue($result); @@ -99,7 +105,7 @@ public function testItemsMayBeRemovedFromCache() $store = $this->getStore(); $table = m::mock(stdClass::class); $store->getConnection()->shouldReceive('table')->once()->with('table')->andReturn($table); - $table->shouldReceive('where')->once()->with('key', '=', 'prefixfoo')->andReturn($table); + $table->shouldReceive('whereIn')->once()->with('key', ['prefixfoo'])->andReturn($table); $table->shouldReceive('delete')->once(); $store->forget('foo'); diff --git a/tests/Integration/Database/DatabaseCacheStoreTest.php b/tests/Integration/Database/DatabaseCacheStoreTest.php index b284a861630f..4b09050dcae5 100644 --- a/tests/Integration/Database/DatabaseCacheStoreTest.php +++ b/tests/Integration/Database/DatabaseCacheStoreTest.php @@ -166,6 +166,77 @@ public function testForgetIfExpiredOperationShouldNotDeleteUnExpired() $this->assertDatabaseHas($this->getCacheTableName(), ['key' => $this->withCachePrefix('foo')]); } + public function testMany() + { + $this->insertToCacheTable('first', 'a', 60); + $this->insertToCacheTable('second', 'b', 60); + + $store = $this->getStore(); + + $this->assertEquals([ + 'first' => 'a', + 'second' => 'b', + 'third' => null, + ], $store->get(['first', 'second', 'third'])); + + $this->assertEquals([ + 'first' => 'a', + 'second' => 'b', + 'third' => null, + ], $store->many(['first', 'second', 'third'])); + } + + public function testManyWithExpiredKeys() + { + $this->insertToCacheTable('first', 'a', 0); + $this->insertToCacheTable('second', 'b', 60); + + $this->assertEquals([ + 'first' => null, + 'second' => 'b', + 'third' => null, + ], $this->getStore()->many(['first', 'second', 'third'])); + + $this->assertDatabaseMissing($this->getCacheTableName(), ['key' => $this->withCachePrefix('first')]); + } + + public function testManyAsAssociativeArray() + { + $this->insertToCacheTable('first', 'cached', 60); + + $result = $this->getStore()->many([ + 'first' => 'aa', + 'second' => 'bb', + 'third', + ]); + + $this->assertEquals([ + 'first' => 'cached', + 'second' => 'bb', + 'third' => null, + ], $result); + } + + public function testPutMany() + { + $store = $this->getStore(); + + $store->putMany($data = [ + 'first' => 'a', + 'second' => 'b', + ], 60); + + $this->assertEquals($data, $store->many(['first', 'second'])); + $this->assertDatabaseHas($this->getCacheTableName(), [ + 'key' => $this->withCachePrefix('first'), + 'value' => serialize('a'), + ]); + $this->assertDatabaseHas($this->getCacheTableName(), [ + 'key' => $this->withCachePrefix('second'), + 'value' => serialize('b'), + ]); + } + public function testResolvingSQLiteConnectionDoesNotThrowExceptions() { $originalConfiguration = config('database'); @@ -203,7 +274,7 @@ protected function insertToCacheTable(string $key, $value, $ttl = 60) ->insert( [ 'key' => $this->withCachePrefix($key), - 'value' => $value, + 'value' => serialize($value), 'expiration' => Carbon::now()->addSeconds($ttl)->getTimestamp(), ] ); From a13b726262e6da0fc7406fd2c9e281a92154ee22 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Mon, 22 Jul 2024 23:28:47 +0200 Subject: [PATCH 054/707] Add method `QueryExecuted::toRawSql()` (#52192) * Add method `QueryExecuted::toRawSql()` This makes it easier to debug the executed queries when using `DB::listen()`. Before, we did something like this and got a result that was hardly readable: ```php DB::listen(function (QueryExecuted $query): void { $sql = str_replace("\n", ' ', $query->sql); $bindings = json_encode($query->bindings); file_put_contents( filename: storage_path('logs/query.log'), data: "SQL: {$sql} ||| Bindings: {$bindings} ||| Time: {$query->time}ms\n", flags: FILE_APPEND, ); }); // SQL: insert into `competence_detail_criteria` (`competence_criteria_id`, `competence_detail_id`, `valid_from`, `valid_to`, `userid`, `first_id`) values (?, ?, ?, ?, ?, ?) ||| Bindings: [3,1,"2024-07-19 10:59:02","9999-12-31 23:55:55",1,0] ||| Time: 0.84ms ``` With this added method, achieving a readable result becomes much simpler: ```php DB::listen(function (QueryExecuted $query): void { file_put_contents( filename: storage_path('logs/query.log'), data: "SQL: {$query->toRawSql()} ||| Time: {$query->time}ms\n", flags: FILE_APPEND, ); }); // SQL: insert into `competence_detail_criteria` (`competence_criteria_id`, `competence_detail_id`, `valid_from`, `valid_to`, `userid`, `first_id`) values (4, 1, '2024-07-19 11:10:29', '9999-12-31 23:55:55', 1, 0) ||| Time: 0.2ms ``` * Update QueryExecuted.php --------- Co-authored-by: Taylor Otwell --- .../Database/Events/QueryExecuted.php | 13 +++++++ tests/Database/DatabaseIntegrationTest.php | 38 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 tests/Database/DatabaseIntegrationTest.php diff --git a/src/Illuminate/Database/Events/QueryExecuted.php b/src/Illuminate/Database/Events/QueryExecuted.php index 833a21e6f984..644d947332c3 100644 --- a/src/Illuminate/Database/Events/QueryExecuted.php +++ b/src/Illuminate/Database/Events/QueryExecuted.php @@ -56,4 +56,17 @@ public function __construct($sql, $bindings, $time, $connection) $this->connection = $connection; $this->connectionName = $connection->getName(); } + + /** + * Get the raw SQL representation of the query with embedded bindings. + * + * @return string + */ + public function toRawSql() + { + return $this->connection + ->query() + ->getGrammar() + ->substituteBindingsIntoRawSql($this->sql, $this->connection->prepareBindings($this->bindings)); + } } diff --git a/tests/Database/DatabaseIntegrationTest.php b/tests/Database/DatabaseIntegrationTest.php new file mode 100644 index 000000000000..ab32d3094784 --- /dev/null +++ b/tests/Database/DatabaseIntegrationTest.php @@ -0,0 +1,38 @@ +addConnection([ + 'driver' => 'sqlite', + 'database' => ':memory:', + ]); + $db->setAsGlobal(); + $db->setEventDispatcher(new Dispatcher); + } + + public function testQueryExecutedToRawSql(): void + { + $connection = DB::connection(); + + $connection->listen(function (QueryExecuted $query) use (&$queryExecuted): void { + $queryExecuted = $query; + }); + + $connection->select('select ?', [true]); + + $this->assertInstanceOf(QueryExecuted::class, $queryExecuted); + $this->assertSame('select ?', $queryExecuted->sql); + $this->assertSame([true], $queryExecuted->bindings); + $this->assertSame('select 1', $queryExecuted->toRawSql()); + } +} From 21b7de5fc387678c25f8f771a2fc102ae34789f7 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Tue, 23 Jul 2024 09:09:34 +1000 Subject: [PATCH 055/707] Support lower version of Carbon --- tests/Foundation/Testing/WormholeTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Foundation/Testing/WormholeTest.php b/tests/Foundation/Testing/WormholeTest.php index 17f286d7e377..84a38039b567 100644 --- a/tests/Foundation/Testing/WormholeTest.php +++ b/tests/Foundation/Testing/WormholeTest.php @@ -4,6 +4,7 @@ use Carbon\CarbonImmutable; use Illuminate\Foundation\Testing\Wormhole; +use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Date; use PHPUnit\Framework\TestCase; @@ -49,8 +50,7 @@ public function testCarbonImmutableCompatibility() public function testItCanTravelByMicroseconds() { - Date::use(CarbonImmutable::class); - Date::setTestNow(Date::parse('2000-01-01 00:00:00')->startOfSecond()); + Carbon::setTestNow(Carbon::parse('2000-01-01 00:00:00')->startOfSecond()); (new Wormhole(1))->microsecond(); $this->assertSame('2000-01-01 00:00:00.000001', Date::now()->format('Y-m-d H:i:s.u')); @@ -58,6 +58,6 @@ public function testItCanTravelByMicroseconds() (new Wormhole(5))->microseconds(); $this->assertSame('2000-01-01 00:00:00.000006', Date::now()->format('Y-m-d H:i:s.u')); - Date::useDefault(); + Carbon::setTestnow(); } } From 4fcf4a6a182860659c3448071eab2bfb840a54d9 Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Wed, 24 Jul 2024 00:08:10 +1000 Subject: [PATCH 056/707] Prevent bug emoji on dumpable dd (#52234) --- src/Illuminate/Collections/Traits/EnumeratesValues.php | 4 +--- src/Illuminate/Support/Traits/Dumpable.php | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 2ea0880c2398..78690232970b 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -229,9 +229,7 @@ public function some($key, $operator = null, $value = null) */ public function dd(...$args) { - $this->dump(...$args); - - dd(); + dd($this->all(), ...$args); } /** diff --git a/src/Illuminate/Support/Traits/Dumpable.php b/src/Illuminate/Support/Traits/Dumpable.php index 448b5ba62c17..44ad14dfc393 100644 --- a/src/Illuminate/Support/Traits/Dumpable.php +++ b/src/Illuminate/Support/Traits/Dumpable.php @@ -12,9 +12,7 @@ trait Dumpable */ public function dd(...$args) { - $this->dump(...$args); - - dd(); + dd($this, ...$args); } /** From 60f3c8f667b24a09e0392e26b1f40fb9067cdc3c Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 23 Jul 2024 16:06:06 +0000 Subject: [PATCH 057/707] Update version to v10.48.17 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index 5c3c6a730c88..a54b497ce276 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -40,7 +40,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '10.48.16'; + const VERSION = '10.48.17'; /** * The base path for the Laravel installation. From c278f6ccb8ac3b25dbe41c89a40e6416a16b96b4 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 23 Jul 2024 16:07:49 +0000 Subject: [PATCH 058/707] Update CHANGELOG --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 188289e951fd..10e5e28da8cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Release Notes for 10.x -## [Unreleased](https://github.com/laravel/framework/compare/v10.48.16...10.x) +## [Unreleased](https://github.com/laravel/framework/compare/v10.48.17...10.x) + +## [v10.48.17](https://github.com/laravel/framework/compare/v10.48.16...v10.48.17) - 2024-07-23 + +* [10.x] Fix PHP_CLI_SERVER_WORKERS warning by suppressing it by [@pelomedusa](https://github.com/pelomedusa) in https://github.com/laravel/framework/pull/52094 +* [10.x] Backport #51615 by [@GrahamCampbell](https://github.com/GrahamCampbell) in https://github.com/laravel/framework/pull/52215 ## [v10.48.16](https://github.com/laravel/framework/compare/v10.48.15...v10.48.16) - 2024-07-09 From 532ff5aeffec48c443d68ddffce721c638437802 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 23 Jul 2024 18:16:19 +0200 Subject: [PATCH 059/707] wip --- src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php index 84bcb6342e8f..967cb8d8fb8f 100644 --- a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php +++ b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php @@ -104,7 +104,7 @@ public function compileViews() public function compileColumns($table) { return sprintf( - 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary", hidden as "extra" ' + 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary" ' .'from pragma_table_info(%s) order by cid asc', $this->quoteString(str_replace('.', '__', $table)) ); From 7e70a7c552800104b1cda7b7a5910ff6be1fb92a Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 23 Jul 2024 18:19:19 +0200 Subject: [PATCH 060/707] wip --- src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php index 967cb8d8fb8f..98ab402b5979 100644 --- a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php +++ b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php @@ -104,8 +104,8 @@ public function compileViews() public function compileColumns($table) { return sprintf( - 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary" ' - .'from pragma_table_info(%s) order by cid asc', + 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary"' + .'from pragma_table_xinfo(%s) order by cid asc', $this->quoteString(str_replace('.', '__', $table)) ); } From 337a78cddbd3910e479ed16052633495ac989f8f Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 23 Jul 2024 18:22:48 +0200 Subject: [PATCH 061/707] wip --- src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php index 98ab402b5979..19689ab6526e 100644 --- a/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php +++ b/src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php @@ -104,7 +104,7 @@ public function compileViews() public function compileColumns($table) { return sprintf( - 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary"' + 'select name, type, not "notnull" as "nullable", dflt_value as "default", pk as "primary", hidden as "extra" ' .'from pragma_table_xinfo(%s) order by cid asc', $this->quoteString(str_replace('.', '__', $table)) ); From 42f505a0c8afc0743f73e70bec08e641e2870bd6 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 23 Jul 2024 16:33:27 +0000 Subject: [PATCH 062/707] Update version to v11.17.0 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index bbf774bbfc26..14de7d8916b4 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -45,7 +45,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '11.16.0'; + const VERSION = '11.17.0'; /** * The base path for the Laravel installation. From 82f9d3d6ec6e6f8923bc5fce2ea2ca79e133e6e2 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 23 Jul 2024 16:35:03 +0000 Subject: [PATCH 063/707] Update CHANGELOG --- CHANGELOG.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33e34b000e7d..05e337fb2640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,35 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.16.0...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.17.0...11.x) + +## [v11.17.0](https://github.com/laravel/framework/compare/v11.16.0...v11.17.0) - 2024-07-23 + +* [10.x] Fix PHP_CLI_SERVER_WORKERS warning by suppressing it by [@pelomedusa](https://github.com/pelomedusa) in https://github.com/laravel/framework/pull/52094 +* [11.x] Use `Command::FAILURE` for `db:wipe` command by [@siarheipashkevich](https://github.com/siarheipashkevich) in https://github.com/laravel/framework/pull/52152 +* [11.x] Update outdated config files by [@TENIOS](https://github.com/TENIOS) in https://github.com/laravel/framework/pull/52150 +* [11.x] Fix 'pushProcessor method not found on LoggerInterface' error by [@cosmastech](https://github.com/cosmastech) in https://github.com/laravel/framework/pull/52117 +* [11.x] Use `Command::FAILURE` for `migrate:fresh` command by [@siarheipashkevich](https://github.com/siarheipashkevich) in https://github.com/laravel/framework/pull/52153 +* Improve accuracy of `Collection::isEmpty` and `isNotEmpty` assertions by [@spawnia](https://github.com/spawnia) in https://github.com/laravel/framework/pull/52184 +* [11.x] Fix return for ApplicationBuilder:: withCommandRouting method by [@seriquynh](https://github.com/seriquynh) in https://github.com/laravel/framework/pull/52181 +* [11.x] Refactor: Replace get_called_class() with static::class for consistency by [@fernandokbs](https://github.com/fernandokbs) in https://github.com/laravel/framework/pull/52173 +* [11.x] Improve readability of SQLite schema dumps by [@bakerkretzmar](https://github.com/bakerkretzmar) in https://github.com/laravel/framework/pull/52172 +* [11.x] Allow non-`ContextualAttribute` attributes to have an `after` callback by [@innocenzi](https://github.com/innocenzi) in https://github.com/laravel/framework/pull/52167 +* [11.x] Ignoring column definitions when determining if a blueprint has a create command by [@kingsven](https://github.com/kingsven) in https://github.com/laravel/framework/pull/52177 +* Add specify exceptions for exceptions handling the vite manifest file by [@SamuelWei](https://github.com/SamuelWei) in https://github.com/laravel/framework/pull/52169 +* [11.x] fix: Model newCollection generics; feat: add HasCollection trait by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52171 +* Add whereLike clause to query builder by [@einar-hansen](https://github.com/einar-hansen) in https://github.com/laravel/framework/pull/52147 +* [11.x] Implement HasV7Uuids to use with MariaDB native uuid data type by [@Karem-sobhy](https://github.com/Karem-sobhy) in https://github.com/laravel/framework/pull/52029 +* [11.x] Rename `Model::$collection` to `$collectionClass` by [@GromNaN](https://github.com/GromNaN) in https://github.com/laravel/framework/pull/52186 +* [11.x] Allow microsecond travel by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/framework/pull/52190 +* [11.x] fix: Model/JsonResource::toJson should not fail with prior json errors by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52188 +* [11.x] Fix SQL Server tests by [@hafezdivandari](https://github.com/hafezdivandari) in https://github.com/laravel/framework/pull/52222 +* [11.x] Inspect exception of assertThrows by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52224 +* [10.x] Backport #51615 by [@GrahamCampbell](https://github.com/GrahamCampbell) in https://github.com/laravel/framework/pull/52215 +* [11.x] fix: Request::json() json errors when decoding empty string by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52204 +* [11.x] Reduce the number of queries with `Cache::many` and `Cache::putMany` methods in the database driver by [@tonysm](https://github.com/tonysm) in https://github.com/laravel/framework/pull/52209 +* Add method `QueryExecuted::toRawSql()` by [@spawnia](https://github.com/spawnia) in https://github.com/laravel/framework/pull/52192 +* [11.x] Support lower version of Carbon by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/framework/pull/52233 +* [11.x] Prevent bug (🐛) emoji on `Collection`/`Dumpable` `dd` method by [@jessarcher](https://github.com/jessarcher) in https://github.com/laravel/framework/pull/52234 ## [v11.16.0](https://github.com/laravel/framework/compare/v11.15.0...v11.16.0) - 2024-07-16 From b18f33340ca5a691132bccb3ad5de59c7fbdfdd9 Mon Sep 17 00:00:00 2001 From: Wesley Martin <01.wesley@gmail.com> Date: Tue, 23 Jul 2024 21:25:14 +0200 Subject: [PATCH 064/707] Added completeWords flag to limit str method (#52245) * Added completeWords flag to limit str method * formatting * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Support/Str.php | 17 +++++++++++++++-- src/Illuminate/Support/Stringable.php | 5 +++-- tests/Support/SupportStrTest.php | 7 +++++++ 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Support/Str.php b/src/Illuminate/Support/Str.php index a9ff9aae2133..44bbf7918ead 100644 --- a/src/Illuminate/Support/Str.php +++ b/src/Illuminate/Support/Str.php @@ -625,15 +625,28 @@ public static function length($value, $encoding = null) * @param string $value * @param int $limit * @param string $end + * @param bool $preserveWords * @return string */ - public static function limit($value, $limit = 100, $end = '...') + public static function limit($value, $limit = 100, $end = '...', $preserveWords = false) { if (mb_strwidth($value, 'UTF-8') <= $limit) { return $value; } - return rtrim(mb_strimwidth($value, 0, $limit, '', 'UTF-8')).$end; + if (! $preserveWords) { + return rtrim(mb_strimwidth($value, 0, $limit, '', 'UTF-8')).$end; + } + + $value = trim(preg_replace('/[\n\r]+/', ' ', strip_tags($value))); + + $trimmed = rtrim(mb_strimwidth($value, 0, $limit, '', 'UTF-8')); + + if (mb_substr($value, $limit, 1, 'UTF-8') === ' ') { + return $trimmed.$end; + } + + return preg_replace("/(.*)\s.*/", '$1', $trimmed).$end; } /** diff --git a/src/Illuminate/Support/Stringable.php b/src/Illuminate/Support/Stringable.php index c6953e939bce..be4389d523eb 100644 --- a/src/Illuminate/Support/Stringable.php +++ b/src/Illuminate/Support/Stringable.php @@ -433,11 +433,12 @@ public function length($encoding = null) * * @param int $limit * @param string $end + * @param bool $preserveWords * @return static */ - public function limit($limit = 100, $end = '...') + public function limit($limit = 100, $end = '...', $preserveWords = false) { - return new static(Str::limit($this->value, $limit, $end)); + return new static(Str::limit($this->value, $limit, $end, $preserveWords)); } /** diff --git a/tests/Support/SupportStrTest.php b/tests/Support/SupportStrTest.php index 15e142574b3f..813dccdbd94b 100755 --- a/tests/Support/SupportStrTest.php +++ b/tests/Support/SupportStrTest.php @@ -596,15 +596,22 @@ public function testLimit() { $this->assertSame('Laravel is...', Str::limit('Laravel is a free, open source PHP web application framework.', 10)); $this->assertSame('这是一...', Str::limit('这是一段中文', 6)); + $this->assertSame('Laravel is a...', Str::limit('Laravel is a free, open source PHP web application framework.', 15, preserveWords: true)); $string = 'The PHP framework for web artisans.'; $this->assertSame('The PHP...', Str::limit($string, 7)); + $this->assertSame('The PHP...', Str::limit($string, 10, preserveWords: true)); $this->assertSame('The PHP', Str::limit($string, 7, '')); + $this->assertSame('The PHP', Str::limit($string, 10, '', true)); $this->assertSame('The PHP framework for web artisans.', Str::limit($string, 100)); + $this->assertSame('The PHP framework for web artisans.', Str::limit($string, 100, preserveWords: true)); + $this->assertSame('The PHP framework...', Str::limit($string, 20, preserveWords: true)); $nonAsciiString = '这是一段中文'; $this->assertSame('这是一...', Str::limit($nonAsciiString, 6)); + $this->assertSame('这是一...', Str::limit($nonAsciiString, 6, preserveWords: true)); $this->assertSame('这是一', Str::limit($nonAsciiString, 6, '')); + $this->assertSame('这是一', Str::limit($nonAsciiString, 6, '', true)); } public function testLength() From 45a42f94bd26e528f0a6448baa72bd5c4b236f43 Mon Sep 17 00:00:00 2001 From: Phil B Date: Fri, 26 Jul 2024 00:28:58 -0500 Subject: [PATCH 065/707] Fix missing * in phpdoc (#52277) --- src/Illuminate/Database/Schema/Blueprint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Schema/Blueprint.php b/src/Illuminate/Database/Schema/Blueprint.php index 3db52937dc23..87511ede91b9 100755 --- a/src/Illuminate/Database/Schema/Blueprint.php +++ b/src/Illuminate/Database/Schema/Blueprint.php @@ -1807,7 +1807,7 @@ public function getCommands() return $this->commands; } - /* + /** * Determine if the blueprint has state. * * @param mixed $name From 59795194e863f5ed7d2c0a5303cff028f1cd1a2a Mon Sep 17 00:00:00 2001 From: Jacob Baker-Kretzmar Date: Fri, 26 Jul 2024 01:29:23 -0400 Subject: [PATCH 066/707] [11.x] Fix SQLite schema dumps missing most tables (#52275) * Update test to make sure all expected tables are present in dump * Fix removal of sqlite internal tables --- src/Illuminate/Database/Schema/SqliteSchemaState.php | 2 +- tests/Integration/Database/Sqlite/SchemaStateTest.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Schema/SqliteSchemaState.php b/src/Illuminate/Database/Schema/SqliteSchemaState.php index d7195f495b47..ad48a3dae4b5 100644 --- a/src/Illuminate/Database/Schema/SqliteSchemaState.php +++ b/src/Illuminate/Database/Schema/SqliteSchemaState.php @@ -21,7 +21,7 @@ public function dump(Connection $connection, $path) // ])); - $migrations = preg_replace('/CREATE TABLE sqlite_.+\);[\r\n]+/is', '', $process->getOutput()); + $migrations = preg_replace('/CREATE TABLE sqlite_.+?\);[\r\n]+/is', '', $process->getOutput()); $this->files->put($path, $migrations.PHP_EOL); diff --git a/tests/Integration/Database/Sqlite/SchemaStateTest.php b/tests/Integration/Database/Sqlite/SchemaStateTest.php index 5bb30f1b34a4..fe69737aa33f 100644 --- a/tests/Integration/Database/Sqlite/SchemaStateTest.php +++ b/tests/Integration/Database/Sqlite/SchemaStateTest.php @@ -50,7 +50,8 @@ public function testSchemaDumpOnSqlite() $connection = DB::connection(); $connection->getSchemaBuilder()->createDatabase($connection->getConfig('database')); - $connection->statement('CREATE TABLE users(id integer primary key autoincrement not null, email varchar not null, name varchar not null);'); + $connection->statement('CREATE TABLE IF NOT EXISTS migrations (id integer primary key autoincrement not null, migration varchar not null, batch integer not null);'); + $connection->statement('CREATE TABLE users (id integer primary key autoincrement not null, email varchar not null, name varchar not null);'); $connection->statement('INSERT INTO users (email, name) VALUES ("taylor@laravel.com", "Taylor Otwell");'); $this->assertTrue($connection->table('sqlite_sequence')->exists()); @@ -60,6 +61,7 @@ public function testSchemaDumpOnSqlite() $connection->getSchemaState()->dump($connection, database_path('schema/sqlite-schema.sql')); $this->assertFileContains([ + 'CREATE TABLE migrations', 'CREATE TABLE users', ], 'database/schema/sqlite-schema.sql'); $this->assertFileNotContains([ From 6f1a721f86dc0c55677a0940a0904c0e5943bf6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Fri, 26 Jul 2024 07:36:44 +0200 Subject: [PATCH 067/707] Get dispatched batches via BusFake (#52270) --- src/Illuminate/Support/Testing/Fakes/BusFake.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Illuminate/Support/Testing/Fakes/BusFake.php b/src/Illuminate/Support/Testing/Fakes/BusFake.php index 9c7425b6eaaa..89250efef79b 100644 --- a/src/Illuminate/Support/Testing/Fakes/BusFake.php +++ b/src/Illuminate/Support/Testing/Fakes/BusFake.php @@ -867,4 +867,14 @@ public function map(array $map) return $this; } + + /** + * Get the batches that have been dispatched. + * + * @return array + */ + public function dispatchedBatches() + { + return $this->batches; + } } From 810a834f661490e4c216cb0698f4b759eb6c61bb Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Fri, 26 Jul 2024 05:37:07 +0000 Subject: [PATCH 068/707] Update facade docblocks --- src/Illuminate/Support/Facades/Bus.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index 6c22e027ea79..87ee410bd486 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -47,6 +47,7 @@ * @method static \Illuminate\Bus\Batch dispatchFakeBatch(string $name = '') * @method static \Illuminate\Bus\Batch recordPendingBatch(\Illuminate\Bus\PendingBatch $pendingBatch) * @method static \Illuminate\Support\Testing\Fakes\BusFake serializeAndRestore(bool $serializeAndRestore = true) + * @method static array dispatchedBatches() * * @see \Illuminate\Bus\Dispatcher * @see \Illuminate\Support\Testing\Fakes\BusFake From c71cdf7d77b1d7483e866a0f1c82a3e3770ff79b Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Fri, 26 Jul 2024 15:45:37 +1000 Subject: [PATCH 069/707] Adds terminating event (#52259) --- src/Illuminate/Foundation/Console/Kernel.php | 3 ++ .../Foundation/Events/Terminating.php | 8 ++++ src/Illuminate/Foundation/Http/Kernel.php | 3 ++ tests/Foundation/Console/KernelTest.php | 35 ++++++++++++++ tests/Foundation/Http/KernelTest.php | 46 +++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 src/Illuminate/Foundation/Events/Terminating.php create mode 100644 tests/Foundation/Console/KernelTest.php diff --git a/src/Illuminate/Foundation/Console/Kernel.php b/src/Illuminate/Foundation/Console/Kernel.php index 16fc49d87141..eb9405ba873b 100644 --- a/src/Illuminate/Foundation/Console/Kernel.php +++ b/src/Illuminate/Foundation/Console/Kernel.php @@ -14,6 +14,7 @@ use Illuminate\Contracts\Debug\ExceptionHandler; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Foundation\Application; +use Illuminate\Foundation\Events\Terminating; use Illuminate\Support\Arr; use Illuminate\Support\Carbon; use Illuminate\Support\Env; @@ -212,6 +213,8 @@ public function handle($input, $output = null) */ public function terminate($input, $status) { + $this->events->dispatch(new Terminating); + $this->app->terminate(); if ($this->commandStartedAt === null) { diff --git a/src/Illuminate/Foundation/Events/Terminating.php b/src/Illuminate/Foundation/Events/Terminating.php new file mode 100644 index 000000000000..a74a21e01220 --- /dev/null +++ b/src/Illuminate/Foundation/Events/Terminating.php @@ -0,0 +1,8 @@ +app['events']->dispatch(new Terminating); + $this->terminateMiddleware($request, $response); $this->app->terminate(); diff --git a/tests/Foundation/Console/KernelTest.php b/tests/Foundation/Console/KernelTest.php new file mode 100644 index 000000000000..7ef493b010f8 --- /dev/null +++ b/tests/Foundation/Console/KernelTest.php @@ -0,0 +1,35 @@ +instance('events', $events); + $kernel = new Kernel($app, $events); + $events->listen(function (Terminating $terminating) use (&$called) { + $called[] = 'terminating event'; + }); + $app->terminating(function () use (&$called) { + $called[] = 'terminating callback'; + }); + + $kernel->terminate(new StringInput('tinker'), 0); + + $this->assertSame([ + 'terminating event', + 'terminating callback', + ], $called); + } +} diff --git a/tests/Foundation/Http/KernelTest.php b/tests/Foundation/Http/KernelTest.php index 4b411b24a642..0b1c117ea075 100644 --- a/tests/Foundation/Http/KernelTest.php +++ b/tests/Foundation/Http/KernelTest.php @@ -4,7 +4,10 @@ use Illuminate\Events\Dispatcher; use Illuminate\Foundation\Application; +use Illuminate\Foundation\Events\Terminating; use Illuminate\Foundation\Http\Kernel; +use Illuminate\Http\Request; +use Illuminate\Http\Response; use Illuminate\Routing\Router; use PHPUnit\Framework\TestCase; @@ -43,6 +46,49 @@ public function testGetMiddlewarePriority() ], $kernel->getMiddlewarePriority()); } + public function testItTriggersTerminatingEvent() + { + $called = []; + $app = $this->getApplication(); + $events = new Dispatcher($app); + $app->instance('events', $events); + $kernel = new Kernel($app, $this->getRouter()); + $app->instance('terminating-middleware', new class($called) + { + public function __construct(private &$called) + { + // + } + + public function handle($request, $next) + { + return $next($response); + } + + public function terminate($request, $response) + { + $this->called[] = 'terminating middleware'; + } + }); + $kernel->setGlobalMiddleware([ + 'terminating-middleware', + ]); + $events->listen(function (Terminating $terminating) use (&$called) { + $called[] = 'terminating event'; + }); + $app->terminating(function () use (&$called) { + $called[] = 'terminating callback'; + }); + + $kernel->terminate(new Request(), new Response()); + + $this->assertSame([ + 'terminating event', + 'terminating middleware', + 'terminating callback', + ], $called); + } + /** * @return \Illuminate\Contracts\Foundation\Application */ From ed28a456f6b4799c33a59840fd68ea9f0922d463 Mon Sep 17 00:00:00 2001 From: Anton5360 <72033639+Anton5360@users.noreply.github.com> Date: Thu, 25 Jul 2024 23:48:25 -0600 Subject: [PATCH 070/707] [11.x] Declare bindings and singletons properties in Service Provider (#52256) * Declare bindings and singletons "magick" properties * Update ServiceProvider.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Foundation/Application.php | 14 +++++--------- src/Illuminate/Support/ServiceProvider.php | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index 14de7d8916b4..e7ab77a88a8a 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -870,18 +870,14 @@ public function register($provider, $force = false) // If there are bindings / singletons set as properties on the provider we // will spin through them and register them with the application, which // serves as a convenience layer while registering a lot of bindings. - if (property_exists($provider, 'bindings')) { - foreach ($provider->bindings as $key => $value) { - $this->bind($key, $value); - } + foreach ($provider->bindings as $key => $value) { + $this->bind($key, $value); } - if (property_exists($provider, 'singletons')) { - foreach ($provider->singletons as $key => $value) { - $key = is_int($key) ? $value : $key; + foreach ($provider->singletons as $key => $value) { + $key = is_int($key) ? $value : $key; - $this->singleton($key, $value); - } + $this->singleton($key, $value); } $this->markAsRegistered($provider); diff --git a/src/Illuminate/Support/ServiceProvider.php b/src/Illuminate/Support/ServiceProvider.php index 7395397a3eca..a43ce9d444cd 100755 --- a/src/Illuminate/Support/ServiceProvider.php +++ b/src/Illuminate/Support/ServiceProvider.php @@ -19,6 +19,20 @@ abstract class ServiceProvider */ protected $app; + /** + * All of the container bindings that should be registered. + * + * @var array + */ + public $bindings = []; + + /** + * All of the singletons that should be registered. + * + * @var array + */ + public $singletons = []; + /** * All of the registered booting callbacks. * From 9e781c2f12a0a28ba916261b4ec6e625fe1d0727 Mon Sep 17 00:00:00 2001 From: ChristianC Date: Fri, 26 Jul 2024 07:50:20 +0200 Subject: [PATCH 071/707] [11.x] Fix explicit route binding for broadcast routes (#52280) * Made route parameter in Route Binding optional to allow explicit route binding in broadcast routes * Apply style ci errors --- src/Illuminate/Routing/RouteBinding.php | 4 ++-- tests/Broadcasting/BroadcasterTest.php | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Routing/RouteBinding.php b/src/Illuminate/Routing/RouteBinding.php index 9d545039aa1a..ef37e7063564 100644 --- a/src/Illuminate/Routing/RouteBinding.php +++ b/src/Illuminate/Routing/RouteBinding.php @@ -58,7 +58,7 @@ protected static function createClassBinding($container, $binding) */ public static function forModel($container, $class, $callback = null) { - return function ($value, $route) use ($container, $class, $callback) { + return function ($value, $route = null) use ($container, $class, $callback) { if (is_null($value)) { return; } @@ -68,7 +68,7 @@ public static function forModel($container, $class, $callback = null) // throw a not found exception otherwise we will return the instance. $instance = $container->make($class); - $routeBindingMethod = $route->allowsTrashedBindings() && in_array(SoftDeletes::class, class_uses_recursive($instance)) + $routeBindingMethod = $route?->allowsTrashedBindings() && in_array(SoftDeletes::class, class_uses_recursive($instance)) ? 'resolveSoftDeletableRouteBinding' : 'resolveRouteBinding'; diff --git a/tests/Broadcasting/BroadcasterTest.php b/tests/Broadcasting/BroadcasterTest.php index eca82ca9754d..91e64d4d4323 100644 --- a/tests/Broadcasting/BroadcasterTest.php +++ b/tests/Broadcasting/BroadcasterTest.php @@ -8,6 +8,7 @@ use Illuminate\Contracts\Routing\BindingRegistrar; use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Request; +use Illuminate\Routing\RouteBinding; use Mockery as m; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; @@ -84,6 +85,23 @@ public function testCanUseChannelClasses() $this->assertEquals(['model.1.instance', 'something'], $parameters); } + public function testModelRouteBinding() + { + $container = new Container; + Container::setInstance($container); + $binder = m::mock(BindingRegistrar::class); + $callback = RouteBinding::forModel($container, BroadcasterTestEloquentModelStub::class); + + $binder->shouldReceive('getBindingCallback')->times(2)->with('model')->andReturn($callback); + $container->instance(BindingRegistrar::class, $binder); + $callback = function ($user, $model) { + // + }; + $parameters = $this->broadcaster->extractAuthParameters('something.{model}', 'something.1', $callback); + $this->assertEquals(['model.1.instance'], $parameters); + Container::setInstance(new Container); + } + public function testUnknownChannelAuthHandlerTypeThrowsException() { $this->expectException(Exception::class); From b6729d9bf7cd6326c166cd66c42e3f450965a43a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 26 Jul 2024 08:12:27 +0200 Subject: [PATCH 072/707] =?UTF-8?q?Revert=20"feat:=20allow=20non-contextua?= =?UTF-8?q?l=20attributes=20to=20have=20an=20`after`=20callback=20(#5?= =?UTF-8?q?=E2=80=A6"=20(#52281)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 45592e6601e4c1a0d2913a2d15e8f07ac35a8a7c. --- src/Illuminate/Container/Container.php | 8 +++++-- .../AfterResolvingAttributeCallbackTest.php | 24 +------------------ 2 files changed, 7 insertions(+), 25 deletions(-) diff --git a/src/Illuminate/Container/Container.php b/src/Illuminate/Container/Container.php index 148a2a5ca2de..787ecaf69657 100755 --- a/src/Illuminate/Container/Container.php +++ b/src/Illuminate/Container/Container.php @@ -1366,8 +1366,12 @@ protected function fireAfterResolvingCallbacks($abstract, $object) protected function fireAfterResolvingAttributeCallbacks(array $attributes, $object) { foreach ($attributes as $attribute) { - if (method_exists($instance = $attribute->newInstance(), 'after')) { - $instance->after($instance, $object, $this); + if (is_a($attribute->getName(), ContextualAttribute::class, true)) { + $instance = $attribute->newInstance(); + + if (method_exists($instance, 'after')) { + $instance->after($instance, $object, $this); + } } $callbacks = $this->getCallbacksForType( diff --git a/tests/Container/AfterResolvingAttributeCallbackTest.php b/tests/Container/AfterResolvingAttributeCallbackTest.php index 0970ea1f2c1f..545db091af3b 100644 --- a/tests/Container/AfterResolvingAttributeCallbackTest.php +++ b/tests/Container/AfterResolvingAttributeCallbackTest.php @@ -11,22 +11,18 @@ class AfterResolvingAttributeCallbackTest extends TestCase public function testCallbackIsCalledAfterDependencyResolutionWithAttribute() { $container = new Container(); - $stack = []; - $container->afterResolvingAttribute(ContainerTestOnTenant::class, function (ContainerTestOnTenant $attribute, HasTenantImpl $hasTenantImpl, Container $container) use (&$stack) { + $container->afterResolvingAttribute(ContainerTestOnTenant::class, function (ContainerTestOnTenant $attribute, HasTenantImpl $hasTenantImpl, Container $container) { $hasTenantImpl->onTenant($attribute->tenant); - $stack[] = $attribute->tenant; }); $hasTenantA = $container->make(ContainerTestHasTenantImplPropertyWithTenantA::class); $this->assertInstanceOf(HasTenantImpl::class, $hasTenantA->property); $this->assertEquals(Tenant::TenantA, $hasTenantA->property->tenant); - $this->assertContains(Tenant::TenantA, $stack); $hasTenantB = $container->make(ContainerTestHasTenantImplPropertyWithTenantB::class); $this->assertInstanceOf(HasTenantImpl::class, $hasTenantB->property); $this->assertEquals(Tenant::TenantB, $hasTenantB->property->tenant); - $this->assertContains(Tenant::TenantB, $stack); } public function testCallbackIsCalledAfterClassWithAttributeIsResolved() @@ -61,19 +57,6 @@ public function testCallbackIsCalledAfterClassWithConstructorAndAttributeIsResol $this->assertInstanceOf(ContainerTestHasSelfConfiguringAttributeAndConstructor::class, $instance); $this->assertEquals('the-right-value', $instance->value); } - - public function testAfterCallbackIsCalled() - { - $container = new Container(); - - $hasTenantA = $container->make(ContainerTestHasTenantImplPropertyWithTenantA::class); - $this->assertInstanceOf(HasTenantImpl::class, $hasTenantA->property); - $this->assertEquals(Tenant::TenantA, $hasTenantA->property->tenant); - - $hasTenantB = $container->make(ContainerTestHasTenantImplPropertyWithTenantB::class); - $this->assertInstanceOf(HasTenantImpl::class, $hasTenantB->property); - $this->assertEquals(Tenant::TenantB, $hasTenantB->property->tenant); - } } #[Attribute(Attribute::TARGET_PARAMETER)] @@ -83,11 +66,6 @@ public function __construct( public readonly Tenant $tenant ) { } - - public function after(self $attribute, HasTenantImpl $class, Container $container): void - { - $class->onTenant($attribute->tenant); - } } enum Tenant From 7c42890f1645885d3338617297e6ddc492086eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Fri, 26 Jul 2024 08:18:25 +0200 Subject: [PATCH 073/707] [11.x] Apply relation constraitns on upsert (#52239) * [11.x] Apply relation constraitns on upsert * tests * Update MorphOneOrMany.php --------- Co-authored-by: Taylor Otwell --- .../Eloquent/Relations/HasOneOrMany.php | 17 ++++++++++++++ .../Eloquent/Relations/MorphOneOrMany.php | 17 ++++++++++++++ .../Database/DatabaseEloquentHasManyTest.php | 23 +++++++++++++++++++ tests/Database/DatabaseEloquentMorphTest.php | 23 +++++++++++++++++++ 4 files changed, 80 insertions(+) diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index d589f942739c..1a1afa7aea5d 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -276,6 +276,23 @@ public function updateOrCreate(array $attributes, array $values = []) }); } + /** + * Insert new records or update the existing ones. + * + * @param array $values + * @param array|string $uniqueBy + * @param array|null $update + * @return int + */ + public function upsert(array $values, $uniqueBy, $update = null) + { + foreach ($values as $key => $value) { + $values[$key][$this->getForeignKeyName()] = $this->getParentKey(); + } + + return $this->getQuery()->upsert($values, $uniqueBy, $update); + } + /** * Attach a model instance to the parent model. * diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php index d41757df711f..260c30c264c5 100755 --- a/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php @@ -96,6 +96,23 @@ protected function setForeignAttributesForCreate(Model $model) $model->{$this->getMorphType()} = $this->morphClass; } + /** + * Insert new records or update the existing ones. + * + * @param array $values + * @param array|string $uniqueBy + * @param array|null $update + * @return int + */ + public function upsert(array $values, $uniqueBy, $update = null) + { + foreach ($values as $key => $value) { + $values[$key][$this->getMorphType()] = $this->getMorphClass(); + } + + return parent::upsert($values, $uniqueBy, $update); + } + /** @inheritDoc */ public function getRelationExistenceQuery(Builder $query, Builder $parentQuery, $columns = ['*']) { diff --git a/tests/Database/DatabaseEloquentHasManyTest.php b/tests/Database/DatabaseEloquentHasManyTest.php index eca4cefede25..ef20c3a6031c 100755 --- a/tests/Database/DatabaseEloquentHasManyTest.php +++ b/tests/Database/DatabaseEloquentHasManyTest.php @@ -253,6 +253,29 @@ public function testUpdateOrCreateMethodCreatesNewModelWithForeignKeySet() $this->assertInstanceOf(Model::class, $relation->updateOrCreate(['foo'], ['bar'])); } + public function testRelationUpsertFillsForeignKey() + { + $relation = $this->getRelation(); + + $relation->getQuery()->shouldReceive('upsert')->with( + [ + ['email' => 'foo3', 'name' => 'bar', $relation->getForeignKeyName() => $relation->getParentKey()], + ['name' => 'bar2', 'email' => 'foo2', $relation->getForeignKeyName() => $relation->getParentKey()], + ], + ['email'], + ['name'] + ); + + $relation->upsert( + [ + ['email' => 'foo3', 'name' => 'bar'], + ['name' => 'bar2', 'email' => 'foo2'], + ], + ['email'], + ['name'] + ); + } + public function testRelationIsProperlyInitialized() { $relation = $this->getRelation(); diff --git a/tests/Database/DatabaseEloquentMorphTest.php b/tests/Database/DatabaseEloquentMorphTest.php index 7804226dc885..2e7d4a192cc0 100755 --- a/tests/Database/DatabaseEloquentMorphTest.php +++ b/tests/Database/DatabaseEloquentMorphTest.php @@ -67,6 +67,29 @@ public function testMorphManyEagerConstraintsAreProperlyAdded() $relation->addEagerConstraints([$model1, $model2]); } + public function testMorphRelationUpsertFillsForeignKey() + { + $relation = $this->getManyRelation(); + + $relation->getQuery()->shouldReceive('upsert')->with( + [ + ['email' => 'foo3', 'name' => 'bar', $relation->getForeignKeyName() => $relation->getParentKey(), $relation->getMorphType() => $relation->getMorphClass()], + ['name' => 'bar2', 'email' => 'foo2', $relation->getForeignKeyName() => $relation->getParentKey(), $relation->getMorphType() => $relation->getMorphClass()], + ], + ['email'], + ['name'] + ); + + $relation->upsert( + [ + ['email' => 'foo3', 'name' => 'bar'], + ['name' => 'bar2', 'email' => 'foo2'], + ], + ['email'], + ['name'] + ); + } + public function testMakeFunctionOnMorph() { $_SERVER['__eloquent.saved'] = false; From 35901bbdfe3576f21197d4df4f4b72edbd0cf7a9 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Fri, 26 Jul 2024 06:20:43 +0000 Subject: [PATCH 074/707] Update version to v11.18.0 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index e7ab77a88a8a..8e3daa139886 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -45,7 +45,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '11.17.0'; + const VERSION = '11.18.0'; /** * The base path for the Laravel installation. From f505304ff702d837cec45e2d45448b78dbae56a4 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Fri, 26 Jul 2024 06:22:17 +0000 Subject: [PATCH 075/707] Update CHANGELOG --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05e337fb2640..9656debac298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.17.0...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.18.0...11.x) + +## [v11.18.0](https://github.com/laravel/framework/compare/v11.17.0...v11.18.0) - 2024-07-26 + +* Added completeWords flag to limit str method by [@itsmewes](https://github.com/itsmewes) in https://github.com/laravel/framework/pull/52245 +* [11.x] Fix missing * in phpdoc by [@pb30](https://github.com/pb30) in https://github.com/laravel/framework/pull/52277 +* [11.x] Fix SQLite schema dumps missing most tables by [@bakerkretzmar](https://github.com/bakerkretzmar) in https://github.com/laravel/framework/pull/52275 +* [11.x] Access dispatchedBatches via BusFake by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52270 +* [11.x] Adds terminating event by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/framework/pull/52259 +* [11.x] Declare bindings and singletons properties in Service Provider by [@Anton5360](https://github.com/Anton5360) in https://github.com/laravel/framework/pull/52256 +* [11.x] Fix explicit route binding for broadcast routes by [@ccharz](https://github.com/ccharz) in https://github.com/laravel/framework/pull/52280 +* Revert "[11.x] Allow non-`ContextualAttribute` attributes to have an `after` callback" by [@taylorotwell](https://github.com/taylorotwell) in https://github.com/laravel/framework/pull/52281 +* [11.x] Apply relation constraitns on upsert by [@iamgergo](https://github.com/iamgergo) in https://github.com/laravel/framework/pull/52239 ## [v11.17.0](https://github.com/laravel/framework/compare/v11.16.0...v11.17.0) - 2024-07-23 From 36ad970e2127e58658336df5fbd0df7533d34faf Mon Sep 17 00:00:00 2001 From: Saya <379924+chu121su12@users.noreply.github.com> Date: Fri, 26 Jul 2024 16:04:14 +0800 Subject: [PATCH 076/707] Update KernelTest.php (#52282) --- tests/Foundation/Http/KernelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Foundation/Http/KernelTest.php b/tests/Foundation/Http/KernelTest.php index 0b1c117ea075..f5d29da917fe 100644 --- a/tests/Foundation/Http/KernelTest.php +++ b/tests/Foundation/Http/KernelTest.php @@ -62,7 +62,7 @@ public function __construct(private &$called) public function handle($request, $next) { - return $next($response); + return $next($request); } public function terminate($request, $response) From 5eb1215041b02f7846cbe182b8fabb22e73e3bdf Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 26 Jul 2024 12:38:04 +0200 Subject: [PATCH 077/707] =?UTF-8?q?Revert=20"[11.x]=20Declare=20bindings?= =?UTF-8?q?=20and=20singletons=20properties=20in=20Service=20Provider?= =?UTF-8?q?=E2=80=A6"=20(#52288)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ed28a456f6b4799c33a59840fd68ea9f0922d463. --- src/Illuminate/Foundation/Application.php | 14 +++++++++----- src/Illuminate/Support/ServiceProvider.php | 14 -------------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index 8e3daa139886..75abb18b6b48 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -870,14 +870,18 @@ public function register($provider, $force = false) // If there are bindings / singletons set as properties on the provider we // will spin through them and register them with the application, which // serves as a convenience layer while registering a lot of bindings. - foreach ($provider->bindings as $key => $value) { - $this->bind($key, $value); + if (property_exists($provider, 'bindings')) { + foreach ($provider->bindings as $key => $value) { + $this->bind($key, $value); + } } - foreach ($provider->singletons as $key => $value) { - $key = is_int($key) ? $value : $key; + if (property_exists($provider, 'singletons')) { + foreach ($provider->singletons as $key => $value) { + $key = is_int($key) ? $value : $key; - $this->singleton($key, $value); + $this->singleton($key, $value); + } } $this->markAsRegistered($provider); diff --git a/src/Illuminate/Support/ServiceProvider.php b/src/Illuminate/Support/ServiceProvider.php index a43ce9d444cd..7395397a3eca 100755 --- a/src/Illuminate/Support/ServiceProvider.php +++ b/src/Illuminate/Support/ServiceProvider.php @@ -19,20 +19,6 @@ abstract class ServiceProvider */ protected $app; - /** - * All of the container bindings that should be registered. - * - * @var array - */ - public $bindings = []; - - /** - * All of the singletons that should be registered. - * - * @var array - */ - public $singletons = []; - /** * All of the registered booting callbacks. * From b19ba518c56852567e99fbae9321bc436c2cc5a8 Mon Sep 17 00:00:00 2001 From: driesvints Date: Fri, 26 Jul 2024 10:39:29 +0000 Subject: [PATCH 078/707] Update version to v11.18.1 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index 75abb18b6b48..c5b06b5c3962 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -45,7 +45,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '11.18.0'; + const VERSION = '11.18.1'; /** * The base path for the Laravel installation. From 8ca1b5bbb9811585b58154a9e69aa0c67583e097 Mon Sep 17 00:00:00 2001 From: driesvints Date: Fri, 26 Jul 2024 10:41:14 +0000 Subject: [PATCH 079/707] Update CHANGELOG --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9656debac298..f5373868a6b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.18.0...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.18.1...11.x) + +## [v11.18.1](https://github.com/laravel/framework/compare/v11.18.0...v11.18.1) - 2024-07-26 + +* [11.x] Fix variable typo at Terminating Event test by [@chu121su12](https://github.com/chu121su12) in https://github.com/laravel/framework/pull/52282 +* Revert "[11.x] Declare bindings and singletons properties in Service Provider" by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/framework/pull/52288 ## [v11.18.0](https://github.com/laravel/framework/compare/v11.17.0...v11.18.0) - 2024-07-26 From eb2e1a68419b34c093c7cdd75b4c3a4008c51d8e Mon Sep 17 00:00:00 2001 From: "Md. Mahbub Helal" Date: Mon, 29 Jul 2024 12:48:51 +0600 Subject: [PATCH 080/707] fix @return typehint (#52304) --- src/Illuminate/Contracts/Process/InvokedProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Contracts/Process/InvokedProcess.php b/src/Illuminate/Contracts/Process/InvokedProcess.php index 87a92c047704..fee2f6622583 100644 --- a/src/Illuminate/Contracts/Process/InvokedProcess.php +++ b/src/Illuminate/Contracts/Process/InvokedProcess.php @@ -58,7 +58,7 @@ public function latestErrorOutput(); * Wait for the process to finish. * * @param callable|null $output - * @return \Illuminate\Console\Process\ProcessResult + * @return \Illuminate\Process\ProcessResult */ public function wait(?callable $output = null); } From ff5cdef8bf683f0831a1cb094f7c5eefae9e1ee2 Mon Sep 17 00:00:00 2001 From: Anton5360 <72033639+Anton5360@users.noreply.github.com> Date: Mon, 29 Jul 2024 00:52:43 -0600 Subject: [PATCH 081/707] [11.x] Add php doc for ServiceProvider bindings and singletons properties (#52298) * Add php doc for bindings and singletons magick properties * Add description --- src/Illuminate/Support/ServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Illuminate/Support/ServiceProvider.php b/src/Illuminate/Support/ServiceProvider.php index 7395397a3eca..f059a046bcf8 100755 --- a/src/Illuminate/Support/ServiceProvider.php +++ b/src/Illuminate/Support/ServiceProvider.php @@ -10,6 +10,10 @@ use Illuminate\Database\Eloquent\Factory as ModelFactory; use Illuminate\View\Compilers\BladeCompiler; +/** + * @property array $bindings All of the container bindings that should be registered. + * @property array $singletons All of the singletons that should be registered. + */ abstract class ServiceProvider { /** From 82e9dbce223dbbd343dbfd3081f227155a40153c Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 29 Jul 2024 01:54:36 -0500 Subject: [PATCH 082/707] fix: Model/JsonResource::toJson should not fail with prior json errors (#52293) --- src/Illuminate/Database/Eloquent/Model.php | 9 ++++--- .../Http/Resources/Json/JsonResource.php | 9 ++++--- tests/Database/DatabaseEloquentModelTest.php | 11 ++++++++ tests/Http/JsonResourceTest.php | 27 +++++++++++++++++++ 4 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 tests/Http/JsonResourceTest.php diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index ee4c10aae4c4..672939b95c4c 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -20,6 +20,7 @@ use Illuminate\Support\Collection as BaseCollection; use Illuminate\Support\Str; use Illuminate\Support\Traits\ForwardsCalls; +use JsonException; use JsonSerializable; use LogicException; @@ -1646,10 +1647,10 @@ public function toArray() */ public function toJson($options = 0) { - $json = json_encode($this->jsonSerialize(), $options); - - if (json_last_error() !== JSON_ERROR_NONE) { - throw JsonEncodingException::forModel($this, json_last_error_msg()); + try { + $json = json_encode($this->jsonSerialize(), $options | JSON_THROW_ON_ERROR); + } catch (JsonException $e) { + throw JsonEncodingException::forModel($this, $e->getMessage()); } return $json; diff --git a/src/Illuminate/Http/Resources/Json/JsonResource.php b/src/Illuminate/Http/Resources/Json/JsonResource.php index 0c2fd151ffbe..cf08343d7832 100644 --- a/src/Illuminate/Http/Resources/Json/JsonResource.php +++ b/src/Illuminate/Http/Resources/Json/JsonResource.php @@ -12,6 +12,7 @@ use Illuminate\Http\Request; use Illuminate\Http\Resources\ConditionallyLoadsAttributes; use Illuminate\Http\Resources\DelegatesToResource; +use JsonException; use JsonSerializable; class JsonResource implements ArrayAccess, JsonSerializable, Responsable, UrlRoutable @@ -144,10 +145,10 @@ public function toArray(Request $request) */ public function toJson($options = 0) { - $json = json_encode($this->jsonSerialize(), $options); - - if (json_last_error() !== JSON_ERROR_NONE) { - throw JsonEncodingException::forResource($this, json_last_error_msg()); + try { + $json = json_encode($this->jsonSerialize(), $options | JSON_THROW_ON_ERROR); + } catch (JsonException $e) { + throw JsonEncodingException::forResource($this, $e->getMessage()); } return $json; diff --git a/tests/Database/DatabaseEloquentModelTest.php b/tests/Database/DatabaseEloquentModelTest.php index 1966e5550bee..15b248c5c622 100755 --- a/tests/Database/DatabaseEloquentModelTest.php +++ b/tests/Database/DatabaseEloquentModelTest.php @@ -2860,6 +2860,17 @@ public function testDiscardChanges() $this->assertNull($user->getOriginal('name')); $this->assertNull($user->getAttribute('name')); } + + public function testModelToJsonSucceedsWithPriorErrors(): void + { + $user = new EloquentModelStub(['name' => 'Mateus']); + + // Simulate a JSON error + json_decode('{'); + $this->assertTrue(json_last_error() !== JSON_ERROR_NONE); + + $this->assertSame('{"name":"Mateus"}', $user->toJson(JSON_THROW_ON_ERROR)); + } } class EloquentTestObserverStub diff --git a/tests/Http/JsonResourceTest.php b/tests/Http/JsonResourceTest.php new file mode 100644 index 000000000000..256c40aea991 --- /dev/null +++ b/tests/Http/JsonResourceTest.php @@ -0,0 +1,27 @@ + $model]) + ->makePartial() + ->shouldReceive('jsonSerialize')->once()->andReturn(['foo' => 'bar']) + ->getMock(); + + // Simulate a JSON error + json_decode('{'); + $this->assertTrue(json_last_error() !== JSON_ERROR_NONE); + + $this->assertSame('{"foo":"bar"}', $resource->toJson(JSON_THROW_ON_ERROR)); + } +} From ecfb54778633ce4c9d0217040b8eabc5236e5714 Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Mon, 29 Jul 2024 16:55:04 +1000 Subject: [PATCH 083/707] Update docblock to accept an Expression for whereLike methods (#52299) --- src/Illuminate/Database/Query/Builder.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index e32d8b49e20c..2ea57adff6ac 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -1124,7 +1124,7 @@ public function orWhereRaw($sql, $bindings = []) /** * Add a "where like" clause to the query. * - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $value * @param bool $caseSensitive * @param string $boolean @@ -1149,7 +1149,7 @@ public function whereLike($column, $value, $caseSensitive = false, $boolean = 'a /** * Add an "or where like" clause to the query. * - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $value * @param bool $caseSensitive * @return $this @@ -1162,7 +1162,7 @@ public function orWhereLike($column, $value, $caseSensitive = false) /** * Add a "where not like" clause to the query. * - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $value * @param bool $caseSensitive * @param string $boolean @@ -1176,7 +1176,7 @@ public function whereNotLike($column, $value, $caseSensitive = false, $boolean = /** * Add an "or where not like" clause to the query. * - * @param string $columns + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $value * @param bool $caseSensitive * @return $this From 18b9bad2bf44bea9aeff27ae068d32a6d90b6f81 Mon Sep 17 00:00:00 2001 From: Garrick Crouch Date: Mon, 29 Jul 2024 02:18:43 -0500 Subject: [PATCH 084/707] [11.x] Fix Bcrypt/Argon/Argon2I Hashers not checking database field for nullish value before checking hash compatibility (#52297) * Fix Bcrypt Hasher not checking database field for nullish value Updates Bcrypt Hasher implementation to correctly check if the `$hashedValue` field being checked for Hash Algorithm compatibility is not `null` or of length `0`. This gives us the behavior before hash verification was added to the framework that will trigger the framework to return early with a proper response of `false` as opposed to a generic `RuntimeException` being thrown for a value that should never have been checked for hash algorithm compatibility * Update ArgonHasher to check for nullish value before hash compatibility check * Update Argon2IdHasher to check for nullish value before hash compatibility --- src/Illuminate/Hashing/Argon2IdHasher.php | 8 ++++---- src/Illuminate/Hashing/ArgonHasher.php | 4 ++++ src/Illuminate/Hashing/BcryptHasher.php | 4 ++++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Hashing/Argon2IdHasher.php b/src/Illuminate/Hashing/Argon2IdHasher.php index 8e6878ed650f..a9327aaee42d 100644 --- a/src/Illuminate/Hashing/Argon2IdHasher.php +++ b/src/Illuminate/Hashing/Argon2IdHasher.php @@ -18,13 +18,13 @@ class Argon2IdHasher extends ArgonHasher */ public function check(#[\SensitiveParameter] $value, $hashedValue, array $options = []) { - if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { - throw new RuntimeException('This password does not use the Argon2id algorithm.'); - } - if (is_null($hashedValue) || strlen($hashedValue) === 0) { return false; } + + if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { + throw new RuntimeException('This password does not use the Argon2id algorithm.'); + } return password_verify($value, $hashedValue); } diff --git a/src/Illuminate/Hashing/ArgonHasher.php b/src/Illuminate/Hashing/ArgonHasher.php index 3ec659670c93..29b0e91a14db 100644 --- a/src/Illuminate/Hashing/ArgonHasher.php +++ b/src/Illuminate/Hashing/ArgonHasher.php @@ -95,6 +95,10 @@ protected function algorithm() */ public function check(#[\SensitiveParameter] $value, $hashedValue, array $options = []) { + if (is_null($hashedValue) || strlen($hashedValue) === 0) { + return false; + } + if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { throw new RuntimeException('This password does not use the Argon2i algorithm.'); } diff --git a/src/Illuminate/Hashing/BcryptHasher.php b/src/Illuminate/Hashing/BcryptHasher.php index b53eaccb3a52..2d32de10b1b7 100755 --- a/src/Illuminate/Hashing/BcryptHasher.php +++ b/src/Illuminate/Hashing/BcryptHasher.php @@ -67,6 +67,10 @@ public function make(#[\SensitiveParameter] $value, array $options = []) */ public function check(#[\SensitiveParameter] $value, $hashedValue, array $options = []) { + if (is_null($hashedValue) || strlen($hashedValue) === 0) { + return false; + } + if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { throw new RuntimeException('This password does not use the Bcrypt algorithm.'); } From 4d6ff3341df631a129d42ddad65efc6f73d2ff1a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 29 Jul 2024 07:19:04 +0000 Subject: [PATCH 085/707] Apply fixes from StyleCI --- src/Illuminate/Hashing/Argon2IdHasher.php | 4 ++-- src/Illuminate/Hashing/ArgonHasher.php | 2 +- src/Illuminate/Hashing/BcryptHasher.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Hashing/Argon2IdHasher.php b/src/Illuminate/Hashing/Argon2IdHasher.php index a9327aaee42d..65077ae342e5 100644 --- a/src/Illuminate/Hashing/Argon2IdHasher.php +++ b/src/Illuminate/Hashing/Argon2IdHasher.php @@ -21,10 +21,10 @@ public function check(#[\SensitiveParameter] $value, $hashedValue, array $option if (is_null($hashedValue) || strlen($hashedValue) === 0) { return false; } - + if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { throw new RuntimeException('This password does not use the Argon2id algorithm.'); - } + } return password_verify($value, $hashedValue); } diff --git a/src/Illuminate/Hashing/ArgonHasher.php b/src/Illuminate/Hashing/ArgonHasher.php index 29b0e91a14db..759a5e87dba5 100644 --- a/src/Illuminate/Hashing/ArgonHasher.php +++ b/src/Illuminate/Hashing/ArgonHasher.php @@ -98,7 +98,7 @@ public function check(#[\SensitiveParameter] $value, $hashedValue, array $option if (is_null($hashedValue) || strlen($hashedValue) === 0) { return false; } - + if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { throw new RuntimeException('This password does not use the Argon2i algorithm.'); } diff --git a/src/Illuminate/Hashing/BcryptHasher.php b/src/Illuminate/Hashing/BcryptHasher.php index 2d32de10b1b7..0780aee8b419 100755 --- a/src/Illuminate/Hashing/BcryptHasher.php +++ b/src/Illuminate/Hashing/BcryptHasher.php @@ -70,7 +70,7 @@ public function check(#[\SensitiveParameter] $value, $hashedValue, array $option if (is_null($hashedValue) || strlen($hashedValue) === 0) { return false; } - + if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) { throw new RuntimeException('This password does not use the Bcrypt algorithm.'); } From 97fe71821e83332488cc1e830bdbf0a01241e32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Mon, 29 Jul 2024 09:22:39 +0200 Subject: [PATCH 086/707] [11.x] Method to trim '0' digits after decimal point of a given number (#52284) * Number::json() method * Rename method * Update Number.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Support/Number.php | 11 +++++++++++ tests/Support/SupportNumberTest.php | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/Illuminate/Support/Number.php b/src/Illuminate/Support/Number.php index 0b52a7912ae9..24825cdd7308 100644 --- a/src/Illuminate/Support/Number.php +++ b/src/Illuminate/Support/Number.php @@ -257,6 +257,17 @@ public static function pairs(int|float $to, int|float $by, int|float $offset = 1 return $output; } + /** + * Remove any trailing zero digits after the decimal point of the given number. + * + * @param int|float $number + * @return int|float + */ + public static function trim(int|float $number) + { + return json_decode(json_encode($number)); + } + /** * Execute the given callback using the given locale. * diff --git a/tests/Support/SupportNumberTest.php b/tests/Support/SupportNumberTest.php index cf1796bfaa58..bc4d21b1239c 100644 --- a/tests/Support/SupportNumberTest.php +++ b/tests/Support/SupportNumberTest.php @@ -293,4 +293,15 @@ public function testPairs() $this->assertSame([[0, 10], [10, 20], [20, 25]], Number::pairs(25, 10, 0)); $this->assertSame([[0, 2.5], [2.5, 5.0], [5.0, 7.5], [7.5, 10.0]], Number::pairs(10, 2.5, 0)); } + + public function testTrim() + { + $this->assertSame(12, Number::trim(12)); + $this->assertSame(120, Number::trim(120)); + $this->assertSame(12, Number::trim(12.0)); + $this->assertSame(12.3, Number::trim(12.3)); + $this->assertSame(12.3, Number::trim(12.30)); + $this->assertSame(12.3456789, Number::trim(12.3456789)); + $this->assertSame(12.3456789, Number::trim(12.34567890000)); + } } From 85649500bbd0a63b5f3d2663f834b4cbfc329d1b Mon Sep 17 00:00:00 2001 From: Einar Hansen <49709354+einar-hansen@users.noreply.github.com> Date: Mon, 29 Jul 2024 09:24:50 +0200 Subject: [PATCH 087/707] [11.x] Add `whereNone` method to the query builder (#52260) * Fix grammar * Add whereNone method the query builder --- src/Illuminate/Database/Query/Builder.php | 29 ++++++++++++++++- tests/Database/DatabaseQueryBuilderTest.php | 36 +++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 2ea57adff6ac..c150c179839d 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -2273,7 +2273,7 @@ public function orWhereAll($columns, $operator = null, $value = null) } /** - * Add an "where" clause to the query for multiple columns with "or" conditions between them. + * Add a "where" clause to the query for multiple columns with "or" conditions between them. * * @param string[] $columns * @param string $operator @@ -2309,6 +2309,33 @@ public function orWhereAny($columns, $operator = null, $value = null) return $this->whereAny($columns, $operator, $value, 'or'); } + /** + * Add a "where not" clause to the query for multiple columns where none of the conditions should be true. + * + * @param string[] $columns + * @param string $operator + * @param mixed $value + * @param string $boolean + * @return $this + */ + public function whereNone($columns, $operator = null, $value = null, $boolean = 'and') + { + return $this->whereAny($columns, $operator, $value, $boolean.' not'); + } + + /** + * Add an "or where not" clause to the query for multiple columns where none of the conditions should be true. + * + * @param string[] $columns + * @param string $operator + * @param mixed $value + * @return $this + */ + public function orWhereNone($columns, $operator = null, $value = null) + { + return $this->whereNone($columns, $operator, $value, 'or'); + } + /** * Add a "group by" clause to the query. * diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index c345ffcfb5c8..67f605eb9e32 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -1376,6 +1376,42 @@ public function testOrWhereAny() $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); } + public function testWhereNone() + { + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->whereNone(['last_name', 'email'], 'like', '%Otwell%'); + $this->assertSame('select * from "users" where not ("last_name" like ? or "email" like ?)', $builder->toSql()); + $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->whereNone(['last_name', 'email'], '%Otwell%'); + $this->assertSame('select * from "users" where not ("last_name" = ? or "email" = ?)', $builder->toSql()); + $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->whereNone(['last_name', 'email'], 'like', '%Otwell%'); + $this->assertSame('select * from "users" where "first_name" like ? and not ("last_name" like ? or "email" like ?)', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + } + + public function testOrWhereNone() + { + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereNone(['last_name', 'email'], 'like', '%Otwell%'); + $this->assertSame('select * from "users" where "first_name" like ? or not ("last_name" like ? or "email" like ?)', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->whereNone(['last_name', 'email'], 'like', '%Otwell%', 'or'); + $this->assertSame('select * from "users" where "first_name" like ? or not ("last_name" like ? or "email" like ?)', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereNone(['last_name', 'email'], '%Otwell%'); + $this->assertSame('select * from "users" where "first_name" like ? or not ("last_name" = ? or "email" = ?)', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + } + public function testUnions() { $builder = $this->getBuilder(); From 440ccb0569e7f257ad2a15edb61dad232ad8a747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Mon, 29 Jul 2024 09:25:39 +0200 Subject: [PATCH 088/707] [11.x] Fix flat array parameter for relation upsert (#52289) * [11.x] Fix flat arrays for relation upsert * add once --- .../Database/Eloquent/Relations/HasOneOrMany.php | 4 ++++ .../Eloquent/Relations/MorphOneOrMany.php | 4 ++++ tests/Database/DatabaseEloquentHasManyTest.php | 16 +++++++++++++++- tests/Database/DatabaseEloquentMorphTest.php | 16 +++++++++++++++- 4 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index 1a1afa7aea5d..c65ab5351889 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -286,6 +286,10 @@ public function updateOrCreate(array $attributes, array $values = []) */ public function upsert(array $values, $uniqueBy, $update = null) { + if (! empty($values) && ! is_array(reset($values))) { + $values = [$values]; + } + foreach ($values as $key => $value) { $values[$key][$this->getForeignKeyName()] = $this->getParentKey(); } diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php index 260c30c264c5..248e92abde7c 100755 --- a/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php @@ -106,6 +106,10 @@ protected function setForeignAttributesForCreate(Model $model) */ public function upsert(array $values, $uniqueBy, $update = null) { + if (! empty($values) && ! is_array(reset($values))) { + $values = [$values]; + } + foreach ($values as $key => $value) { $values[$key][$this->getMorphType()] = $this->getMorphClass(); } diff --git a/tests/Database/DatabaseEloquentHasManyTest.php b/tests/Database/DatabaseEloquentHasManyTest.php index ef20c3a6031c..9de5258f10b3 100755 --- a/tests/Database/DatabaseEloquentHasManyTest.php +++ b/tests/Database/DatabaseEloquentHasManyTest.php @@ -257,7 +257,21 @@ public function testRelationUpsertFillsForeignKey() { $relation = $this->getRelation(); - $relation->getQuery()->shouldReceive('upsert')->with( + $relation->getQuery()->shouldReceive('upsert')->once()->with( + [ + ['email' => 'foo3', 'name' => 'bar', $relation->getForeignKeyName() => $relation->getParentKey()], + ], + ['email'], + ['name'] + ); + + $relation->upsert( + ['email' => 'foo3', 'name' => 'bar'], + ['email'], + ['name'] + ); + + $relation->getQuery()->shouldReceive('upsert')->once()->with( [ ['email' => 'foo3', 'name' => 'bar', $relation->getForeignKeyName() => $relation->getParentKey()], ['name' => 'bar2', 'email' => 'foo2', $relation->getForeignKeyName() => $relation->getParentKey()], diff --git a/tests/Database/DatabaseEloquentMorphTest.php b/tests/Database/DatabaseEloquentMorphTest.php index 2e7d4a192cc0..0f7b73ad83cc 100755 --- a/tests/Database/DatabaseEloquentMorphTest.php +++ b/tests/Database/DatabaseEloquentMorphTest.php @@ -71,7 +71,21 @@ public function testMorphRelationUpsertFillsForeignKey() { $relation = $this->getManyRelation(); - $relation->getQuery()->shouldReceive('upsert')->with( + $relation->getQuery()->shouldReceive('upsert')->once()->with( + [ + ['email' => 'foo3', 'name' => 'bar', $relation->getForeignKeyName() => $relation->getParentKey(), $relation->getMorphType() => $relation->getMorphClass()], + ], + ['email'], + ['name'] + ); + + $relation->upsert( + ['email' => 'foo3', 'name' => 'bar'], + ['email'], + ['name'] + ); + + $relation->getQuery()->shouldReceive('upsert')->once()->with( [ ['email' => 'foo3', 'name' => 'bar', $relation->getForeignKeyName() => $relation->getParentKey(), $relation->getMorphType() => $relation->getMorphClass()], ['name' => 'bar2', 'email' => 'foo2', $relation->getForeignKeyName() => $relation->getParentKey(), $relation->getMorphType() => $relation->getMorphClass()], From 5baa538ae7bb47e54c63556c89ff21baa626da8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Mon, 29 Jul 2024 09:26:48 +0200 Subject: [PATCH 089/707] [11.x] `assertSeeHtml`, `assertDontSeeHtml` and `assertSeeHtmlInOrder` testing methods (#52285) * assertSeeHtml and assertSeeHtmlInOrder * assertDontSeeHtml --- src/Illuminate/Testing/TestResponse.php | 33 +++++++++++ tests/Testing/TestResponseTest.php | 77 +++++++++++++++++++++++++ 2 files changed, 110 insertions(+) diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index 5272b17ccd83..316cc0f8ca44 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -571,6 +571,17 @@ public function assertSee($value, $escape = true) return $this; } + /** + * Assert that the given HTML string or array of HTML strings are contained within the response. + * + * @param string|array $value + * @return $this + */ + public function assertSeeHtml($value) + { + return $this->assertSee($value, false); + } + /** * Assert that the given strings are contained in order within the response. * @@ -587,6 +598,17 @@ public function assertSeeInOrder(array $values, $escape = true) return $this; } + /** + * Assert that the given HTML strings are contained in order within the response. + * + * @param array $values + * @return $this + */ + public function assertSeeHtmlInOrder(array $values) + { + return $this->assertSeeInOrder($values, false); + } + /** * Assert that the given string or array of strings are contained within the response text. * @@ -645,6 +667,17 @@ public function assertDontSee($value, $escape = true) return $this; } + /** + * Assert that the given HTML string or array of HTML strings are not contained within the response. + * + * @param string|array $value + * @return $this + */ + public function assertDontSeeHtml($value) + { + return $this->assertDontSee($value, false); + } + /** * Assert that the given string or array of strings are not contained within the response text. * diff --git a/tests/Testing/TestResponseTest.php b/tests/Testing/TestResponseTest.php index 9a4632954099..3bef1b9b71b4 100644 --- a/tests/Testing/TestResponseTest.php +++ b/tests/Testing/TestResponseTest.php @@ -376,6 +376,28 @@ public function testAssertSeeEscapedCanFail() $response->assertSee(['bar & baz', 'baz & qux']); } + public function testAssertSeeHtml() + { + $response = $this->makeMockResponse([ + 'render' => '
  • foo
  • bar
  • baz
  • foo
', + ]); + + $response->assertSeeHtml('
  • foo
  • '); + $response->assertSeeHtml(['
  • baz
  • ', '
  • bar
  • ']); + } + + public function testAssertSeeHtmlCanFail() + { + $this->expectException(AssertionFailedError::class); + + $response = $this->makeMockResponse([ + 'render' => '
    • foo
    • bar
    • baz
    • foo
    ', + ]); + + $response->assertSeeHtml('
  • item
  • '); + $response->assertSeeHtml(['
  • not
  • ', '
  • found
  • ']); + } + public function testAssertSeeInOrder() { $response = $this->makeMockResponse([ @@ -409,6 +431,39 @@ public function testAssertSeeInOrderCanFail2() $response->assertSeeInOrder(['foo', 'qux', 'bar', 'baz']); } + public function testAssertSeeHtmlInOrder() + { + $response = $this->makeMockResponse([ + 'render' => '
    • foo
    • bar
    • baz
    • foo
    ', + ]); + + $response->assertSeeHtmlInOrder(['
  • foo
  • ', '
  • bar
  • ', '
  • baz
  • ']); + + $response->assertSeeHtmlInOrder(['
  • foo
  • ', '
  • bar
  • ', '
  • baz
  • ', '
  • foo
  • ']); + } + + public function testAssertSeeHtmlInOrderCanFail() + { + $this->expectException(AssertionFailedError::class); + + $response = $this->makeMockResponse([ + 'render' => '
    • foo
    • bar
    • baz
    • foo
    ', + ]); + + $response->assertSeeHtmlInOrder(['
  • baz
  • ', '
  • bar
  • ', '
  • foo
  • ']); + } + + public function testAssertSeeHtmlInOrderCanFail2() + { + $this->expectException(AssertionFailedError::class); + + $response = $this->makeMockResponse([ + 'render' => '
    • foo
    • bar
    • baz
    • foo
    ', + ]); + + $response->assertSeeHtmlInOrder(['
  • foo
  • ', '
  • qux
  • ', '
  • bar
  • ', '
  • baz
  • ']); + } + public function testAssertSeeText() { $response = $this->makeMockResponse([ @@ -539,6 +594,28 @@ public function testAssertDontSeeEscapedCanFail() $response->assertDontSee(['php & friends', 'laravel & php']); } + public function testAssertDontSeeHtml() + { + $response = $this->makeMockResponse([ + 'render' => '
    • foo
    • bar
    • baz
    • foo
    ', + ]); + + $response->assertDontSeeHtml('
  • laravel
  • '); + $response->assertDontSeeHtml(['
  • php
  • ', '
  • friends
  • ']); + } + + public function testAssertDontSeeHtmlCanFail() + { + $this->expectException(AssertionFailedError::class); + + $response = $this->makeMockResponse([ + 'render' => '
    • foo
    • bar
    • baz
    • foo
    ', + ]); + + $response->assertDontSeeHtml('
  • foo
  • '); + $response->assertDontSeeHtml(['
  • baz
  • ', '
  • bar
  • ']); + } + public function testAssertDontSeeText() { $response = $this->makeMockResponse([ From d267a5335ca6a162f46356033a4ef7b8a10408bd Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 29 Jul 2024 10:27:21 +0300 Subject: [PATCH 090/707] wip --- src/Illuminate/Testing/TestResponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index 316cc0f8ca44..fc0ec71f55c6 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -574,7 +574,7 @@ public function assertSee($value, $escape = true) /** * Assert that the given HTML string or array of HTML strings are contained within the response. * - * @param string|array $value + * @param array|string $value * @return $this */ public function assertSeeHtml($value) @@ -670,7 +670,7 @@ public function assertDontSee($value, $escape = true) /** * Assert that the given HTML string or array of HTML strings are not contained within the response. * - * @param string|array $value + * @param array|string $value * @return $this */ public function assertDontSeeHtml($value) From c2eb31872aa092cdd4ae977886636b76b1064bd8 Mon Sep 17 00:00:00 2001 From: Maarten Paauw Date: Mon, 29 Jul 2024 09:28:57 +0200 Subject: [PATCH 091/707] fix(database): fully qualify morph columns when using WHERE clauses (#52227) --- .../Concerns/QueriesRelationships.php | 14 ++++++------ .../Database/DatabaseEloquentBuilderTest.php | 22 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php index eaccfe9802bd..32a007573e5d 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php @@ -466,7 +466,7 @@ public function whereMorphedTo($relation, $model, $boolean = 'and') } if (is_null($model)) { - return $this->whereNull($relation->getMorphType(), $boolean); + return $this->whereNull($relation->qualifyColumn($relation->getMorphType()), $boolean); } if (is_string($model)) { @@ -476,12 +476,12 @@ public function whereMorphedTo($relation, $model, $boolean = 'and') $model = array_search($model, $morphMap, true); } - return $this->where($relation->getMorphType(), $model, null, $boolean); + return $this->where($relation->qualifyColumn($relation->getMorphType()), $model, null, $boolean); } return $this->where(function ($query) use ($relation, $model) { - $query->where($relation->getMorphType(), $model->getMorphClass()) - ->where($relation->getForeignKeyName(), $model->getKey()); + $query->where($relation->qualifyColumn($relation->getMorphType()), $model->getMorphClass()) + ->where($relation->qualifyColumn($relation->getForeignKeyName()), $model->getKey()); }, null, null, $boolean); } @@ -505,12 +505,12 @@ public function whereNotMorphedTo($relation, $model, $boolean = 'and') $model = array_search($model, $morphMap, true); } - return $this->whereNot($relation->getMorphType(), '<=>', $model, $boolean); + return $this->whereNot($relation->qualifyColumn($relation->getMorphType()), '<=>', $model, $boolean); } return $this->whereNot(function ($query) use ($relation, $model) { - $query->where($relation->getMorphType(), '<=>', $model->getMorphClass()) - ->where($relation->getForeignKeyName(), '<=>', $model->getKey()); + $query->where($relation->qualifyColumn($relation->getMorphType()), '<=>', $model->getMorphClass()) + ->where($relation->qualifyColumn($relation->getForeignKeyName()), '<=>', $model->getKey()); }, null, null, $boolean); } diff --git a/tests/Database/DatabaseEloquentBuilderTest.php b/tests/Database/DatabaseEloquentBuilderTest.php index 21f560e39a92..0e920703e98e 100755 --- a/tests/Database/DatabaseEloquentBuilderTest.php +++ b/tests/Database/DatabaseEloquentBuilderTest.php @@ -1774,7 +1774,7 @@ public function testWhereMorphedTo() $builder = $model->whereMorphedTo('morph', $relatedModel); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where ("morph_type" = ? and "morph_id" = ?)', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where ("eloquent_builder_test_model_parent_stubs"."morph_type" = ? and "eloquent_builder_test_model_parent_stubs"."morph_id" = ?)', $builder->toSql()); $this->assertEquals([$relatedModel->getMorphClass(), $relatedModel->getKey()], $builder->getBindings()); } @@ -1784,7 +1784,7 @@ public function testWhereMorphedToNull() $this->mockConnectionForModel($model, ''); $builder = $model->whereMorphedTo('morph', null); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "morph_type" is null', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "eloquent_builder_test_model_parent_stubs"."morph_type" is null', $builder->toSql()); } public function testWhereNotMorphedTo() @@ -1797,7 +1797,7 @@ public function testWhereNotMorphedTo() $builder = $model->whereNotMorphedTo('morph', $relatedModel); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where not ("morph_type" <=> ? and "morph_id" <=> ?)', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where not ("eloquent_builder_test_model_parent_stubs"."morph_type" <=> ? and "eloquent_builder_test_model_parent_stubs"."morph_id" <=> ?)', $builder->toSql()); $this->assertEquals([$relatedModel->getMorphClass(), $relatedModel->getKey()], $builder->getBindings()); } @@ -1811,7 +1811,7 @@ public function testOrWhereMorphedTo() $builder = $model->where('bar', 'baz')->orWhereMorphedTo('morph', $relatedModel); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or ("morph_type" = ? and "morph_id" = ?)', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or ("eloquent_builder_test_model_parent_stubs"."morph_type" = ? and "eloquent_builder_test_model_parent_stubs"."morph_id" = ?)', $builder->toSql()); $this->assertEquals(['baz', $relatedModel->getMorphClass(), $relatedModel->getKey()], $builder->getBindings()); } @@ -1822,7 +1822,7 @@ public function testOrWhereMorphedToNull() $builder = $model->where('bar', 'baz')->orWhereMorphedTo('morph', null); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or "morph_type" is null', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or "eloquent_builder_test_model_parent_stubs"."morph_type" is null', $builder->toSql()); $this->assertEquals(['baz'], $builder->getBindings()); } @@ -1836,7 +1836,7 @@ public function testOrWhereNotMorphedTo() $builder = $model->where('bar', 'baz')->orWhereNotMorphedTo('morph', $relatedModel); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or not ("morph_type" <=> ? and "morph_id" <=> ?)', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or not ("eloquent_builder_test_model_parent_stubs"."morph_type" <=> ? and "eloquent_builder_test_model_parent_stubs"."morph_id" <=> ?)', $builder->toSql()); $this->assertEquals(['baz', $relatedModel->getMorphClass(), $relatedModel->getKey()], $builder->getBindings()); } @@ -1847,7 +1847,7 @@ public function testWhereMorphedToClass() $builder = $model->whereMorphedTo('morph', EloquentBuilderTestModelCloseRelatedStub::class); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "morph_type" = ?', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "eloquent_builder_test_model_parent_stubs"."morph_type" = ?', $builder->toSql()); $this->assertEquals([EloquentBuilderTestModelCloseRelatedStub::class], $builder->getBindings()); } @@ -1858,7 +1858,7 @@ public function testWhereNotMorphedToClass() $builder = $model->whereNotMorphedTo('morph', EloquentBuilderTestModelCloseRelatedStub::class); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where not "morph_type" <=> ?', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where not "eloquent_builder_test_model_parent_stubs"."morph_type" <=> ?', $builder->toSql()); $this->assertEquals([EloquentBuilderTestModelCloseRelatedStub::class], $builder->getBindings()); } @@ -1869,7 +1869,7 @@ public function testOrWhereMorphedToClass() $builder = $model->where('bar', 'baz')->orWhereMorphedTo('morph', EloquentBuilderTestModelCloseRelatedStub::class); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or "morph_type" = ?', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or "eloquent_builder_test_model_parent_stubs"."morph_type" = ?', $builder->toSql()); $this->assertEquals(['baz', EloquentBuilderTestModelCloseRelatedStub::class], $builder->getBindings()); } @@ -1880,7 +1880,7 @@ public function testOrWhereNotMorphedToClass() $builder = $model->where('bar', 'baz')->orWhereNotMorphedTo('morph', EloquentBuilderTestModelCloseRelatedStub::class); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or not "morph_type" <=> ?', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "bar" = ? or not "eloquent_builder_test_model_parent_stubs"."morph_type" <=> ?', $builder->toSql()); $this->assertEquals(['baz', EloquentBuilderTestModelCloseRelatedStub::class], $builder->getBindings()); } @@ -1895,7 +1895,7 @@ public function testWhereMorphedToAlias() $builder = $model->whereMorphedTo('morph', EloquentBuilderTestModelCloseRelatedStub::class); - $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "morph_type" = ?', $builder->toSql()); + $this->assertSame('select * from "eloquent_builder_test_model_parent_stubs" where "eloquent_builder_test_model_parent_stubs"."morph_type" = ?', $builder->toSql()); $this->assertEquals(['alias'], $builder->getBindings()); Relation::morphMap([], false); From 8937e25b0ca2bac36775432a2240e7238d746b04 Mon Sep 17 00:00:00 2001 From: Chin Leung Date: Tue, 30 Jul 2024 02:53:27 -0400 Subject: [PATCH 092/707] [10.x] Fix runPaginationCountQuery not working properly for union queries (#52314) * Fix runPaginationCountQuery not working properly for union queries * Added tests --- src/Illuminate/Database/Query/Builder.php | 4 +-- tests/Database/DatabaseQueryBuilderTest.php | 28 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index b9bacd696082..9f87562f01d6 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -3016,10 +3016,10 @@ protected function runPaginationCountQuery($columns = ['*']) ->get()->all(); } - $without = $this->unions ? ['orders', 'limit', 'offset'] : ['columns', 'orders', 'limit', 'offset']; + $without = $this->unions ? ['unionOrders', 'unionLimit', 'unionOffset'] : ['columns', 'orders', 'limit', 'offset']; return $this->cloneWithout($without) - ->cloneWithoutBindings($this->unions ? ['order'] : ['select', 'order']) + ->cloneWithoutBindings($this->unions ? ['unionOrder'] : ['select', 'order']) ->setAggregate('count', $this->withoutSelectAliases($columns)) ->get()->all(); } diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index 39f49f45d53c..abd2fcc2930c 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -2070,6 +2070,34 @@ public function testGetCountForPaginationWithUnion() $this->assertEquals(1, $count); } + public function testGetCountForPaginationWithUnionOrders() + { + $builder = $this->getBuilder(); + $builder->from('posts')->select('id')->union($this->getBuilder()->from('videos')->select('id'))->latest(); + + $builder->getConnection()->shouldReceive('select')->once()->with('select count(*) as aggregate from ((select "id" from "posts") union (select "id" from "videos")) as "temp_table"', [], true)->andReturn([['aggregate' => 1]]); + $builder->getProcessor()->shouldReceive('processSelect')->once()->andReturnUsing(function ($builder, $results) { + return $results; + }); + + $count = $builder->getCountForPagination(); + $this->assertEquals(1, $count); + } + + public function testGetCountForPaginationWithUnionLimitAndOffset() + { + $builder = $this->getBuilder(); + $builder->from('posts')->select('id')->union($this->getBuilder()->from('videos')->select('id'))->take(15)->skip(1); + + $builder->getConnection()->shouldReceive('select')->once()->with('select count(*) as aggregate from ((select "id" from "posts") union (select "id" from "videos")) as "temp_table"', [], true)->andReturn([['aggregate' => 1]]); + $builder->getProcessor()->shouldReceive('processSelect')->once()->andReturnUsing(function ($builder, $results) { + return $results; + }); + + $count = $builder->getCountForPagination(); + $this->assertEquals(1, $count); + } + public function testWhereShortcut() { $builder = $this->getBuilder(); From 394a6dbba41cd61b16450849e2e5702bda58a52b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Tue, 30 Jul 2024 08:56:26 +0200 Subject: [PATCH 093/707] Add assertExactJsonStructure method (#52311) --- .../Testing/AssertableJsonString.php | 19 ++++- src/Illuminate/Testing/TestResponse.php | 14 ++++ tests/Testing/TestResponseTest.php | 82 +++++++++++++++++++ 3 files changed, 111 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Testing/AssertableJsonString.php b/src/Illuminate/Testing/AssertableJsonString.php index 748b71ab021f..739a3dbc76ac 100644 --- a/src/Illuminate/Testing/AssertableJsonString.php +++ b/src/Illuminate/Testing/AssertableJsonString.php @@ -263,16 +263,27 @@ public function assertPathCanonicalizing($path, $expect) * * @param array|null $structure * @param array|null $responseData + * @param bool $exact * @return $this */ - public function assertStructure(?array $structure = null, $responseData = null) + public function assertStructure(?array $structure = null, $responseData = null, bool $exact = false) { if (is_null($structure)) { return $this->assertSimilar($this->decoded); } if (! is_null($responseData)) { - return (new static($responseData))->assertStructure($structure); + return (new static($responseData))->assertStructure($structure, null, $exact); + } + + if ($exact) { + PHPUnit::assertIsArray($this->decoded); + + $keys = collect($structure)->map(fn ($value, $key) => is_array($value) ? $key : $value)->values(); + + if ($keys->all() !== ['*']) { + PHPUnit::assertEquals($keys->sort()->values()->all(), collect($this->decoded)->keys()->sort()->values()->all()); + } } foreach ($structure as $key => $value) { @@ -280,12 +291,12 @@ public function assertStructure(?array $structure = null, $responseData = null) PHPUnit::assertIsArray($this->decoded); foreach ($this->decoded as $responseDataItem) { - $this->assertStructure($structure['*'], $responseDataItem); + $this->assertStructure($structure['*'], $responseDataItem, $exact); } } elseif (is_array($value)) { PHPUnit::assertArrayHasKey($key, $this->decoded); - $this->assertStructure($structure[$key], $this->decoded[$key]); + $this->assertStructure($structure[$key], $this->decoded[$key], $exact); } else { PHPUnit::assertArrayHasKey($value, $this->decoded); } diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index fc0ec71f55c6..cf345c5a3a16 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -847,6 +847,20 @@ public function assertJsonStructure(?array $structure = null, $responseData = nu return $this; } + /** + * Assert that the response has the exact JSON structure. + * + * @param array|null $structure + * @param array|null $responseData + * @return $this + */ + public function assertExactJsonStructure(?array $structure = null, $responseData = null) + { + $this->decodeResponseJson()->assertStructure($structure, $responseData, true); + + return $this; + } + /** * Assert that the response JSON has the expected count of items at the given key. * diff --git a/tests/Testing/TestResponseTest.php b/tests/Testing/TestResponseTest.php index 3bef1b9b71b4..6d665b10e5ad 100644 --- a/tests/Testing/TestResponseTest.php +++ b/tests/Testing/TestResponseTest.php @@ -1462,6 +1462,88 @@ public function testAssertJsonStructure() $response->assertJsonStructure(['*' => ['foo', 'bar', 'foobar']]); } + public function testAssertExactJsonStructure() + { + $response = TestResponse::fromBaseResponse(new Response(new JsonSerializableMixedResourcesStub)); + + // Without structure + $response->assertExactJsonStructure(); + + // At root + try { + $response->assertExactJsonStructure(['foo']); + $failed = false; + } catch (AssertionFailedError $e) { + $failed = true; + } + + $this->assertTrue($failed); + + $response->assertExactJsonStructure(['foo', 'foobar', 0, 'bars', 'baz', 'barfoo', 'numeric_keys']); + + // Nested + try { + $response->assertExactJsonStructure(['foobar' => ['foobar_foo'], 'foo', 0, 'bars', 'baz', 'barfoo', 'numeric_keys']); + $failed = false; + } catch (AssertionFailedError $e) { + $failed = true; + } + + $this->assertTrue($failed); + + $response->assertExactJsonStructure(['foobar' => ['foobar_foo', 'foobar_bar'], 'foo', 0, 'bars', 'baz', 'barfoo', 'numeric_keys']); + + // Wildcard (repeating structure) + try { + $response->assertExactJsonStructure(['bars' => ['*' => ['bar']], 'foo', 'foobar', 0, 'baz', 'barfoo', 'numeric_keys']); + $failed = false; + } catch (AssertionFailedError $e) { + $failed = true; + } + + $this->assertTrue($failed); + + $response->assertExactJsonStructure(['bars' => ['*' => ['bar', 'foo']], 'foo', 'foobar', 0, 'baz', 'barfoo', 'numeric_keys']); + + // Wildcard (numeric keys) + try { + $response->assertExactJsonStructure(['numeric_keys' => ['*' => ['bar']], 'foo', 'foobar', 0, 'bars', 'baz', 'barfoo']); + $failed = false; + } catch (AssertionFailedError $e) { + $failed = true; + } + + $this->assertTrue($failed); + + $response->assertExactJsonStructure(['numeric_keys' => ['*' => ['bar', 'foo']], 'foo', 'foobar', 0, 'bars', 'baz', 'barfoo']); + + // Nested after wildcard + try { + $response->assertExactJsonStructure(['baz' => ['*' => ['foo', 'bar' => ['foo']]], 'foo', 'foobar', 0, 'bars', 'barfoo', 'numeric_keys']); + $failed = false; + } catch (AssertionFailedError $e) { + $failed = true; + } + + $this->assertTrue($failed); + + $response->assertExactJsonStructure(['baz' => ['*' => ['foo', 'bar' => ['foo', 'bar']]], 'foo', 'foobar', 0, 'bars', 'barfoo', 'numeric_keys']); + + // Wildcard (repeating structure) at root + $response = TestResponse::fromBaseResponse(new Response(new JsonSerializableSingleResourceStub)); + + try { + $response->assertExactJsonStructure(['*' => ['foo', 'bar']]); + $failed = false; + } catch (AssertionFailedError $e) { + $failed = true; + } + + $this->assertTrue($failed); + + $response->assertExactJsonStructure(['*' => ['foo', 'bar', 'foobar']]); + } + public function testAssertJsonCount() { $response = TestResponse::fromBaseResponse(new Response(new JsonSerializableMixedResourcesStub)); From e0587dfae10c45417f32634ee5690548adb36f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Tue, 30 Jul 2024 08:57:03 +0200 Subject: [PATCH 094/707] [11.x] Add `withoutHeader()` test method (#52309) * Add withoutHeader test method * Update docblock comment --- .../Testing/Concerns/MakesHttpRequests.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php b/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php index 7834476953e5..85eabee130b6 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php +++ b/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php @@ -90,6 +90,19 @@ public function withHeader(string $name, string $value) return $this; } + /** + * Remove a header from the request. + * + * @param string $name + * @return $this + */ + public function withoutHeader(string $name) + { + unset($this->defaultHeaders[$name]); + + return $this; + } + /** * Add an authorization token for the request. * @@ -121,9 +134,7 @@ public function withBasicAuth(string $username, string $password) */ public function withoutToken() { - unset($this->defaultHeaders['Authorization']); - - return $this; + return $this->withoutHeader('Authorization'); } /** From 9763effe2fb059381c1ea976dc0ad26591dc725b Mon Sep 17 00:00:00 2001 From: Jeffrey Angenent <1571879+devfrey@users.noreply.github.com> Date: Tue, 30 Jul 2024 08:57:25 +0200 Subject: [PATCH 095/707] Widen typehints in base service provider (#52308) --- src/Illuminate/Support/ServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Support/ServiceProvider.php b/src/Illuminate/Support/ServiceProvider.php index f059a046bcf8..607431363e2a 100755 --- a/src/Illuminate/Support/ServiceProvider.php +++ b/src/Illuminate/Support/ServiceProvider.php @@ -11,8 +11,8 @@ use Illuminate\View\Compilers\BladeCompiler; /** - * @property array $bindings All of the container bindings that should be registered. - * @property array $singletons All of the singletons that should be registered. + * @property array $bindings All of the container bindings that should be registered. + * @property array $singletons All of the singletons that should be registered. */ abstract class ServiceProvider { From 9c57afc014a3518a915d75630c8883155bc44d38 Mon Sep 17 00:00:00 2001 From: Bruno <39590058+Katalam@users.noreply.github.com> Date: Tue, 30 Jul 2024 08:57:53 +0200 Subject: [PATCH 096/707] [11.X] "Model::preventAccessingMissingAttributes()" Causes Exception During Pagination with ResourceCollection (#52305) * fix: add optional item resource access to paginated resource response * test: add a paginated collection response test when model is in strict mode --- .../Json/PaginatedResourceResponse.php | 2 +- tests/Integration/Http/ResourceTest.php | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Http/Resources/Json/PaginatedResourceResponse.php b/src/Illuminate/Http/Resources/Json/PaginatedResourceResponse.php index a6190c51a9ac..d15d27396bae 100644 --- a/src/Illuminate/Http/Resources/Json/PaginatedResourceResponse.php +++ b/src/Illuminate/Http/Resources/Json/PaginatedResourceResponse.php @@ -28,7 +28,7 @@ public function toResponse($request) $this->resource->jsonOptions() ), function ($response) use ($request) { $response->original = $this->resource->resource->map(function ($item) { - return is_array($item) ? Arr::get($item, 'resource') : $item->resource; + return is_array($item) ? Arr::get($item, 'resource') : optional($item)->resource; }); $this->resource->withResponse($request, $response); diff --git a/tests/Integration/Http/ResourceTest.php b/tests/Integration/Http/ResourceTest.php index 56cee847887c..579d086f3986 100644 --- a/tests/Integration/Http/ResourceTest.php +++ b/tests/Integration/Http/ResourceTest.php @@ -1723,6 +1723,30 @@ public function testItWontKeysIfAnyOfThemAreStrings() ], ['data' => [0 => 10, 1 => 20, 'total' => 30]]); } + public function testItThrowsNoErrorInStrictModeWhenResourceIsPaginated() + { + $originalMode = Model::preventsAccessingMissingAttributes(); + Model::preventAccessingMissingAttributes(); + try { + Route::get('/', function () { + $paginator = new LengthAwarePaginator( + collect([new Post(['id' => 5, 'title' => 'Test Title', 'reading_time' => 3.0])]), + 10, 15, 1 + ); + + return PostResourceWithJsonOptions::collection($paginator); + }); + + $response = $this->withoutExceptionHandling()->get( + '/', ['Accept' => 'application/json'] + ); + + $response->assertStatus(200); + } finally { + Model::preventAccessingMissingAttributes($originalMode); + } + } + private function assertJsonResourceResponse($data, $expectedJson) { Route::get('/', function () use ($data) { From 702cb8801ffc384fda06a7839312fc07b9f6b807 Mon Sep 17 00:00:00 2001 From: leobeal Date: Tue, 30 Jul 2024 08:59:49 +0200 Subject: [PATCH 097/707] [11.x] Fixes through() relationship (#52318) * Adds a failing test * Allows MorphOneOrMany in through() method --- .../PendingHasThroughRelationship.php | 28 ++-- .../Database/EloquentThroughTest.php | 122 ++++++++++++++++++ 2 files changed, 140 insertions(+), 10 deletions(-) create mode 100644 tests/Integration/Database/EloquentThroughTest.php diff --git a/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php b/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php index 478d3d3a8de5..4b6aad6cd16e 100644 --- a/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php +++ b/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php @@ -4,6 +4,8 @@ use BadMethodCallException; use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Database\Eloquent\Relations\MorphMany; +use Illuminate\Database\Eloquent\Relations\MorphOneOrMany; use Illuminate\Support\Str; /** @@ -44,7 +46,7 @@ public function __construct($rootModel, $localRelationship) * * @template TRelatedModel of \Illuminate\Database\Eloquent\Model * - * @param string|(callable(TIntermediateModel): (\Illuminate\Database\Eloquent\Relations\HasOne|\Illuminate\Database\Eloquent\Relations\HasMany)) $callback + * @param string|(callable(TIntermediateModel): (\Illuminate\Database\Eloquent\Relations\HasOne|\Illuminate\Database\Eloquent\Relations\HasMany|\Illuminate\Database\Eloquent\Relations\MorphOneOrMany)) $callback * @return ( * $callback is string * ? \Illuminate\Database\Eloquent\Relations\HasManyThrough<\Illuminate\Database\Eloquent\Model, TIntermediateModel, TDeclaringModel>|\Illuminate\Database\Eloquent\Relations\HasOneThrough<\Illuminate\Database\Eloquent\Model, TIntermediateModel, TDeclaringModel> @@ -64,7 +66,7 @@ public function has($callback) $distantRelation = $callback($this->localRelationship->getRelated()); if ($distantRelation instanceof HasMany) { - return $this->rootModel->hasManyThrough( + $returnedRelation = $this->rootModel->hasManyThrough( $distantRelation->getRelated()::class, $this->localRelationship->getRelated()::class, $this->localRelationship->getForeignKeyName(), @@ -72,16 +74,22 @@ public function has($callback) $this->localRelationship->getLocalKeyName(), $distantRelation->getLocalKeyName(), ); + } else { + $returnedRelation = $this->rootModel->hasOneThrough( + $distantRelation->getRelated()::class, + $this->localRelationship->getRelated()::class, + $this->localRelationship->getForeignKeyName(), + $distantRelation->getForeignKeyName(), + $this->localRelationship->getLocalKeyName(), + $distantRelation->getLocalKeyName(), + ); + } + + if ($this->localRelationship instanceof MorphOneOrMany) { + $returnedRelation->where($this->localRelationship->getQualifiedMorphType(), $this->localRelationship->getMorphClass()); } - return $this->rootModel->hasOneThrough( - $distantRelation->getRelated()::class, - $this->localRelationship->getRelated()::class, - $this->localRelationship->getForeignKeyName(), - $distantRelation->getForeignKeyName(), - $this->localRelationship->getLocalKeyName(), - $distantRelation->getLocalKeyName(), - ); + return $returnedRelation; } /** diff --git a/tests/Integration/Database/EloquentThroughTest.php b/tests/Integration/Database/EloquentThroughTest.php new file mode 100644 index 000000000000..338dca202d55 --- /dev/null +++ b/tests/Integration/Database/EloquentThroughTest.php @@ -0,0 +1,122 @@ +increments('id'); + $table->boolean('public'); + }); + + Schema::create('other_commentables', function (Blueprint $table) { + $table->increments('id'); + }); + + Schema::create('comments', function (Blueprint $table) { + $table->increments('id'); + $table->string('commentable_type'); + $table->integer('commentable_id'); + }); + + Schema::create('likes', function (Blueprint $table) { + $table->increments('id'); + $table->unsignedInteger('comment_id'); + }); + + + $post = tap(new Post(['public' => true]))->save(); + $comment = tap((new Comment)->commentable()->associate($post))->save(); + (new Like())->comment()->associate($comment)->save(); + (new Like())->comment()->associate($comment)->save(); + + $otherCommentable = tap(new OtherCommentable())->save(); + $comment2 = tap((new Comment)->commentable()->associate($otherCommentable))->save(); + (new Like())->comment()->associate($comment2)->save(); + } + + public function test() + { + /** @var Post $post */ + $post = Post::first(); + $this->assertEquals(2, $post->commentLikes()->count()); + } +} + +class Comment extends Model +{ + public $timestamps = false; + + public function commentable() + { + return $this->morphTo(); + } + + public function likes() + { + return $this->hasMany(Like::class); + } +} + +class Post extends Model +{ + public $timestamps = false; + + protected $guarded = []; + + protected $withCount = ['comments']; + + public function comments() + { + return $this->morphMany(Comment::class, 'commentable'); + } + + public function commentLikes() + { + return $this->through($this->comments())->has('likes'); + } + + public function texts() + { + return $this->hasMany(Text::class); + } +} + +class OtherCommentable extends Model +{ + public $timestamps = false; + + public function comments() + { + return $this->morphMany(Comment::class, 'commentable'); + } +} + +class Text extends Model +{ + public $timestamps = false; + + protected $guarded = []; + + public function post() + { + return $this->belongsTo(Post::class); + } +} + +class Like extends Model +{ + public $timestamps = false; + + public function comment() + { + return $this->belongsTo(Comment::class); + } +} From 5a200b66200084b7e6b0287ad64c5c8be8717ad9 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 30 Jul 2024 07:00:12 +0000 Subject: [PATCH 098/707] Apply fixes from StyleCI --- .../Database/Eloquent/PendingHasThroughRelationship.php | 3 +-- tests/Integration/Database/EloquentThroughTest.php | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php b/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php index 4b6aad6cd16e..f42fdbbf2333 100644 --- a/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php +++ b/src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php @@ -4,7 +4,6 @@ use BadMethodCallException; use Illuminate\Database\Eloquent\Relations\HasMany; -use Illuminate\Database\Eloquent\Relations\MorphMany; use Illuminate\Database\Eloquent\Relations\MorphOneOrMany; use Illuminate\Support\Str; @@ -66,7 +65,7 @@ public function has($callback) $distantRelation = $callback($this->localRelationship->getRelated()); if ($distantRelation instanceof HasMany) { - $returnedRelation = $this->rootModel->hasManyThrough( + $returnedRelation = $this->rootModel->hasManyThrough( $distantRelation->getRelated()::class, $this->localRelationship->getRelated()::class, $this->localRelationship->getForeignKeyName(), diff --git a/tests/Integration/Database/EloquentThroughTest.php b/tests/Integration/Database/EloquentThroughTest.php index 338dca202d55..25f860cb71b0 100644 --- a/tests/Integration/Database/EloquentThroughTest.php +++ b/tests/Integration/Database/EloquentThroughTest.php @@ -31,7 +31,6 @@ protected function afterRefreshingDatabase() $table->unsignedInteger('comment_id'); }); - $post = tap(new Post(['public' => true]))->save(); $comment = tap((new Comment)->commentable()->associate($post))->save(); (new Like())->comment()->associate($comment)->save(); From 7348ac14308beed02abd1dc5a0fc92952cd41f10 Mon Sep 17 00:00:00 2001 From: AJ <60591772+devajmeireles@users.noreply.github.com> Date: Tue, 30 Jul 2024 04:04:41 -0300 Subject: [PATCH 099/707] [11.x] Add new `success` Method to the Docblock of `Illuminate\Console\View\Components\Factory` (#52310) * add new success method to the docblock of View/Components/Factory * Update Factory.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Console/View/Components/Factory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Console/View/Components/Factory.php b/src/Illuminate/Console/View/Components/Factory.php index 840ae95ccdb5..e226d79ae7e3 100644 --- a/src/Illuminate/Console/View/Components/Factory.php +++ b/src/Illuminate/Console/View/Components/Factory.php @@ -11,8 +11,9 @@ * @method void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method mixed choice(string $question, array $choices, $default = null, int $attempts = null, bool $multiple = false) * @method bool confirm(string $question, bool $default = false) - * @method void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void info(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) + * @method void success(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) + * @method void error(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void line(string $style, string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method void secret(string $question, bool $fallback = true) * @method void task(string $description, ?callable $task = null, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) From d4b5c642ae5cd08cd0afc969d28420fd042c7ec4 Mon Sep 17 00:00:00 2001 From: Christoph Rumpel Date: Tue, 30 Jul 2024 16:58:22 +0200 Subject: [PATCH 100/707] [11.x] Fix tests in wrong file (#52329) --- .../Generators/MailMakeCommandTest.php | 34 +++++++++++++++++++ .../Generators/ViewMakeCommandTest.php | 34 ------------------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/tests/Integration/Generators/MailMakeCommandTest.php b/tests/Integration/Generators/MailMakeCommandTest.php index 06b418fec164..609e9b96738d 100644 --- a/tests/Integration/Generators/MailMakeCommandTest.php +++ b/tests/Integration/Generators/MailMakeCommandTest.php @@ -71,4 +71,38 @@ public function testItCanGenerateMailFileWithTest() $this->assertFilenameNotExists('resources/views/foo-mail.blade.php'); $this->assertFilenameExists('tests/Feature/Mail/FooMailTest.php'); } + + public function testItCanGenerateMailWithNoInitialInput() + { + $this->artisan('make:mail') + ->expectsQuestion('What should the mailable be named?', 'FooMail') + ->expectsQuestion('Would you like to create a view?', 'none') + ->assertExitCode(0); + + $this->assertFilenameExists('app/Mail/FooMail.php'); + $this->assertFilenameDoesNotExists('resources/views/mail/foo-mail.blade.php'); + } + + public function testItCanGenerateMailWithViewWithNoInitialInput() + { + $this->artisan('make:mail') + ->expectsQuestion('What should the mailable be named?', 'MyFooMail') + ->expectsQuestion('Would you like to create a view?', 'view') + ->assertExitCode(0); + + $this->assertFilenameExists('app/Mail/MyFooMail.php'); + $this->assertFilenameExists('resources/views/mail/my-foo-mail.blade.php'); + } + + public function testItCanGenerateMailWithMarkdownViewWithNoInitialInput() + { + $this->artisan('make:mail') + + ->expectsQuestion('What should the mailable be named?', 'FooMail') + ->expectsQuestion('Would you like to create a view?', 'markdown') + ->assertExitCode(0); + + $this->assertFilenameExists('app/Mail/MyFooMail.php'); + $this->assertFilenameExists('resources/views/mail/my-foo-mail.blade.php'); + } } diff --git a/tests/Integration/Generators/ViewMakeCommandTest.php b/tests/Integration/Generators/ViewMakeCommandTest.php index d8779d735de8..202bc15656ab 100644 --- a/tests/Integration/Generators/ViewMakeCommandTest.php +++ b/tests/Integration/Generators/ViewMakeCommandTest.php @@ -26,38 +26,4 @@ public function testItCanGenerateViewFileWithTest() $this->assertFilenameExists('resources/views/foo.blade.php'); $this->assertFilenameExists('tests/Feature/View/FooTest.php'); } - - public function testItCanGenerateMailWithNoInitialInput() - { - $this->artisan('make:mail') - ->expectsQuestion('What should the mailable be named?', 'FooMail') - ->expectsQuestion('Would you like to create a view?', 'none') - ->assertExitCode(0); - - $this->assertFilenameExists('app/Mail/FooMail.php'); - $this->assertFilenameDoesNotExists('resources/views/mail/foo-mail.blade.php'); - } - - public function testItCanGenerateMailWithViewWithNoInitialInput() - { - $this->artisan('make:mail') - ->expectsQuestion('What should the mailable be named?', 'MyFooMail') - ->expectsQuestion('Would you like to create a view?', 'view') - ->assertExitCode(0); - - $this->assertFilenameExists('app/Mail/MyFooMail.php'); - $this->assertFilenameExists('resources/views/mail/my-foo-mail.blade.php'); - } - - public function testItCanGenerateMailWithMarkdownViewWithNoInitialInput() - { - $this->artisan('make:mail') - - ->expectsQuestion('What should the mailable be named?', 'FooMail') - ->expectsQuestion('Would you like to create a view?', 'markdown') - ->assertExitCode(0); - - $this->assertFilenameExists('app/Mail/MyFooMail.php'); - $this->assertFilenameExists('resources/views/mail/my-foo-mail.blade.php'); - } } From d9729d476c3efe79f950ebcb6de1ec8199a421e6 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 30 Jul 2024 15:05:11 +0000 Subject: [PATCH 101/707] Update version to v10.48.18 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index a54b497ce276..a75f1c12d4d6 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -40,7 +40,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '10.48.17'; + const VERSION = '10.48.18'; /** * The base path for the Laravel installation. From 639a2ee9ba16e5cff0a20fbe348c69487e681506 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 30 Jul 2024 15:06:56 +0000 Subject: [PATCH 102/707] Update CHANGELOG --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10e5e28da8cb..bf5f1042bd2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Release Notes for 10.x -## [Unreleased](https://github.com/laravel/framework/compare/v10.48.17...10.x) +## [Unreleased](https://github.com/laravel/framework/compare/v10.48.18...10.x) + +## [v10.48.18](https://github.com/laravel/framework/compare/v10.48.17...v10.48.18) - 2024-07-30 + +* [10.x] backport #52188 by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52293 +* [10.x] Fix runPaginationCountQuery not working properly for union queries by [@chinleung](https://github.com/chinleung) in https://github.com/laravel/framework/pull/52314 ## [v10.48.17](https://github.com/laravel/framework/compare/v10.48.16...v10.48.17) - 2024-07-23 From 5e103d499e9ee5bcfc184412d034c4e516b87085 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 30 Jul 2024 15:22:41 +0000 Subject: [PATCH 103/707] Update version to v11.19.0 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index c5b06b5c3962..dffca6a63fc2 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -45,7 +45,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '11.18.1'; + const VERSION = '11.19.0'; /** * The base path for the Laravel installation. From 516bf8d73d678eefce7a7ca3efea6904b83e0036 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 30 Jul 2024 15:24:16 +0000 Subject: [PATCH 104/707] Update CHANGELOG --- CHANGELOG.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5373868a6b6..ac261887f9e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,27 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.18.1...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.19.0...11.x) + +## [v11.19.0](https://github.com/laravel/framework/compare/v11.18.1...v11.19.0) - 2024-07-30 + +* fix [@return](https://github.com/return) typehint in Illuminate\Contracts\Process\InvokedProcess::wait method by [@mdmahbubhelal](https://github.com/mdmahbubhelal) in https://github.com/laravel/framework/pull/52304 +* [11.x] Add php doc for ServiceProvider bindings and singletons properties by [@Anton5360](https://github.com/Anton5360) in https://github.com/laravel/framework/pull/52298 +* [10.x] backport #52188 by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52293 +* Update docblock to accept an Expression for whereLike methods by [@patrickomeara](https://github.com/patrickomeara) in https://github.com/laravel/framework/pull/52299 +* [11.x] Fix Bcrypt/Argon/Argon2I Hashers not checking database field for nullish value before checking hash compatibility by [@localpath](https://github.com/localpath) in https://github.com/laravel/framework/pull/52297 +* [11.x] Method to trim '0' digits after decimal point of a given number by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52284 +* [11.x] Add `whereNone` method to the query builder by [@einar-hansen](https://github.com/einar-hansen) in https://github.com/laravel/framework/pull/52260 +* [11.x] Fix flat array parameter for relation upsert by [@iamgergo](https://github.com/iamgergo) in https://github.com/laravel/framework/pull/52289 +* [11.x] `assertSeeHtml`, `assertDontSeeHtml` and `assertSeeHtmlInOrder` testing methods by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52285 +* [11.x] Fully qualify morph columns when using WHERE clauses by [@maartenpaauw](https://github.com/maartenpaauw) in https://github.com/laravel/framework/pull/52227 +* [10.x] Fix runPaginationCountQuery not working properly for union queries by [@chinleung](https://github.com/chinleung) in https://github.com/laravel/framework/pull/52314 +* [11.x] Add `assertExactJsonStructure` method by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52311 +* [11.x] Add `withoutHeader()` test method by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52309 +* [11.x] Widen typehints in base service provider by [@devfrey](https://github.com/devfrey) in https://github.com/laravel/framework/pull/52308 +* [11.X] "Model::preventAccessingMissingAttributes()" Causes Exception During Pagination with ResourceCollection by [@Katalam](https://github.com/Katalam) in https://github.com/laravel/framework/pull/52305 +* [11.x] Fixes through() relationship by [@leobeal](https://github.com/leobeal) in https://github.com/laravel/framework/pull/52318 +* [11.x] Add new `success` Method to the Docblock of `Illuminate\Console\View\Components\Factory` by [@devajmeireles](https://github.com/devajmeireles) in https://github.com/laravel/framework/pull/52310 +* [11.x] Fix tests in wrong file by [@christophrumpel](https://github.com/christophrumpel) in https://github.com/laravel/framework/pull/52329 ## [v11.18.1](https://github.com/laravel/framework/compare/v11.18.0...v11.18.1) - 2024-07-26 From 8a188386833cce012e5a267013f3224d2b7a8a6b Mon Sep 17 00:00:00 2001 From: Einar Hansen <49709354+einar-hansen@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:38:52 +0200 Subject: [PATCH 105/707] Update testcase for whereLike method (#52351) --- tests/Database/DatabaseQueryBuilderTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index 6dd3eef4dba8..aa32a552566f 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -1384,9 +1384,9 @@ public function testWhereNone() $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); $builder = $this->getBuilder(); - $builder->select('*')->from('users')->whereNone(['last_name', 'email'], '%Otwell%'); + $builder->select('*')->from('users')->whereNone(['last_name', 'email'], 'Otwell'); $this->assertSame('select * from "users" where not ("last_name" = ? or "email" = ?)', $builder->toSql()); - $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); + $this->assertEquals(['Otwell', 'Otwell'], $builder->getBindings()); $builder = $this->getBuilder(); $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->whereNone(['last_name', 'email'], 'like', '%Otwell%'); From fd9e84efe05503bf1a21ed9c19bfe62e46713950 Mon Sep 17 00:00:00 2001 From: Redmar Bakker Date: Thu, 1 Aug 2024 14:56:46 +0200 Subject: [PATCH 106/707] Improve `Lock->block` method (#52349) * Improve lock->block method to only wait longer if timeout won't be reached shortly. * Update Lock.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Cache/Lock.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Cache/Lock.php b/src/Illuminate/Cache/Lock.php index 435df78f384a..18cd86a5690e 100644 --- a/src/Illuminate/Cache/Lock.php +++ b/src/Illuminate/Cache/Lock.php @@ -112,14 +112,18 @@ public function get($callback = null) */ public function block($seconds, $callback = null) { - $starting = $this->currentTime(); + $starting = ((int) now()->format('Uu')) / 1000; + + $milliseconds = $seconds * 1000; while (! $this->acquire()) { - Sleep::usleep($this->sleepMilliseconds * 1000); + $now = ((int) now()->format('Uu')) / 1000; - if ($this->currentTime() - $seconds >= $starting) { + if (($now + $this->sleepMilliseconds - $milliseconds) >= $starting) { throw new LockTimeoutException; } + + Sleep::usleep($this->sleepMilliseconds * 1000); } if (is_callable($callback)) { From c034a2c38a98fcb95b770f47f2d41387e4c35712 Mon Sep 17 00:00:00 2001 From: stefanvdlugt <58702014+stefanvdlugt@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:12:51 +0200 Subject: [PATCH 107/707] [11.x] Use correct pluralization rules in trans_choice for fallback strings (#52343) * localeForChoice returns fallback if key doesn't exist * Fix tests and test that choose uses correct callback * Only check hasForLocale once in localeForChoice --- src/Illuminate/Translation/Translator.php | 9 +++++--- .../Translation/TranslationTranslatorTest.php | 21 ++++++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/Illuminate/Translation/Translator.php b/src/Illuminate/Translation/Translator.php index 2a956830df98..c8ebaa4e73c0 100755 --- a/src/Illuminate/Translation/Translator.php +++ b/src/Illuminate/Translation/Translator.php @@ -191,7 +191,7 @@ public function get($key, array $replace = [], $locale = null, $fallback = true) public function choice($key, $number, array $replace = [], $locale = null) { $line = $this->get( - $key, $replace, $locale = $this->localeForChoice($locale) + $key, $replace, $locale = $this->localeForChoice($key, $locale) ); // If the given "number" is actually an array or countable we will simply count the @@ -211,12 +211,15 @@ public function choice($key, $number, array $replace = [], $locale = null) /** * Get the proper locale for a choice operation. * + * @param string $key * @param string|null $locale * @return string */ - protected function localeForChoice($locale) + protected function localeForChoice($key, $locale) { - return $locale ?: $this->locale ?: $this->fallback; + $locale = $locale ?: $this->locale; + + return $this->hasForLocale($key, $locale) ? $locale : $this->fallback; } /** diff --git a/tests/Translation/TranslationTranslatorTest.php b/tests/Translation/TranslationTranslatorTest.php index 86c8948ef94f..f160b3ae1df9 100755 --- a/tests/Translation/TranslationTranslatorTest.php +++ b/tests/Translation/TranslationTranslatorTest.php @@ -125,8 +125,9 @@ public function testGetMethodProperlyLoadsAndRetrievesItemForGlobalNamespace() public function testChoiceMethodProperlyLoadsAndRetrievesItemForAnInt() { - $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get'])->setConstructorArgs([$this->getLoader(), 'en'])->getMock(); + $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get', 'localeForChoice'])->setConstructorArgs([$this->getLoader(), 'en'])->getMock(); $t->expects($this->once())->method('get')->with($this->equalTo('foo'), $this->equalTo(['replace']), $this->equalTo('en'))->willReturn('line'); + $t->expects($this->once())->method('localeForChoice')->with($this->equalTo('foo'), $this->equalTo(null))->willReturn('en'); $t->setSelector($selector = m::mock(MessageSelector::class)); $selector->shouldReceive('choose')->once()->with('line', 10, 'en')->andReturn('choiced'); @@ -135,8 +136,9 @@ public function testChoiceMethodProperlyLoadsAndRetrievesItemForAnInt() public function testChoiceMethodProperlyLoadsAndRetrievesItemForAFloat() { - $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get'])->setConstructorArgs([$this->getLoader(), 'en'])->getMock(); + $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get', 'localeForChoice'])->setConstructorArgs([$this->getLoader(), 'en'])->getMock(); $t->expects($this->once())->method('get')->with($this->equalTo('foo'), $this->equalTo(['replace']), $this->equalTo('en'))->willReturn('line'); + $t->expects($this->once())->method('localeForChoice')->with($this->equalTo('foo'), $this->equalTo(null))->willReturn('en'); $t->setSelector($selector = m::mock(MessageSelector::class)); $selector->shouldReceive('choose')->once()->with('line', 1.2, 'en')->andReturn('choiced'); @@ -145,8 +147,9 @@ public function testChoiceMethodProperlyLoadsAndRetrievesItemForAFloat() public function testChoiceMethodProperlyCountsCollectionsAndLoadsAndRetrievesItem() { - $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get'])->setConstructorArgs([$this->getLoader(), 'en'])->getMock(); + $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get', 'localeForChoice'])->setConstructorArgs([$this->getLoader(), 'en'])->getMock(); $t->expects($this->exactly(2))->method('get')->with($this->equalTo('foo'), $this->equalTo(['replace']), $this->equalTo('en'))->willReturn('line'); + $t->expects($this->exactly(2))->method('localeForChoice')->with($this->equalTo('foo'), $this->equalTo(null))->willReturn('en'); $t->setSelector($selector = m::mock(MessageSelector::class)); $selector->shouldReceive('choose')->twice()->with('line', 3, 'en')->andReturn('choiced'); @@ -157,6 +160,18 @@ public function testChoiceMethodProperlyCountsCollectionsAndLoadsAndRetrievesIte $t->choice('foo', $values, ['replace']); } + public function testChoiceMethodProperlySelectsLocaleForChoose() + { + $t = $this->getMockBuilder(Translator::class)->onlyMethods(['get', 'hasForLocale'])->setConstructorArgs([$this->getLoader(), 'cs'])->getMock(); + $t->setFallback('en'); + $t->expects($this->once())->method('get')->with($this->equalTo('foo'), $this->equalTo(['replace']), $this->equalTo('en'))->willReturn('line'); + $t->expects($this->once())->method('hasForLocale')->with($this->equalTo('foo'), $this->equalTo('cs'))->willReturn(false); + $t->setSelector($selector = m::mock(MessageSelector::class)); + $selector->shouldReceive('choose')->once()->with('line', 10, 'en')->andReturn('choiced'); + + $t->choice('foo', 10, ['replace']); + } + public function testGetJson() { $t = new Translator($this->getLoader(), 'en'); From 8f10e792c4cc59b26eae5c2bc818e379571fdd54 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Thu, 1 Aug 2024 15:15:28 +0200 Subject: [PATCH 108/707] Remove dead like from Security Policy (#52338) --- .github/SECURITY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/SECURITY.md b/.github/SECURITY.md index b40190f6c04b..3b41df689182 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -15,7 +15,7 @@ If you discover a security vulnerability within Laravel, please send an email to ``` -----BEGIN PGP PUBLIC KEY BLOCK----- Version: OpenPGP v2.0.8 -Comment: https://sela.io/pgp/ +Comment: Report Security Vulnerabilities to taylor@laravel.com xsFNBFugFSQBEACxEKhIY9IoJzcouVTIYKJfWFGvwFgbRjQWBiH3QdHId5vCrbWo s2l+4Rv03gMG+yHLJ3rWElnNdRaNdQv59+lShrZF7Bvu7Zvc0mMNmFOM/mQ/K2Lt From 08b1b98ea649dfb4c25b95cf30893344d933165e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20JEAN?= Date: Thu, 1 Aug 2024 15:19:19 +0200 Subject: [PATCH 109/707] Add compatible query type to `Model::resolveRouteBindingQuery` (#52339) * Add compatible query type to Model::resolveRouteBindingQuery * Update Model.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Database/Eloquent/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 672939b95c4c..48618cbbd61f 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -2123,7 +2123,7 @@ protected function childRouteBindingRelationshipName($childType) /** * Retrieve the model for a bound value. * - * @param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Relations\Relation $query + * @param \Illuminate\Database\Eloquent\Model|\Illuminate\Contracts\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Relations\Relation $query * @param mixed $value * @param string|null $field * @return \Illuminate\Database\Eloquent\Relations\Relation From db768e41789bb243bdd94c433dec79f073150744 Mon Sep 17 00:00:00 2001 From: Fabien Villepinte Date: Thu, 1 Aug 2024 15:19:52 +0200 Subject: [PATCH 110/707] [10.x] Fix callable argument type (#52335) --- src/Illuminate/Database/Eloquent/Factories/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Factories/Factory.php b/src/Illuminate/Database/Eloquent/Factories/Factory.php index d9a453359d23..63df5b8363ec 100644 --- a/src/Illuminate/Database/Eloquent/Factories/Factory.php +++ b/src/Illuminate/Database/Eloquent/Factories/Factory.php @@ -676,7 +676,7 @@ public function afterMaking(Closure $callback) /** * Add a new "after creating" callback to the model definition. * - * @param \Closure(\Illuminate\Database\Eloquent\Model|TModel): mixed $callback + * @param \Closure(\Illuminate\Database\Eloquent\Model|TModel, \Illuminate\Database\Eloquent\Model|null): mixed $callback * @return static */ public function afterCreating(Closure $callback) From f496ac7050e31e740cbbb99c4a634b9e2448d98a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=B3nh=20Nguy=E1=BB=85n?= Date: Thu, 1 Aug 2024 21:11:02 +0700 Subject: [PATCH 111/707] Remove undefined class PreventRequestsDuringMaintenance (#52322) --- tests/Integration/Foundation/MaintenanceModeTest.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/Integration/Foundation/MaintenanceModeTest.php b/tests/Integration/Foundation/MaintenanceModeTest.php index 377bff02858f..1b09c6f14990 100644 --- a/tests/Integration/Foundation/MaintenanceModeTest.php +++ b/tests/Integration/Foundation/MaintenanceModeTest.php @@ -11,7 +11,6 @@ use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Route; -use Orchestra\Testbench\Http\Middleware\PreventRequestsDuringMaintenance as TestbenchPreventRequestsDuringMaintenance; use Orchestra\Testbench\TestCase; use Symfony\Component\HttpFoundation\Cookie; @@ -24,8 +23,6 @@ protected function setUp(): void }); parent::setUp(); - - $this->withoutMiddleware(TestbenchPreventRequestsDuringMaintenance::class); } public function testBasicMaintenanceModeResponse() From eb842a9d5890d25d3169ff054c12b15ac7a7066d Mon Sep 17 00:00:00 2001 From: Brandon Eichhorn <101891339+eduance@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:40:11 +0200 Subject: [PATCH 112/707] [11.x] Add middleware before sending request and dispatching events (#52323) * bugfix: add middleware to stack before building handler * improv: add test --- src/Illuminate/Http/Client/PendingRequest.php | 3 +-- tests/Integration/Http/HttpClientTest.php | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Http/Client/PendingRequest.php b/src/Illuminate/Http/Client/PendingRequest.php index 2824e0656dac..44aa02e0feec 100644 --- a/src/Illuminate/Http/Client/PendingRequest.php +++ b/src/Illuminate/Http/Client/PendingRequest.php @@ -1265,12 +1265,11 @@ public function buildHandlerStack() public function pushHandlers($handlerStack) { return tap($handlerStack, function ($stack) { - $stack->push($this->buildBeforeSendingHandler()); - $this->middleware->each(function ($middleware) use ($stack) { $stack->push($middleware); }); + $stack->push($this->buildBeforeSendingHandler()); $stack->push($this->buildRecorderHandler()); $stack->push($this->buildStubHandler()); }); diff --git a/tests/Integration/Http/HttpClientTest.php b/tests/Integration/Http/HttpClientTest.php index e0d3c75e1967..b66c4c18f5cb 100644 --- a/tests/Integration/Http/HttpClientTest.php +++ b/tests/Integration/Http/HttpClientTest.php @@ -2,12 +2,29 @@ namespace Illuminate\Tests\Integration\Http; +use Illuminate\Http\Client\Events\RequestSending; +use Illuminate\Support\Collection; +use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Facade; use Illuminate\Support\Facades\Http; use Orchestra\Testbench\TestCase; class HttpClientTest extends TestCase { + public function testGlobalMiddlewarePersistsBeforeWeDispatchEvent(): void + { + Event::fake(); + Http::fake(); + + Http::globalRequestMiddleware(fn ($request) => $request->withHeader('User-Agent', 'Facade/1.0')); + + Http::get('laravel.com'); + + Event::assertDispatched(RequestSending::class, function (RequestSending $event) { + return Collection::make($event->request->header('User-Agent'))->contains('Facade/1.0'); + }); + } + public function testGlobalMiddlewarePersistsAfterFacadeFlush(): void { Http::macro('getGlobalMiddleware', fn () => $this->globalMiddleware); From c917b0e9e6deee12ed9eee3ffe44d34f552854e9 Mon Sep 17 00:00:00 2001 From: Jason McCreary Date: Thu, 1 Aug 2024 10:47:34 -0400 Subject: [PATCH 113/707] Add `collapseWithKey` to `Collection` (#52347) --- src/Illuminate/Collections/Collection.php | 22 +++++++++++++++++++ src/Illuminate/Collections/LazyCollection.php | 18 +++++++++++++++ tests/Support/SupportCollectionTest.php | 14 ++++++++++++ 3 files changed, 54 insertions(+) diff --git a/src/Illuminate/Collections/Collection.php b/src/Illuminate/Collections/Collection.php index 8dbef5ea7fe1..4c0c3e4acf79 100644 --- a/src/Illuminate/Collections/Collection.php +++ b/src/Illuminate/Collections/Collection.php @@ -141,6 +141,28 @@ public function collapse() return new static(Arr::collapse($this->items)); } + /** + * Collapse the collection of items into a single array while preserving its keys. + * + * @return static + */ + public function collapseWithKeys() + { + $results = []; + + foreach ($this->items as $key => $values) { + if ($values instanceof Collection) { + $values = $values->all(); + } elseif (! is_array($values)) { + continue; + } + + $results[$key] = $values; + } + + return new static(array_replace(...$results)); + } + /** * Determine if an item exists in the collection. * diff --git a/src/Illuminate/Collections/LazyCollection.php b/src/Illuminate/Collections/LazyCollection.php index eaf03ff3b57a..ab0534685fa7 100644 --- a/src/Illuminate/Collections/LazyCollection.php +++ b/src/Illuminate/Collections/LazyCollection.php @@ -194,6 +194,24 @@ public function collapse() }); } + /** + * Collapse the collection of items into a single array while preserving its keys. + * + * @return static + */ + public function collapseWithKeys() + { + return new static(function () { + foreach ($this as $values) { + if (is_array($values) || $values instanceof Enumerable) { + foreach ($values as $key => $value) { + yield $key => $value; + } + } + } + }); + } + /** * Determine if an item exists in the enumerable. * diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php index 3b2b0c344dbc..f4acf2c24a13 100755 --- a/tests/Support/SupportCollectionTest.php +++ b/tests/Support/SupportCollectionTest.php @@ -1722,6 +1722,20 @@ public function testCollapseWithNestedCollections($collection) $this->assertEquals([1, 2, 3, 4, 5, 6], $data->collapse()->all()); } + #[DataProvider('collectionClassProvider')] + public function testCollapseWithKeys($collection) + { + $data = new $collection([[1 => 'a'], [3 => 'c'], [2 => 'b'], 'drop']); + $this->assertEquals([1 => 'a', 3 => 'c', 2 => 'b'], $data->collapseWithKeys()->all()); + } + + #[DataProvider('collectionClassProvider')] + public function testCollapseWithKeysOnNestedCollections($collection) + { + $data = new $collection([new $collection(['a' => '1a', 'b' => '1b']), new $collection(['b' => '2b', 'c' => '2c']), 'drop']); + $this->assertEquals(['a' => '1a', 'b' => '2b', 'c' => '2c'], $data->collapseWithKeys()->all()); + } + #[DataProvider('collectionClassProvider')] public function testJoin($collection) { From 0ca8ad0a47d876865ddc7a716db53bc4dd2395e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Debrauwer?= Date: Thu, 1 Aug 2024 16:51:25 +0200 Subject: [PATCH 114/707] [11.x] Inverse Fake Queue Interactions: `assertNotDeleted`, `assertNotFailed`, and `assertNotReleased` (#52320) * assertNotDeleted, assertNotFailed, and assertNotReleased * Update InteractsWithQueue.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Queue/InteractsWithQueue.php | 51 +++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/src/Illuminate/Queue/InteractsWithQueue.php b/src/Illuminate/Queue/InteractsWithQueue.php index 790a2bf659d3..a539f70c3967 100644 --- a/src/Illuminate/Queue/InteractsWithQueue.php +++ b/src/Illuminate/Queue/InteractsWithQueue.php @@ -111,6 +111,23 @@ public function assertDeleted() return $this; } + /** + * Assert that the job was not deleted from the queue. + * + * @return $this + */ + public function assertNotDeleted() + { + $this->ensureQueueInteractionsHaveBeenFaked(); + + PHPUnit::assertTrue( + ! $this->job->isDeleted(), + 'Job was unexpectedly deleted.' + ); + + return $this; + } + /** * Assert that the job was manually failed. * @@ -128,6 +145,23 @@ public function assertFailed() return $this; } + /** + * Assert that the job was not manually failed. + * + * @return $this + */ + public function assertNotFailed() + { + $this->ensureQueueInteractionsHaveBeenFaked(); + + PHPUnit::assertTrue( + ! $this->job->hasFailed(), + 'Job was unexpectedly failed manually.' + ); + + return $this; + } + /** * Assert that the job was released back onto the queue. * @@ -158,6 +192,23 @@ public function assertReleased($delay = null) return $this; } + /** + * Assert that the job was not released back onto the queue. + * + * @return $this + */ + public function assertNotReleased() + { + $this->ensureQueueInteractionsHaveBeenFaked(); + + PHPUnit::assertTrue( + ! $this->job->isReleased(), + 'Job was unexpectedly released.' + ); + + return $this; + } + /** * Ensure that queue interactions have been faked. * From 4672516314723023f61aa165acfc3b59c5cb9269 Mon Sep 17 00:00:00 2001 From: Jason McCreary Date: Thu, 1 Aug 2024 10:58:43 -0400 Subject: [PATCH 115/707] Add `dedup` to strings (#52350) * Add `dedup` to strings * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Support/Str.php | 12 ++++++++++++ src/Illuminate/Support/Stringable.php | 11 +++++++++++ tests/Support/SupportStrTest.php | 8 ++++++++ tests/Support/SupportStringableTest.php | 8 ++++++++ 4 files changed, 39 insertions(+) diff --git a/src/Illuminate/Support/Str.php b/src/Illuminate/Support/Str.php index 44bbf7918ead..52867d89e473 100644 --- a/src/Illuminate/Support/Str.php +++ b/src/Illuminate/Support/Str.php @@ -341,6 +341,18 @@ public static function convertCase(string $string, int $mode = MB_CASE_FOLD, ?st return mb_convert_case($string, $mode, $encoding); } + /** + * Replace consecutive instances of a given character with a single character in the given string. + * + * @param string $string + * @param string $character + * @return string + */ + public static function deduplicate(string $string, string $character = ' ') + { + return preg_replace('/'.preg_quote($character, '/').'+/u', $character, $string); + } + /** * Determine if a given string ends with a given substring. * diff --git a/src/Illuminate/Support/Stringable.php b/src/Illuminate/Support/Stringable.php index be4389d523eb..6ae57e032066 100644 --- a/src/Illuminate/Support/Stringable.php +++ b/src/Illuminate/Support/Stringable.php @@ -235,6 +235,17 @@ public function convertCase(int $mode = MB_CASE_FOLD, ?string $encoding = 'UTF-8 return new static(Str::convertCase($this->value, $mode, $encoding)); } + /** + * Replace consecutive instances of a given character with a single character. + * + * @param string $character + * @return static + */ + public function deduplicate(string $character = ' ') + { + return new static(Str::deduplicate($this->value, $character)); + } + /** * Get the parent directory's path. * diff --git a/tests/Support/SupportStrTest.php b/tests/Support/SupportStrTest.php index 813dccdbd94b..0901ce0b3f8e 100755 --- a/tests/Support/SupportStrTest.php +++ b/tests/Support/SupportStrTest.php @@ -400,6 +400,14 @@ public function testConvertCase() Str::convertCase('Hello', -1); } + public function testDedup() + { + $this->assertSame(' laravel php framework ', Str::deduplicate(' laravel php framework ')); + $this->assertSame('what', Str::deduplicate('whaaat', 'a')); + $this->assertSame('/some/odd/path/', Str::deduplicate('/some//odd//path/', '/')); + $this->assertSame('ムだム', Str::deduplicate('ムだだム', 'だ')); + } + public function testParseCallback() { $this->assertEquals(['Class', 'method'], Str::parseCallback('Class@method')); diff --git a/tests/Support/SupportStringableTest.php b/tests/Support/SupportStringableTest.php index e7978bd2c4fc..e28dbddc536d 100644 --- a/tests/Support/SupportStringableTest.php +++ b/tests/Support/SupportStringableTest.php @@ -212,6 +212,14 @@ public function testWhenContainsAll() })); } + public function testDedup() + { + $this->assertSame(' laravel php framework ', (string) $this->stringable(' laravel php framework ')->deduplicate()); + $this->assertSame('what', (string) $this->stringable('whaaat')->deduplicate('a')); + $this->assertSame('/some/odd/path/', (string) $this->stringable('/some//odd//path/')->deduplicate('/')); + $this->assertSame('ムだム', (string) $this->stringable('ムだだム')->deduplicate('だ')); + } + public function testDirname() { $this->assertSame('/framework/tests', (string) $this->stringable('/framework/tests/Support')->dirname()); From a85851273c8b2f20b3d1e410942fa97b6374ffae Mon Sep 17 00:00:00 2001 From: Caleb White Date: Thu, 1 Aug 2024 13:29:52 -0500 Subject: [PATCH 116/707] feat: make Facade::isFake() public (#52357) --- src/Illuminate/Support/Facades/Facade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/Facades/Facade.php b/src/Illuminate/Support/Facades/Facade.php index f5642850e75d..85487716f9f7 100755 --- a/src/Illuminate/Support/Facades/Facade.php +++ b/src/Illuminate/Support/Facades/Facade.php @@ -190,7 +190,7 @@ public static function swap($instance) * * @return bool */ - protected static function isFake() + public static function isFake() { $name = static::getFacadeAccessor(); From 04dd192174bef31bed6b196078355be07e946664 Mon Sep 17 00:00:00 2001 From: Christoph Rumpel Date: Thu, 1 Aug 2024 20:32:05 +0200 Subject: [PATCH 117/707] [11.x] Ask about markdown template for notification command with no initial input (#52355) * [11.x] Ask about markdown template for notification command * Use the given file names that will be cleaned up automatically. * Style fixes * formatting --------- Co-authored-by: Taylor Otwell --- .../Console/NotificationMakeCommand.php | 25 +++++++++++++++++++ .../NotificationMakeCommandTest.php | 23 +++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/src/Illuminate/Foundation/Console/NotificationMakeCommand.php b/src/Illuminate/Foundation/Console/NotificationMakeCommand.php index d9352655f973..8d4b51de82a5 100644 --- a/src/Illuminate/Foundation/Console/NotificationMakeCommand.php +++ b/src/Illuminate/Foundation/Console/NotificationMakeCommand.php @@ -5,7 +5,11 @@ use Illuminate\Console\Concerns\CreatesMatchingTest; use Illuminate\Console\GeneratorCommand; use Symfony\Component\Console\Attribute\AsCommand; +use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; +use Symfony\Component\Console\Output\OutputInterface; +use function Laravel\Prompts\confirm; +use function Laravel\Prompts\text; #[AsCommand(name: 'make:notification')] class NotificationMakeCommand extends GeneratorCommand @@ -122,6 +126,27 @@ protected function getDefaultNamespace($rootNamespace) return $rootNamespace.'\Notifications'; } + /** + * Perform actions after the user was prompted for missing arguments. + * + * @param \Symfony\Component\Console\Input\InputInterface $input + * @param \Symfony\Component\Console\Output\OutputInterface $output + * @return void + */ + protected function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output) + { + if ($this->didReceiveOptions($input)) { + return; + } + + $wantsMarkdownView = confirm('Would you like to create a markdown view?'); + + if ($wantsMarkdownView) { + $markdownView = text('What should the markdown view be named?', 'E.g. invoice-paid'); + $input->setOption('markdown', $markdownView); + } + } + /** * Get the console command options. * diff --git a/tests/Integration/Generators/NotificationMakeCommandTest.php b/tests/Integration/Generators/NotificationMakeCommandTest.php index b2381c6811ba..c499ecab323c 100644 --- a/tests/Integration/Generators/NotificationMakeCommandTest.php +++ b/tests/Integration/Generators/NotificationMakeCommandTest.php @@ -51,4 +51,27 @@ public function testItCanGenerateNotificationFileWithTest() $this->assertFilenameNotExists('resources/views/foo-notification.blade.php'); $this->assertFilenameExists('tests/Feature/Notifications/FooNotificationTest.php'); } + + public function testItCanGenerateNotificationFileWithNotInitialInput() + { + $this->artisan('make:notification') + ->expectsQuestion('What should the notification be named?', 'FooNotification') + ->expectsQuestion('Would you like to create a markdown view?', false) + ->assertExitCode(0); + + $this->assertFilenameExists('app/Notifications/FooNotification.php'); + $this->assertFileDoesNotExist('resources/views/foo-notification.blade.php'); + } + + public function testItCanGenerateNotificationFileWithMarkdownTemplateWithNotInitialInput() + { + $this->artisan('make:notification') + ->expectsQuestion('What should the notification be named?', 'FooNotification') + ->expectsQuestion('Would you like to create a markdown view?', true) + ->expectsQuestion('What should the markdown view be named?', 'foo-notification') + ->assertExitCode(0); + + $this->assertFilenameExists('app/Notifications/FooNotification.php'); + $this->assertFilenameExists('resources/views/foo-notification.blade.php'); + } } From ea3c9edd6bf8cbda4f14ce83f1bb77b3dc6c7a8c Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 18:32:27 +0000 Subject: [PATCH 118/707] Apply fixes from StyleCI --- src/Illuminate/Foundation/Console/NotificationMakeCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Foundation/Console/NotificationMakeCommand.php b/src/Illuminate/Foundation/Console/NotificationMakeCommand.php index 8d4b51de82a5..2cc6a4d96e18 100644 --- a/src/Illuminate/Foundation/Console/NotificationMakeCommand.php +++ b/src/Illuminate/Foundation/Console/NotificationMakeCommand.php @@ -8,6 +8,7 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; + use function Laravel\Prompts\confirm; use function Laravel\Prompts\text; From cac7d243123a01e6e4abd2807e999acafdf067df Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 1 Aug 2024 13:53:54 -0500 Subject: [PATCH 119/707] [11.x] allow custom view path when making components (#52219) * allow custom view path when making components currently the `component/` view path is hardcoded into the generator command. while definitely a good default, there can be a need for more custom view paths, depending on each application's specific organization. this change makes it possible to pass a `--path` option to the command, which will override the location of the view file. * formatting --------- Co-authored-by: Taylor Otwell --- .../Console/ComponentMakeCommand.php | 28 ++++++---- .../Generators/ComponentMakeCommandTest.php | 52 +++++++++++++++++++ 2 files changed, 71 insertions(+), 9 deletions(-) diff --git a/src/Illuminate/Foundation/Console/ComponentMakeCommand.php b/src/Illuminate/Foundation/Console/ComponentMakeCommand.php index 709c53609175..faf863285c72 100644 --- a/src/Illuminate/Foundation/Console/ComponentMakeCommand.php +++ b/src/Illuminate/Foundation/Console/ComponentMakeCommand.php @@ -63,7 +63,7 @@ public function handle() protected function writeView() { $path = $this->viewPath( - str_replace('.', '/', 'components.'.$this->getView()).'.blade.php' + str_replace('.', '/', $this->getView()).'.blade.php' ); if (! $this->files->isDirectory(dirname($path))) { @@ -104,24 +104,33 @@ protected function buildClass($name) return str_replace( ['DummyView', '{{ view }}'], - 'view(\'components.'.$this->getView().'\')', + 'view(\''.$this->getView().'\')', parent::buildClass($name) ); } /** - * Get the view name relative to the components directory. + * Get the view name relative to the view path. * * @return string view */ protected function getView() { - $name = str_replace('\\', '/', $this->argument('name')); + $segments = explode('/', str_replace('\\', '/', $this->argument('name'))); - return collect(explode('/', $name)) - ->map(function ($part) { - return Str::kebab($part); - }) + $name = array_pop($segments); + + $path = is_string($this->option('path')) + ? explode('/', trim($this->option('path'), '/')) + : [ + 'components', + ...$segments, + ]; + + $path[] = $name; + + return collect($path) + ->map(fn ($segment) => Str::kebab($segment)) ->implode('.'); } @@ -167,9 +176,10 @@ protected function getDefaultNamespace($rootNamespace) protected function getOptions() { return [ - ['force', 'f', InputOption::VALUE_NONE, 'Create the class even if the component already exists'], ['inline', null, InputOption::VALUE_NONE, 'Create a component that renders an inline view'], ['view', null, InputOption::VALUE_NONE, 'Create an anonymous component with only a view'], + ['path', null, InputOption::VALUE_REQUIRED, 'The location where the component view should be created'], + ['force', 'f', InputOption::VALUE_NONE, 'Create the class even if the component already exists'], ]; } } diff --git a/tests/Integration/Generators/ComponentMakeCommandTest.php b/tests/Integration/Generators/ComponentMakeCommandTest.php index fc1651ec7d95..d7a1cb433be4 100644 --- a/tests/Integration/Generators/ComponentMakeCommandTest.php +++ b/tests/Integration/Generators/ComponentMakeCommandTest.php @@ -8,6 +8,10 @@ class ComponentMakeCommandTest extends TestCase 'app/View/Components/Foo.php', 'resources/views/components/foo.blade.php', 'tests/Feature/View/Components/FooTest.php', + 'resources/views/custom/path/foo.blade.php', + 'app/View/Components/Nested/Foo.php', + 'resources/views/components/nested/foo.blade.php', + 'tests/Feature/View/Components/Nested/FooTest.php', ]; public function testItCanGenerateComponentFile() @@ -50,4 +54,52 @@ public function testItCanGenerateComponentFileWithTest() $this->assertFilenameExists('resources/views/components/foo.blade.php'); $this->assertFilenameExists('tests/Feature/View/Components/FooTest.php'); } + + public function testItCanGenerateComponentFileWithCustomPath() + { + $this->artisan('make:component', ['name' => 'Foo', '--path' => 'custom/path']) + ->assertExitCode(0); + + $this->assertFileContains([ + 'namespace App\View\Components;', + 'use Illuminate\View\Component;', + 'class Foo extends Component', + "return view('custom.path.foo');", + ], 'app/View/Components/Foo.php'); + + $this->assertFilenameExists('resources/views/custom/path/foo.blade.php'); + $this->assertFilenameNotExists('tests/Feature/View/Components/FooTest.php'); + } + + public function testItCanGenerateNestedComponentFile() + { + $this->artisan('make:component', ['name' => 'Nested/Foo']) + ->assertExitCode(0); + + $this->assertFileContains([ + 'namespace App\View\Components\Nested;', + 'use Illuminate\View\Component;', + 'class Foo extends Component', + "return view('components.nested.foo');", + ], 'app/View/Components/Nested/Foo.php'); + + $this->assertFilenameExists('resources/views/components/nested/foo.blade.php'); + $this->assertFilenameNotExists('tests/Feature/View/Components/Nested/FooTest.php'); + } + + public function testItCanGenerateNestedComponentFileWithCustomPath() + { + $this->artisan('make:component', ['name' => 'Nested/Foo', '--path' => 'custom/path']) + ->assertExitCode(0); + + $this->assertFileContains([ + 'namespace App\View\Components\Nested;', + 'use Illuminate\View\Component;', + 'class Foo extends Component', + "return view('custom.path.foo');", + ], 'app/View/Components/Nested/Foo.php'); + + $this->assertFilenameExists('resources/views/custom/path/foo.blade.php'); + $this->assertFilenameNotExists('tests/Feature/View/Components/Nested/FooTest.php'); + } } From 582955cb6b12ce1fbabf94cd5cdb8f6155fdb76f Mon Sep 17 00:00:00 2001 From: Caleb White Date: Thu, 1 Aug 2024 13:54:27 -0500 Subject: [PATCH 120/707] [11.x] chore: update to PHPStan Level 1 (#51956) * chore: update to phpstan level 1 * chore: update facades to use @mixin * fix: HasAttributes::relationsToArray isset logic --- phpstan.src.neon.dist | 3 ++- src/Illuminate/Auth/Access/Gate.php | 2 +- src/Illuminate/Bus/PendingBatch.php | 4 +--- .../Cache/RetrievesMultipleKeys.php | 1 + src/Illuminate/Collections/Collection.php | 2 +- .../Database/Connectors/ConnectionFactory.php | 4 +++- .../Database/Connectors/MySqlConnector.php | 8 +++----- .../Database/Connectors/PostgresConnector.php | 2 +- .../Console/DatabaseInspectionCommand.php | 2 +- .../Eloquent/Attributes/ObservedBy.php | 2 +- .../Database/Eloquent/Attributes/ScopedBy.php | 2 +- .../Eloquent/Concerns/HasAttributes.php | 8 ++++---- .../Eloquent/Concerns/HasRelationships.php | 2 +- .../Relations/Concerns/CanBeOneOfMany.php | 4 ++-- src/Illuminate/Database/Query/Builder.php | 2 +- src/Illuminate/Database/Schema/Builder.php | 1 + .../Database/Schema/Grammars/Grammar.php | 5 ++--- .../Foundation/Console/DownCommand.php | 2 +- src/Illuminate/Foundation/stubs/facade.stub | 2 +- src/Illuminate/Hashing/HashManager.php | 10 ++++++++++ src/Illuminate/Http/UploadedFile.php | 2 +- src/Illuminate/Mail/Mailer.php | 6 +++--- .../Notifications/Messages/SimpleMessage.php | 2 +- .../Routing/Middleware/SubstituteBindings.php | 5 +++-- src/Illuminate/Routing/Route.php | 2 +- src/Illuminate/Routing/RouteCollection.php | 5 +++-- src/Illuminate/Support/Facades/App.php | 2 +- src/Illuminate/Support/Facades/Artisan.php | 2 +- src/Illuminate/Support/Facades/Auth.php | 4 ++-- src/Illuminate/Support/Facades/Blade.php | 2 +- src/Illuminate/Support/Facades/Broadcast.php | 4 ++-- src/Illuminate/Support/Facades/Bus.php | 4 ++-- src/Illuminate/Support/Facades/Cache.php | 3 +-- src/Illuminate/Support/Facades/Config.php | 2 +- src/Illuminate/Support/Facades/Context.php | 2 +- src/Illuminate/Support/Facades/Cookie.php | 2 +- src/Illuminate/Support/Facades/Crypt.php | 2 +- src/Illuminate/Support/Facades/DB.php | 2 +- src/Illuminate/Support/Facades/Date.php | 2 +- src/Illuminate/Support/Facades/Event.php | 4 ++-- src/Illuminate/Support/Facades/Exceptions.php | 6 +++--- src/Illuminate/Support/Facades/File.php | 2 +- src/Illuminate/Support/Facades/Gate.php | 2 +- src/Illuminate/Support/Facades/Hash.php | 4 ++-- src/Illuminate/Support/Facades/Http.php | 2 +- src/Illuminate/Support/Facades/Lang.php | 2 +- src/Illuminate/Support/Facades/Log.php | 2 +- src/Illuminate/Support/Facades/Mail.php | 4 ++-- .../Support/Facades/Notification.php | 4 ++-- .../Support/Facades/ParallelTesting.php | 2 +- src/Illuminate/Support/Facades/Password.php | 4 ++-- src/Illuminate/Support/Facades/Pipeline.php | 2 +- src/Illuminate/Support/Facades/Process.php | 4 ++-- src/Illuminate/Support/Facades/Queue.php | 6 +++--- .../Support/Facades/RateLimiter.php | 2 +- src/Illuminate/Support/Facades/Redirect.php | 2 +- src/Illuminate/Support/Facades/Redis.php | 2 +- src/Illuminate/Support/Facades/Request.php | 2 +- src/Illuminate/Support/Facades/Response.php | 2 +- src/Illuminate/Support/Facades/Route.php | 2 +- src/Illuminate/Support/Facades/Schedule.php | 2 +- src/Illuminate/Support/Facades/Schema.php | 2 +- src/Illuminate/Support/Facades/Session.php | 2 +- src/Illuminate/Support/Facades/Storage.php | 2 +- src/Illuminate/Support/Facades/URL.php | 2 +- src/Illuminate/Support/Facades/Validator.php | 2 +- src/Illuminate/Support/Facades/View.php | 2 +- src/Illuminate/Support/Facades/Vite.php | 2 +- src/Illuminate/Testing/TestResponse.php | 10 +++++----- src/Illuminate/Translation/Translator.php | 4 ++-- .../View/Compilers/Concerns/CompilesLoops.php | 4 ++-- .../DatabaseConcernsHasAttributesTest.php | 20 +++++++++++++++++++ 72 files changed, 135 insertions(+), 104 deletions(-) diff --git a/phpstan.src.neon.dist b/phpstan.src.neon.dist index 55c542d91e46..59996713063e 100644 --- a/phpstan.src.neon.dist +++ b/phpstan.src.neon.dist @@ -1,9 +1,10 @@ parameters: - level: 0 + level: 1 paths: - src excludePaths: - src/Illuminate/Testing/ParallelRunner.php + - src/*/views/* ignoreErrors: - "#\\(void\\) is used#" - "#Access to an undefined property#" diff --git a/src/Illuminate/Auth/Access/Gate.php b/src/Illuminate/Auth/Access/Gate.php index 2f0c6c6c1151..e9a574237385 100644 --- a/src/Illuminate/Auth/Access/Gate.php +++ b/src/Illuminate/Auth/Access/Gate.php @@ -575,7 +575,7 @@ protected function callBeforeCallbacks($user, $ability, array $arguments) * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param string $ability * @param array $arguments - * @param bool $result + * @param bool|null $result * @return bool|null */ protected function callAfterCallbacks($user, $ability, array $arguments, $result) diff --git a/src/Illuminate/Bus/PendingBatch.php b/src/Illuminate/Bus/PendingBatch.php index 1b3b01bd061f..ad39b41923eb 100644 --- a/src/Illuminate/Bus/PendingBatch.php +++ b/src/Illuminate/Bus/PendingBatch.php @@ -358,9 +358,7 @@ protected function dispatchExistingBatch($batch) try { $batch = $batch->add($this->jobs); } catch (Throwable $e) { - if (isset($batch)) { - $batch->delete(); - } + $batch->delete(); throw $e; } diff --git a/src/Illuminate/Cache/RetrievesMultipleKeys.php b/src/Illuminate/Cache/RetrievesMultipleKeys.php index 7db7a0aa50af..23574dc9a797 100644 --- a/src/Illuminate/Cache/RetrievesMultipleKeys.php +++ b/src/Illuminate/Cache/RetrievesMultipleKeys.php @@ -21,6 +21,7 @@ public function many(array $keys) })->all(); foreach ($keys as $key => $default) { + /** @phpstan-ignore arguments.count (some clients don't accept a default) */ $return[$key] = $this->get($key, $default); } diff --git a/src/Illuminate/Collections/Collection.php b/src/Illuminate/Collections/Collection.php index 4c0c3e4acf79..f041f1f20849 100644 --- a/src/Illuminate/Collections/Collection.php +++ b/src/Illuminate/Collections/Collection.php @@ -604,7 +604,7 @@ public function hasAny($key) /** * Concatenate values of a given key as a string. * - * @param callable|string $value + * @param callable|string|null $value * @param string|null $glue * @return string */ diff --git a/src/Illuminate/Database/Connectors/ConnectionFactory.php b/src/Illuminate/Database/Connectors/ConnectionFactory.php index f63123652747..e8e187565f0e 100755 --- a/src/Illuminate/Database/Connectors/ConnectionFactory.php +++ b/src/Illuminate/Database/Connectors/ConnectionFactory.php @@ -188,7 +188,9 @@ protected function createPdoResolverWithHosts(array $config) } } - throw $e; + if (isset($e)) { + throw $e; + } }; } diff --git a/src/Illuminate/Database/Connectors/MySqlConnector.php b/src/Illuminate/Database/Connectors/MySqlConnector.php index 0ecaf8bf4551..3d2e5252e636 100755 --- a/src/Illuminate/Database/Connectors/MySqlConnector.php +++ b/src/Illuminate/Database/Connectors/MySqlConnector.php @@ -77,11 +77,9 @@ protected function getSocketDsn(array $config) */ protected function getHostDsn(array $config) { - extract($config, EXTR_SKIP); - - return isset($port) - ? "mysql:host={$host};port={$port};dbname={$database}" - : "mysql:host={$host};dbname={$database}"; + return isset($config['port']) + ? "mysql:host={$config['host']};port={$config['port']};dbname={$config['database']}" + : "mysql:host={$config['host']};dbname={$config['database']}"; } /** diff --git a/src/Illuminate/Database/Connectors/PostgresConnector.php b/src/Illuminate/Database/Connectors/PostgresConnector.php index 9834d2ce639f..ef806dd9ab2f 100755 --- a/src/Illuminate/Database/Connectors/PostgresConnector.php +++ b/src/Illuminate/Database/Connectors/PostgresConnector.php @@ -127,7 +127,7 @@ protected function getDsn(array $config) // Sometimes - users may need to connect to a database that has a different // name than the database used for "information_schema" queries. This is // typically the case if using "pgbouncer" type software when pooling. - $database = $connect_via_database ?? $database; + $database = $connect_via_database ?? $database ?? null; $port = $connect_via_port ?? $port ?? null; $dsn = "pgsql:{$host}dbname='{$database}'"; diff --git a/src/Illuminate/Database/Console/DatabaseInspectionCommand.php b/src/Illuminate/Database/Console/DatabaseInspectionCommand.php index f5ba9036e6ef..30c3a6fef7bb 100644 --- a/src/Illuminate/Database/Console/DatabaseInspectionCommand.php +++ b/src/Illuminate/Database/Console/DatabaseInspectionCommand.php @@ -58,7 +58,7 @@ protected function getConnectionCount(ConnectionInterface $connection) /** * Get the connection configuration details for the given connection. * - * @param string $database + * @param string|null $database * @return array */ protected function getConfigFromDatabase($database) diff --git a/src/Illuminate/Database/Eloquent/Attributes/ObservedBy.php b/src/Illuminate/Database/Eloquent/Attributes/ObservedBy.php index 600174146f94..3db5182db7e5 100644 --- a/src/Illuminate/Database/Eloquent/Attributes/ObservedBy.php +++ b/src/Illuminate/Database/Eloquent/Attributes/ObservedBy.php @@ -13,7 +13,7 @@ class ObservedBy * @param array|string $classes * @return void */ - public function __construct(array|string $classes) + public function __construct(public array|string $classes) { } } diff --git a/src/Illuminate/Database/Eloquent/Attributes/ScopedBy.php b/src/Illuminate/Database/Eloquent/Attributes/ScopedBy.php index 747ed9e612a3..431f63e57066 100644 --- a/src/Illuminate/Database/Eloquent/Attributes/ScopedBy.php +++ b/src/Illuminate/Database/Eloquent/Attributes/ScopedBy.php @@ -13,7 +13,7 @@ class ScopedBy * @param array|string $classes * @return void */ - public function __construct(array|string $classes) + public function __construct(public array|string $classes) { } } diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php index 2305100adb7d..3a534a419749 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php @@ -394,8 +394,8 @@ public function relationsToArray() // If the relation value has been set, we will set it on this attributes // list for returning. If it was not arrayable or null, we'll not set // the value on the array because it is some type of invalid value. - if (isset($relation) || is_null($value)) { - $attributes[$key] = $relation; + if (array_key_exists('relation', get_defined_vars())) { // check if $relation is in scope (could be null) + $attributes[$key] = $relation ?? null; } unset($relation); @@ -1208,7 +1208,7 @@ protected function setClassCastableAttribute($key, $value) * Set the value of an enum castable attribute. * * @param string $key - * @param \UnitEnum|string|int $value + * @param \UnitEnum|string|int|null $value * @return void */ protected function setEnumCastableAttribute($key, $value) @@ -1326,7 +1326,7 @@ protected function asJson($value) /** * Decode the given JSON back into an array or object. * - * @param string $value + * @param string|null $value * @param bool $asObject * @return mixed */ diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 6daf7e0663f3..634a19542203 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ -329,7 +329,7 @@ protected function morphEagerTo($name, $type, $id, $ownerKey) * @param string $name * @param string $type * @param string $id - * @param string $ownerKey + * @param string|null $ownerKey * @return \Illuminate\Database\Eloquent\Relations\MorphTo<\Illuminate\Database\Eloquent\Model, $this> */ protected function morphInstanceTo($target, $name, $type, $id, $ownerKey) diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/CanBeOneOfMany.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/CanBeOneOfMany.php index c9a6f7612db1..5acff68a6979 100644 --- a/src/Illuminate/Database/Eloquent/Relations/Concerns/CanBeOneOfMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/Concerns/CanBeOneOfMany.php @@ -214,7 +214,7 @@ protected function newOneOfManySubQuery($groupBy, $columns = null, $aggregate = } } - $this->addOneOfManySubQueryConstraints($subQuery, $groupBy, $columns, $aggregate); + $this->addOneOfManySubQueryConstraints($subQuery, column: null, aggregate: $aggregate); return $subQuery; } @@ -237,7 +237,7 @@ protected function addOneOfManyJoinSubQuery(Builder $parent, Builder $subQuery, $join->on($this->qualifySubSelectColumn($onColumn.'_aggregate'), '=', $this->qualifyRelatedColumn($onColumn)); } - $this->addOneOfManyJoinSubQueryConstraints($join, $on); + $this->addOneOfManyJoinSubQueryConstraints($join); }); }); } diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 586918c545cd..20b18b9025cb 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -163,7 +163,7 @@ class Builder implements BuilderContract /** * The number of records to skip. * - * @var int + * @var int|null */ public $offset; diff --git a/src/Illuminate/Database/Schema/Builder.php b/src/Illuminate/Database/Schema/Builder.php index 7b899c0a1c7c..9f5dbaa5f0e0 100755 --- a/src/Illuminate/Database/Schema/Builder.php +++ b/src/Illuminate/Database/Schema/Builder.php @@ -144,6 +144,7 @@ public function hasTable($table) { $table = $this->connection->getTablePrefix().$table; + /** @phpstan-ignore arguments.count (SQLite accepts a withSize argument) */ foreach ($this->getTables(false) as $value) { if (strtolower($table) === strtolower($value['name'])) { return true; diff --git a/src/Illuminate/Database/Schema/Grammars/Grammar.php b/src/Illuminate/Database/Schema/Grammars/Grammar.php index 8efc92592988..cb6c91ccb8f1 100755 --- a/src/Illuminate/Database/Schema/Grammars/Grammar.php +++ b/src/Illuminate/Database/Schema/Grammars/Grammar.php @@ -332,13 +332,12 @@ public function wrapTable($table) * Wrap a value in keyword identifiers. * * @param \Illuminate\Support\Fluent|\Illuminate\Contracts\Database\Query\Expression|string $value - * @param bool $prefixAlias * @return string */ - public function wrap($value, $prefixAlias = false) + public function wrap($value) { return parent::wrap( - $value instanceof Fluent ? $value->name : $value, $prefixAlias + $value instanceof Fluent ? $value->name : $value, ); } diff --git a/src/Illuminate/Foundation/Console/DownCommand.php b/src/Illuminate/Foundation/Console/DownCommand.php index 10d7dbfd755a..86b2c2841375 100644 --- a/src/Illuminate/Foundation/Console/DownCommand.php +++ b/src/Illuminate/Foundation/Console/DownCommand.php @@ -87,7 +87,7 @@ protected function getDownFilePayload() 'retry' => $this->getRetryTime(), 'refresh' => $this->option('refresh'), 'secret' => $this->getSecret(), - 'status' => (int) $this->option('status', 503), + 'status' => (int) ($this->option('status') ?? 503), 'template' => $this->option('render') ? $this->prerenderView() : null, ]; } diff --git a/src/Illuminate/Foundation/stubs/facade.stub b/src/Illuminate/Foundation/stubs/facade.stub index 183dc268a05d..110028bb0632 100644 --- a/src/Illuminate/Foundation/stubs/facade.stub +++ b/src/Illuminate/Foundation/stubs/facade.stub @@ -5,7 +5,7 @@ namespace DummyNamespace; use Illuminate\Support\Facades\Facade; /** - * @see \DummyTarget + * @mixin \DummyTarget */ class DummyClass extends Facade { diff --git a/src/Illuminate/Hashing/HashManager.php b/src/Illuminate/Hashing/HashManager.php index ef456b105baa..007a97c80c6c 100644 --- a/src/Illuminate/Hashing/HashManager.php +++ b/src/Illuminate/Hashing/HashManager.php @@ -108,4 +108,14 @@ public function getDefaultDriver() { return $this->config->get('hashing.driver', 'bcrypt'); } + + /** + * Verifies that the configuration is less than or equal to what is configured. + * + * @internal + */ + public function verifyConfiguration($value) + { + return $this->driver()->verifyConfiguration($value); + } } diff --git a/src/Illuminate/Http/UploadedFile.php b/src/Illuminate/Http/UploadedFile.php index e28b8b5ad02a..bdc4e62e1c0e 100644 --- a/src/Illuminate/Http/UploadedFile.php +++ b/src/Illuminate/Http/UploadedFile.php @@ -56,7 +56,7 @@ public function storePublicly($path = '', $options = []) * Store the uploaded file on a filesystem disk with public visibility. * * @param string $path - * @param string $name + * @param array|string|null $name * @param array|string $options * @return string|false */ diff --git a/src/Illuminate/Mail/Mailer.php b/src/Illuminate/Mail/Mailer.php index 85029d959b40..93179f701591 100755 --- a/src/Illuminate/Mail/Mailer.php +++ b/src/Illuminate/Mail/Mailer.php @@ -408,9 +408,9 @@ protected function parseView($view) * Add the content to a given message. * * @param \Illuminate\Mail\Message $message - * @param string $view - * @param string $plain - * @param string $raw + * @param string|null $view + * @param string|null $plain + * @param string|null $raw * @param array $data * @return void */ diff --git a/src/Illuminate/Notifications/Messages/SimpleMessage.php b/src/Illuminate/Notifications/Messages/SimpleMessage.php index cb6d743af6f2..254fd78ee137 100644 --- a/src/Illuminate/Notifications/Messages/SimpleMessage.php +++ b/src/Illuminate/Notifications/Messages/SimpleMessage.php @@ -226,7 +226,7 @@ public function with($line) /** * Format the given line of text. * - * @param \Illuminate\Contracts\Support\Htmlable|string|array $line + * @param \Illuminate\Contracts\Support\Htmlable|string|array|null $line * @return \Illuminate\Contracts\Support\Htmlable|string */ protected function formatLine($line) diff --git a/src/Illuminate/Routing/Middleware/SubstituteBindings.php b/src/Illuminate/Routing/Middleware/SubstituteBindings.php index b3624de51d29..eb1438d0fdd7 100644 --- a/src/Illuminate/Routing/Middleware/SubstituteBindings.php +++ b/src/Illuminate/Routing/Middleware/SubstituteBindings.php @@ -35,9 +35,10 @@ public function __construct(Registrar $router) */ public function handle($request, Closure $next) { - try { - $this->router->substituteBindings($route = $request->route()); + $route = $request->route(); + try { + $this->router->substituteBindings($route); $this->router->substituteImplicitBindings($route); } catch (ModelNotFoundException $exception) { if ($route->getMissing()) { diff --git a/src/Illuminate/Routing/Route.php b/src/Illuminate/Routing/Route.php index 92e987ae8cbf..80ca0a4a9b57 100755 --- a/src/Illuminate/Routing/Route.php +++ b/src/Illuminate/Routing/Route.php @@ -796,7 +796,7 @@ public function getPrefix() /** * Add a prefix to the route URI. * - * @param string $prefix + * @param string|null $prefix * @return $this */ public function prefix($prefix) diff --git a/src/Illuminate/Routing/RouteCollection.php b/src/Illuminate/Routing/RouteCollection.php index 7e6f98bca055..d3fd6a9d1143 100644 --- a/src/Illuminate/Routing/RouteCollection.php +++ b/src/Illuminate/Routing/RouteCollection.php @@ -59,13 +59,14 @@ public function add(Route $route) */ protected function addToCollections($route) { + $methods = $route->methods(); $domainAndUri = $route->getDomain().$route->uri(); - foreach ($route->methods() as $method) { + foreach ($methods as $method) { $this->routes[$method][$domainAndUri] = $route; } - $this->allRoutes[$method.$domainAndUri] = $route; + $this->allRoutes[implode('|', $methods).$domainAndUri] = $route; } /** diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index a91b55b509e2..1e8b046e8355 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -140,7 +140,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Foundation\Application + * @mixin \Illuminate\Foundation\Application */ class App extends Facade { diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index d3a0d9d4ea81..80a0b9809c23 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -23,7 +23,7 @@ * @method static \Illuminate\Foundation\Console\Kernel addCommandPaths(array $paths) * @method static \Illuminate\Foundation\Console\Kernel addCommandRoutePaths(array $paths) * - * @see \Illuminate\Foundation\Console\Kernel + * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade { diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index fb0165795baa..675188ba8c57 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -64,8 +64,8 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Auth\AuthManager - * @see \Illuminate\Auth\SessionGuard + * @mixin \Illuminate\Auth\AuthManager + * @mixin \Illuminate\Auth\SessionGuard */ class Auth extends Facade { diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 3d32cf8621c7..a8c451593f6b 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -45,7 +45,7 @@ * @method static string compileEchos(string $value) * @method static string applyEchoHandler(string $value) * - * @see \Illuminate\View\Compilers\BladeCompiler + * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade { diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 6ca8d0e873fc..fdab4d8d4fee 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -33,8 +33,8 @@ * @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = []) * @method static \Illuminate\Support\Collection getChannels() * - * @see \Illuminate\Broadcasting\BroadcastManager - * @see \Illuminate\Broadcasting\Broadcasters\Broadcaster + * @mixin \Illuminate\Broadcasting\BroadcastManager + * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ class Broadcast extends Facade { diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index 87ee410bd486..6ee1e3f12417 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -49,8 +49,8 @@ * @method static \Illuminate\Support\Testing\Fakes\BusFake serializeAndRestore(bool $serializeAndRestore = true) * @method static array dispatchedBatches() * - * @see \Illuminate\Bus\Dispatcher - * @see \Illuminate\Support\Testing\Fakes\BusFake + * @mixin \Illuminate\Bus\Dispatcher + * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ class Bus extends Facade { diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 078b44e74f2a..51e11510c79c 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -53,8 +53,7 @@ * @method static \Illuminate\Contracts\Cache\Lock lock(string $name, int $seconds = 0, string|null $owner = null) * @method static \Illuminate\Contracts\Cache\Lock restoreLock(string $name, string $owner) * - * @see \Illuminate\Cache\CacheManager - * + * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ class Cache extends Facade diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 3fe3bac716c4..e2defd14b6a7 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -20,7 +20,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Config\Repository + * @mixin \Illuminate\Config\Repository */ class Config extends Facade { diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 65a3f837d5f8..3fc0c2a4890f 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -34,7 +34,7 @@ * @method static void flushMacros() * @method static \Illuminate\Database\Eloquent\Model restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value) * - * @see \Illuminate\Log\Context\Repository + * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade { diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ab0b9f73f457..14b201df637e 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -19,7 +19,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Cookie\CookieJar + * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade { diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 6d197161141a..4351a1aee6d8 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -14,7 +14,7 @@ * @method static array getPreviousKeys() * @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys) * - * @see \Illuminate\Encryption\Encrypter + * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade { diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 22609aedec40..8bee78ff27ff 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -110,7 +110,7 @@ * @method static int transactionLevel() * @method static void afterCommit(callable $callback) * - * @see \Illuminate\Database\DatabaseManager + * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade { diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 7d4607f99d67..90682c478ea2 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -85,7 +85,7 @@ * @method static void useYearsOverflow($yearsOverflow = true) * @method static \Illuminate\Support\Carbon yesterday($tz = null) * - * @see \Illuminate\Support\DateFactory + * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade { diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index 14efbae42748..5d6a2871047c 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -36,8 +36,8 @@ * @method static bool hasDispatched(string $event) * @method static array dispatchedEvents() * - * @see \Illuminate\Events\Dispatcher - * @see \Illuminate\Support\Testing\Fakes\EventFake + * @mixin \Illuminate\Events\Dispatcher + * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ class Event extends Facade { diff --git a/src/Illuminate/Support/Facades/Exceptions.php b/src/Illuminate/Support/Facades/Exceptions.php index d877d2742823..91b553ad4cb9 100644 --- a/src/Illuminate/Support/Facades/Exceptions.php +++ b/src/Illuminate/Support/Facades/Exceptions.php @@ -33,9 +33,9 @@ * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake throwFirstReported() * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler) * - * @see \Illuminate\Foundation\Exceptions\Handler - * @see \Illuminate\Contracts\Debug\ExceptionHandler - * @see \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake + * @mixin \Illuminate\Foundation\Exceptions\Handler + * @mixin \Illuminate\Contracts\Debug\ExceptionHandler + * @mixin \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake */ class Exceptions extends Facade { diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 6f15962587d1..0e0cfbd9233a 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -56,7 +56,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Filesystem\Filesystem + * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade { diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 4423a1d6a0fb..8a2000dc8e3d 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -32,7 +32,7 @@ * @method static \Illuminate\Auth\Access\Response denyWithStatus(int $status, string|null $message = null, int|null $code = null) * @method static \Illuminate\Auth\Access\Response denyAsNotFound(string|null $message = null, int|null $code = null) * - * @see \Illuminate\Auth\Access\Gate + * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade { diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 280585d6e374..726f70a0cafb 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -19,8 +19,8 @@ * @method static \Illuminate\Hashing\HashManager setContainer(\Illuminate\Contracts\Container\Container $container) * @method static \Illuminate\Hashing\HashManager forgetDrivers() * - * @see \Illuminate\Hashing\HashManager - * @see \Illuminate\Hashing\AbstractHasher + * @mixin \Illuminate\Hashing\HashManager + * @mixin \Illuminate\Hashing\AbstractHasher */ class Hash extends Facade { diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 47d7e3355188..e09cf39e9e99 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -91,7 +91,7 @@ * @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * - * @see \Illuminate\Http\Client\Factory + * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade { diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index c2a52c48d933..745ff99ce526 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -31,7 +31,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Translation\Translator + * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade { diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 88c04028dc0c..0a34a78a0c29 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -35,7 +35,7 @@ * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * - * @see \Illuminate\Log\LogManager + * @mixin \Illuminate\Log\LogManager */ class Log extends Facade { diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index af245fab23b6..7053977c92ce 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -57,8 +57,8 @@ * @method static \Illuminate\Support\Collection queued(string|\Closure $mailable, callable|null $callback = null) * @method static bool hasQueued(string $mailable) * - * @see \Illuminate\Mail\MailManager - * @see \Illuminate\Support\Testing\Fakes\MailFake + * @mixin \Illuminate\Mail\MailManager + * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ class Mail extends Facade { diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index e1440d523f4d..297d709b043c 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -38,8 +38,8 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Notifications\ChannelManager - * @see \Illuminate\Support\Testing\Fakes\NotificationFake + * @mixin \Illuminate\Notifications\ChannelManager + * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ class Notification extends Facade { diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index d91558c1cb80..390e08ad4842 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -18,7 +18,7 @@ * @method static mixed option(string $option) * @method static string|false token() * - * @see \Illuminate\Testing\ParallelTesting + * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade { diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 87d9daf6fb11..53ffb94c45d1 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -16,8 +16,8 @@ * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token) * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() * - * @see \Illuminate\Auth\Passwords\PasswordBrokerManager - * @see \Illuminate\Auth\Passwords\PasswordBroker + * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager + * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ class Password extends Facade { diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 0874905199ba..79903f9ab1e2 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -13,7 +13,7 @@ * @method static \Illuminate\Pipeline\Pipeline|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Pipeline\Pipeline|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * - * @see \Illuminate\Pipeline\Pipeline + * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade { diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 3831f9f48964..39391c0a4c73 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -44,8 +44,8 @@ * @method static void flushMacros() * @method static mixed macroCall(string $method, array $parameters) * - * @see \Illuminate\Process\PendingProcess - * @see \Illuminate\Process\Factory + * @mixin \Illuminate\Process\PendingProcess + * @mixin \Illuminate\Process\Factory */ class Process extends Facade { diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 50e2c7b81c2d..96ec07cb5c80 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -53,9 +53,9 @@ * @method static array pushedJobs() * @method static \Illuminate\Support\Testing\Fakes\QueueFake serializeAndRestore(bool $serializeAndRestore = true) * - * @see \Illuminate\Queue\QueueManager - * @see \Illuminate\Queue\Queue - * @see \Illuminate\Support\Testing\Fakes\QueueFake + * @mixin \Illuminate\Queue\QueueManager + * @mixin \Illuminate\Queue\Queue + * @mixin \Illuminate\Support\Testing\Fakes\QueueFake */ class Queue extends Facade { diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index cab2d444e26e..be362840cb95 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -18,7 +18,7 @@ * @method static int availableIn(string $key) * @method static string cleanRateLimiterKey(string $key) * - * @see \Illuminate\Cache\RateLimiter + * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade { diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index c7490f4ae819..f990f8aa2ece 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -23,7 +23,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Routing\Redirector + * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade { diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1579b867cd1d..760818862ee4 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -30,7 +30,7 @@ * @method static void flushMacros() * @method static mixed macroCall(string $method, array $parameters) * - * @see \Illuminate\Redis\RedisManager + * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade { diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 5410b4f21c11..4ad2b3a8f8da 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -180,7 +180,7 @@ * @method static array validateWithBag(string $errorBag, array $rules, ...$params) * @method static bool hasValidSignature(bool $absolute = true) * - * @see \Illuminate\Http\Request + * @mixin \Illuminate\Http\Request */ class Request extends Facade { diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 7d18d69aaf97..73bf663fbec8 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -25,7 +25,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Routing\ResponseFactory + * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade { diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 52644d388e7c..739cfa2ba42d 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -101,7 +101,7 @@ * @method static \Illuminate\Routing\RouteRegistrar withoutMiddleware(array|string $middleware) * @method static \Illuminate\Routing\RouteRegistrar withoutScopedBindings() * - * @see \Illuminate\Routing\Router + * @mixin \Illuminate\Routing\Router */ class Route extends Facade { diff --git a/src/Illuminate/Support/Facades/Schedule.php b/src/Illuminate/Support/Facades/Schedule.php index 04c7e0ed516d..1a22652f2f50 100644 --- a/src/Illuminate/Support/Facades/Schedule.php +++ b/src/Illuminate/Support/Facades/Schedule.php @@ -19,7 +19,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Console\Scheduling\Schedule + * @mixin \Illuminate\Console\Scheduling\Schedule */ class Schedule extends Facade { diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index d4d39f9f0521..cbde8f1265a4 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -46,7 +46,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Database\Schema\Builder + * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade { diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index f51fe423c7ce..146a5d68bd68 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -69,7 +69,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Session\SessionManager + * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade { diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index b6391eaf14a0..16d1308f9ada 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -80,7 +80,7 @@ * @method static void write(string $location, string $contents, array $config = []) * @method static void createDirectory(string $location, array $config = []) * - * @see \Illuminate\Filesystem\FilesystemManager + * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade { diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 4e239f399207..d66f14253e26 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -48,7 +48,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Routing\UrlGenerator + * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade { diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index a032cc53ef4c..20e4132bdf2e 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -18,7 +18,7 @@ * @method static \Illuminate\Contracts\Container\Container|null getContainer() * @method static \Illuminate\Validation\Factory setContainer(\Illuminate\Contracts\Container\Container $container) * - * @see \Illuminate\Validation\Factory + * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade { diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 787dc80b3654..ee20307c87e0 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -81,7 +81,7 @@ * @method static void startTranslation(array $replacements = []) * @method static string renderTranslation() * - * @see \Illuminate\View\Factory + * @mixin \Illuminate\View\Factory */ class View extends Facade { diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index ba5cd4e8d961..2ae1deae2625 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -27,7 +27,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @see \Illuminate\Foundation\Vite + * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade { diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index cf345c5a3a16..7b475334c7ba 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -914,12 +914,12 @@ public function assertJsonValidationErrors($errors, $responseKey = 'errors') break; } } - } - if ($errorMissing) { - PHPUnit::withResponse($this)->fail( - "Failed to find a validation error in the response for key and message: '$key' => '$expectedMessage'".PHP_EOL.PHP_EOL.$errorMessage - ); + if ($errorMissing) { + PHPUnit::withResponse($this)->fail( + "Failed to find a validation error in the response for key and message: '$key' => '$expectedMessage'".PHP_EOL.PHP_EOL.$errorMessage + ); + } } } diff --git a/src/Illuminate/Translation/Translator.php b/src/Illuminate/Translation/Translator.php index c8ebaa4e73c0..ccda77d14717 100755 --- a/src/Illuminate/Translation/Translator.php +++ b/src/Illuminate/Translation/Translator.php @@ -279,8 +279,8 @@ protected function makeReplacements($line, array $replace) $value = call_user_func($this->stringableHandlers[get_class($value)], $value); } - $shouldReplace[':'.Str::ucfirst($key ?? '')] = Str::ucfirst($value ?? ''); - $shouldReplace[':'.Str::upper($key ?? '')] = Str::upper($value ?? ''); + $shouldReplace[':'.Str::ucfirst($key)] = Str::ucfirst($value ?? ''); + $shouldReplace[':'.Str::upper($key)] = Str::upper($value ?? ''); $shouldReplace[':'.$key] = $value; } diff --git a/src/Illuminate/View/Compilers/Concerns/CompilesLoops.php b/src/Illuminate/View/Compilers/Concerns/CompilesLoops.php index 209206a33695..ab6d867d0529 100644 --- a/src/Illuminate/View/Compilers/Concerns/CompilesLoops.php +++ b/src/Illuminate/View/Compilers/Concerns/CompilesLoops.php @@ -16,7 +16,7 @@ trait CompilesLoops /** * Compile the for-else statements into valid PHP. * - * @param string $expression + * @param string|null $expression * @return string * * @throws \Illuminate\Contracts\View\ViewCompilationException @@ -93,7 +93,7 @@ protected function compileFor($expression) /** * Compile the for-each statements into valid PHP. * - * @param string $expression + * @param string|null $expression * @return string * * @throws \Illuminate\Contracts\View\ViewCompilationException diff --git a/tests/Database/DatabaseConcernsHasAttributesTest.php b/tests/Database/DatabaseConcernsHasAttributesTest.php index 2e2159c4c102..fb085611d8ee 100644 --- a/tests/Database/DatabaseConcernsHasAttributesTest.php +++ b/tests/Database/DatabaseConcernsHasAttributesTest.php @@ -4,6 +4,8 @@ use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Concerns\HasAttributes; +use Illuminate\Support\Collection; +use Mockery as m; use PHPUnit\Framework\TestCase; class DatabaseConcernsHasAttributesTest extends TestCase @@ -21,6 +23,24 @@ public function testWithConstructorArguments() $attributes = $instance->getMutatedAttributes(); $this->assertEquals(['some_attribute'], $attributes); } + + public function testRelationsToArray() + { + $mock = m::mock(HasAttributesWithoutConstructor::class) + ->makePartial() + ->shouldAllowMockingProtectedMethods() + ->shouldReceive('getArrayableRelations')->andReturn([ + 'arrayable_relation' => Collection::make(['foo' => 'bar']), + 'invalid_relation' => 'invalid', + 'null_relation' => null, + ]) + ->getMock(); + + $this->assertEquals([ + 'arrayable_relation' => ['foo' => 'bar'], + 'null_relation' => null, + ], $mock->relationsToArray()); + } } class HasAttributesWithoutConstructor From 6e2e899ef8233cb2367b3b8fc1a28bf9a7ad3439 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 18:54:52 +0000 Subject: [PATCH 121/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 137 +------------- src/Illuminate/Support/Facades/Artisan.php | 18 +- src/Illuminate/Support/Facades/Auth.php | 58 +----- src/Illuminate/Support/Facades/Blade.php | 42 +---- src/Illuminate/Support/Facades/Broadcast.php | 28 +-- src/Illuminate/Support/Facades/Bus.php | 41 +--- src/Illuminate/Support/Facades/Cache.php | 50 +---- src/Illuminate/Support/Facades/Config.php | 17 +- src/Illuminate/Support/Facades/Context.php | 31 +-- src/Illuminate/Support/Facades/Cookie.php | 16 +- src/Illuminate/Support/Facades/Crypt.php | 11 +- src/Illuminate/Support/Facades/DB.php | 102 +--------- src/Illuminate/Support/Facades/Date.php | 76 -------- src/Illuminate/Support/Facades/Event.php | 30 +-- src/Illuminate/Support/Facades/File.php | 53 +----- src/Illuminate/Support/Facades/Gate.php | 27 +-- src/Illuminate/Support/Facades/Hash.php | 16 +- src/Illuminate/Support/Facades/Http.php | 86 +-------- src/Illuminate/Support/Facades/Lang.php | 28 +-- src/Illuminate/Support/Facades/Log.php | 32 +--- src/Illuminate/Support/Facades/Mail.php | 52 +---- .../Support/Facades/Notification.php | 31 +-- .../Support/Facades/ParallelTesting.php | 15 +- src/Illuminate/Support/Facades/Password.php | 11 +- src/Illuminate/Support/Facades/Pipeline.php | 10 +- src/Illuminate/Support/Facades/Process.php | 38 +--- src/Illuminate/Support/Facades/Queue.php | 47 +---- .../Support/Facades/RateLimiter.php | 15 +- src/Illuminate/Support/Facades/Redirect.php | 20 +- src/Illuminate/Support/Facades/Redis.php | 27 +-- src/Illuminate/Support/Facades/Request.php | 177 +----------------- src/Illuminate/Support/Facades/Response.php | 20 +- src/Illuminate/Support/Facades/Route.php | 98 +--------- src/Illuminate/Support/Facades/Schema.php | 43 +---- src/Illuminate/Support/Facades/Session.php | 66 +------ src/Illuminate/Support/Facades/Storage.php | 75 +------- src/Illuminate/Support/Facades/URL.php | 45 +---- src/Illuminate/Support/Facades/Validator.php | 15 +- src/Illuminate/Support/Facades/View.php | 78 +------- src/Illuminate/Support/Facades/Vite.php | 24 +-- 40 files changed, 39 insertions(+), 1767 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 1e8b046e8355..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,142 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Foundation\Configuration\ApplicationBuilder configure(string|null $basePath = null) - * @method static string inferBasePath() - * @method static string version() - * @method static void bootstrapWith(string[] $bootstrappers) - * @method static void afterLoadingEnvironment(\Closure $callback) - * @method static void beforeBootstrapping(string $bootstrapper, \Closure $callback) - * @method static void afterBootstrapping(string $bootstrapper, \Closure $callback) - * @method static bool hasBeenBootstrapped() - * @method static \Illuminate\Foundation\Application setBasePath(string $basePath) - * @method static string path(string $path = '') - * @method static \Illuminate\Foundation\Application useAppPath(string $path) - * @method static string basePath(string $path = '') - * @method static string bootstrapPath(string $path = '') - * @method static string getBootstrapProvidersPath() - * @method static \Illuminate\Foundation\Application useBootstrapPath(string $path) - * @method static string configPath(string $path = '') - * @method static \Illuminate\Foundation\Application useConfigPath(string $path) - * @method static string databasePath(string $path = '') - * @method static \Illuminate\Foundation\Application useDatabasePath(string $path) - * @method static string langPath(string $path = '') - * @method static \Illuminate\Foundation\Application useLangPath(string $path) - * @method static string publicPath(string $path = '') - * @method static \Illuminate\Foundation\Application usePublicPath(string $path) - * @method static string storagePath(string $path = '') - * @method static \Illuminate\Foundation\Application useStoragePath(string $path) - * @method static string resourcePath(string $path = '') - * @method static string viewPath(string $path = '') - * @method static string joinPaths(string $basePath, string $path = '') - * @method static string environmentPath() - * @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path) - * @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file) - * @method static string environmentFile() - * @method static string environmentFilePath() - * @method static string|bool environment(string|array ...$environments) - * @method static bool isLocal() - * @method static bool isProduction() - * @method static string detectEnvironment(\Closure $callback) - * @method static bool runningInConsole() - * @method static bool runningConsoleCommand(string|array ...$commands) - * @method static bool runningUnitTests() - * @method static bool hasDebugModeEnabled() - * @method static void registered(callable $callback) - * @method static void registerConfiguredProviders() - * @method static \Illuminate\Support\ServiceProvider register(\Illuminate\Support\ServiceProvider|string $provider, bool $force = false) - * @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider) - * @method static array getProviders(\Illuminate\Support\ServiceProvider|string $provider) - * @method static \Illuminate\Support\ServiceProvider resolveProvider(string $provider) - * @method static void loadDeferredProviders() - * @method static void loadDeferredProvider(string $service) - * @method static void registerDeferredProvider(string $provider, string|null $service = null) - * @method static mixed make(string $abstract, array $parameters = []) - * @method static bool bound(string $abstract) - * @method static bool isBooted() - * @method static void boot() - * @method static void booting(callable $callback) - * @method static void booted(callable $callback) - * @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, int $type = 1, bool $catch = true) - * @method static void handleRequest(\Illuminate\Http\Request $request) - * @method static int handleCommand(\Symfony\Component\Console\Input\InputInterface $input) - * @method static bool shouldMergeFrameworkConfiguration() - * @method static \Illuminate\Foundation\Application dontMergeFrameworkConfiguration() - * @method static bool shouldSkipMiddleware() - * @method static string getCachedServicesPath() - * @method static string getCachedPackagesPath() - * @method static bool configurationIsCached() - * @method static string getCachedConfigPath() - * @method static bool routesAreCached() - * @method static string getCachedRoutesPath() - * @method static bool eventsAreCached() - * @method static string getCachedEventsPath() - * @method static \Illuminate\Foundation\Application addAbsoluteCachePathPrefix(string $prefix) - * @method static \Illuminate\Contracts\Foundation\MaintenanceMode maintenanceMode() - * @method static bool isDownForMaintenance() - * @method static never abort(int $code, string $message = '', array $headers = []) - * @method static \Illuminate\Foundation\Application terminating(callable|string $callback) - * @method static void terminate() - * @method static array getLoadedProviders() - * @method static bool providerIsLoaded(string $provider) - * @method static array getDeferredServices() - * @method static void setDeferredServices(array $services) - * @method static void addDeferredServices(array $services) - * @method static bool isDeferredService(string $service) - * @method static void provideFacades(string $namespace) - * @method static string getLocale() - * @method static string currentLocale() - * @method static string getFallbackLocale() - * @method static void setLocale(string $locale) - * @method static void setFallbackLocale(string $fallbackLocale) - * @method static bool isLocale(string $locale) - * @method static void registerCoreContainerAliases() - * @method static void flush() - * @method static string getNamespace() - * @method static \Illuminate\Contracts\Container\ContextualBindingBuilder when(array|string $concrete) - * @method static void whenHasAttribute(string $attribute, \Closure $handler) - * @method static bool has(string $id) - * @method static bool isShared(string $abstract) - * @method static bool isAlias(string $name) - * @method static void bind(string $abstract, \Closure|string|null $concrete = null, bool $shared = false) - * @method static bool hasMethodBinding(string $method) - * @method static void bindMethod(array|string $method, \Closure $callback) - * @method static mixed callMethodBinding(string $method, mixed $instance) - * @method static void addContextualBinding(string $concrete, string $abstract, \Closure|string $implementation) - * @method static void bindIf(string $abstract, \Closure|string|null $concrete = null, bool $shared = false) - * @method static void singleton(string $abstract, \Closure|string|null $concrete = null) - * @method static void singletonIf(string $abstract, \Closure|string|null $concrete = null) - * @method static void scoped(string $abstract, \Closure|string|null $concrete = null) - * @method static void scopedIf(string $abstract, \Closure|string|null $concrete = null) - * @method static void extend(string $abstract, \Closure $closure) - * @method static mixed instance(string $abstract, mixed $instance) - * @method static void tag(array|string $abstracts, array|mixed $tags) - * @method static iterable tagged(string $tag) - * @method static void alias(string $abstract, string $alias) - * @method static mixed rebinding(string $abstract, \Closure $callback) - * @method static mixed refresh(string $abstract, mixed $target, string $method) - * @method static \Closure wrap(\Closure $callback, array $parameters = []) - * @method static mixed call(callable|string $callback, array $parameters = [], string|null $defaultMethod = null) - * @method static \Closure factory(string $abstract) - * @method static mixed makeWith(string|callable $abstract, array $parameters = []) - * @method static mixed get(string $id) - * @method static mixed build(\Closure|string $concrete) - * @method static void beforeResolving(\Closure|string $abstract, \Closure|null $callback = null) - * @method static void resolving(\Closure|string $abstract, \Closure|null $callback = null) - * @method static void afterResolving(\Closure|string $abstract, \Closure|null $callback = null) - * @method static void afterResolvingAttribute(string $attribute, \Closure $callback) - * @method static array getBindings() - * @method static string getAlias(string $abstract) - * @method static void forgetExtenders(string $abstract) - * @method static void forgetInstance(string $abstract) - * @method static void forgetInstances() - * @method static void forgetScopedInstances() - * @method static \Illuminate\Foundation\Application getInstance() - * @method static \Illuminate\Contracts\Container\Container|\Illuminate\Foundation\Application setInstance(\Illuminate\Contracts\Container\Container|null $container = null) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Foundation\Application */ diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 80a0b9809c23..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,23 +5,7 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - * @method static int handle(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface|null $output = null) - * @method static void terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status) - * @method static void whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler) - * @method static \Illuminate\Support\Carbon|null commandStartedAt() - * @method static \Illuminate\Console\Scheduling\Schedule resolveConsoleSchedule() - * @method static \Illuminate\Foundation\Console\ClosureCommand command(string $signature, \Closure $callback) - * @method static void registerCommand(\Symfony\Component\Console\Command\Command $command) - * @method static int call(string $command, array $parameters = [], \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null) - * @method static \Illuminate\Foundation\Bus\PendingDispatch queue(string $command, array $parameters = []) - * @method static array all() - * @method static string output() - * @method static void bootstrap() - * @method static void bootstrapWithoutBootingProviders() - * @method static void setArtisan(\Illuminate\Console\Application|null $artisan) - * @method static \Illuminate\Foundation\Console\Kernel addCommands(array $commands) - * @method static \Illuminate\Foundation\Console\Kernel addCommandPaths(array $paths) - * @method static \Illuminate\Foundation\Console\Kernel addCommandRoutePaths(array $paths) + * * @mixin \Illuminate\Foundation\Console\Kernel */ diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 675188ba8c57..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,63 +6,7 @@ use RuntimeException; /** - * @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard guard(string|null $name = null) - * @method static \Illuminate\Auth\SessionGuard createSessionDriver(string $name, array $config) - * @method static \Illuminate\Auth\TokenGuard createTokenDriver(string $name, array $config) - * @method static string getDefaultDriver() - * @method static void shouldUse(string $name) - * @method static void setDefaultDriver(string $name) - * @method static \Illuminate\Auth\AuthManager viaRequest(string $driver, callable $callback) - * @method static \Closure userResolver() - * @method static \Illuminate\Auth\AuthManager resolveUsersUsing(\Closure $userResolver) - * @method static \Illuminate\Auth\AuthManager extend(string $driver, \Closure $callback) - * @method static \Illuminate\Auth\AuthManager provider(string $name, \Closure $callback) - * @method static bool hasResolvedGuards() - * @method static \Illuminate\Auth\AuthManager forgetGuards() - * @method static \Illuminate\Auth\AuthManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static \Illuminate\Contracts\Auth\UserProvider|null createUserProvider(string|null $provider = null) - * @method static string getDefaultUserProvider() - * @method static bool check() - * @method static bool guest() - * @method static \Illuminate\Contracts\Auth\Authenticatable|null user() - * @method static int|string|null id() - * @method static bool validate(array $credentials = []) - * @method static bool hasUser() - * @method static \Illuminate\Contracts\Auth\Guard setUser(\Illuminate\Contracts\Auth\Authenticatable $user) - * @method static bool attempt(array $credentials = [], bool $remember = false) - * @method static bool once(array $credentials = []) - * @method static void login(\Illuminate\Contracts\Auth\Authenticatable $user, bool $remember = false) - * @method static \Illuminate\Contracts\Auth\Authenticatable|false loginUsingId(mixed $id, bool $remember = false) - * @method static \Illuminate\Contracts\Auth\Authenticatable|false onceUsingId(mixed $id) - * @method static bool viaRemember() - * @method static void logout() - * @method static \Symfony\Component\HttpFoundation\Response|null basic(string $field = 'email', array $extraConditions = []) - * @method static \Symfony\Component\HttpFoundation\Response|null onceBasic(string $field = 'email', array $extraConditions = []) - * @method static bool attemptWhen(array $credentials = [], array|callable|null $callbacks = null, bool $remember = false) - * @method static void logoutCurrentDevice() - * @method static \Illuminate\Contracts\Auth\Authenticatable|null logoutOtherDevices(string $password) - * @method static void attempting(mixed $callback) - * @method static \Illuminate\Contracts\Auth\Authenticatable getLastAttempted() - * @method static string getName() - * @method static string getRecallerName() - * @method static \Illuminate\Auth\SessionGuard setRememberDuration(int $minutes) - * @method static \Illuminate\Contracts\Cookie\QueueingFactory getCookieJar() - * @method static void setCookieJar(\Illuminate\Contracts\Cookie\QueueingFactory $cookie) - * @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher() - * @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) - * @method static \Illuminate\Contracts\Session\Session getSession() - * @method static \Illuminate\Contracts\Auth\Authenticatable|null getUser() - * @method static \Symfony\Component\HttpFoundation\Request getRequest() - * @method static \Illuminate\Auth\SessionGuard setRequest(\Symfony\Component\HttpFoundation\Request $request) - * @method static \Illuminate\Support\Timebox getTimebox() - * @method static \Illuminate\Contracts\Auth\Authenticatable authenticate() - * @method static \Illuminate\Auth\SessionGuard forgetUser() - * @method static \Illuminate\Contracts\Auth\UserProvider getProvider() - * @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index a8c451593f6b..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,47 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static void compile(string|null $path = null) - * @method static string getPath() - * @method static void setPath(string $path) - * @method static string compileString(string $value) - * @method static string render(string $string, array $data = [], bool $deleteCachedView = false) - * @method static string renderComponent(\Illuminate\View\Component $component) - * @method static string stripParentheses(string $expression) - * @method static void extend(callable $compiler) - * @method static array getExtensions() - * @method static void if(string $name, callable $callback) - * @method static bool check(string $name, mixed ...$parameters) - * @method static void component(string $class, string|null $alias = null, string $prefix = '') - * @method static void components(array $components, string $prefix = '') - * @method static array getClassComponentAliases() - * @method static void anonymousComponentPath(string $path, string|null $prefix = null) - * @method static void anonymousComponentNamespace(string $directory, string|null $prefix = null) - * @method static void componentNamespace(string $namespace, string $prefix) - * @method static array getAnonymousComponentPaths() - * @method static array getAnonymousComponentNamespaces() - * @method static array getClassComponentNamespaces() - * @method static void aliasComponent(string $path, string|null $alias = null) - * @method static void include(string $path, string|null $alias = null) - * @method static void aliasInclude(string $path, string|null $alias = null) - * @method static void directive(string $name, callable $handler) - * @method static array getCustomDirectives() - * @method static \Illuminate\View\Compilers\BladeCompiler prepareStringsForCompilationUsing(callable $callback) - * @method static void precompiler(callable $precompiler) - * @method static void setEchoFormat(string $format) - * @method static void withDoubleEncoding() - * @method static void withoutDoubleEncoding() - * @method static void withoutComponentTags() - * @method static string getCompiledPath(string $path) - * @method static bool isExpired(string $path) - * @method static string newComponentHash(string $component) - * @method static string compileClassComponentOpening(string $component, string $alias, string $data, string $hash) - * @method static string compileEndComponentClass() - * @method static mixed sanitizeComponentAttribute(mixed $value) - * @method static string compileEndOnce() - * @method static void stringable(string|callable $class, callable|null $handler = null) - * @method static string compileEchos(string $value) - * @method static string applyEchoHandler(string $value) + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index fdab4d8d4fee..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,33 +5,7 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - * @method static void routes(array|null $attributes = null) - * @method static void userRoutes(array|null $attributes = null) - * @method static void channelRoutes(array|null $attributes = null) - * @method static string|null socket(\Illuminate\Http\Request|null $request = null) - * @method static \Illuminate\Broadcasting\AnonymousEvent on(\Illuminate\Broadcasting\Channel|array|string $channels) - * @method static \Illuminate\Broadcasting\AnonymousEvent private(string $channel) - * @method static \Illuminate\Broadcasting\AnonymousEvent presence(string $channel) - * @method static \Illuminate\Broadcasting\PendingBroadcast event(mixed|null $event = null) - * @method static void queue(mixed $event) - * @method static mixed connection(string|null $driver = null) - * @method static mixed driver(string|null $name = null) - * @method static \Pusher\Pusher pusher(array $config) - * @method static \Ably\AblyRest ably(array $config) - * @method static string getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static void purge(string|null $name = null) - * @method static \Illuminate\Broadcasting\BroadcastManager extend(string $driver, \Closure $callback) - * @method static \Illuminate\Contracts\Foundation\Application getApplication() - * @method static \Illuminate\Broadcasting\BroadcastManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static \Illuminate\Broadcasting\BroadcastManager forgetDrivers() - * @method static mixed auth(\Illuminate\Http\Request $request) - * @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result) - * @method static void broadcast(array $channels, string $event, array $payload = []) - * @method static array|null resolveAuthenticatedUser(\Illuminate\Http\Request $request) - * @method static void resolveAuthenticatedUserUsing(\Closure $callback) - * @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = []) - * @method static \Illuminate\Support\Collection getChannels() + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index 6ee1e3f12417..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,46 +8,7 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - * @method static mixed dispatch(mixed $command) - * @method static mixed dispatchSync(mixed $command, mixed $handler = null) - * @method static mixed dispatchNow(mixed $command, mixed $handler = null) - * @method static \Illuminate\Bus\Batch|null findBatch(string $batchId) - * @method static \Illuminate\Bus\PendingBatch batch(\Illuminate\Support\Collection|array|mixed $jobs) - * @method static \Illuminate\Foundation\Bus\PendingChain chain(\Illuminate\Support\Collection|array $jobs) - * @method static bool hasCommandHandler(mixed $command) - * @method static bool|mixed getCommandHandler(mixed $command) - * @method static mixed dispatchToQueue(mixed $command) - * @method static void dispatchAfterResponse(mixed $command, mixed $handler = null) - * @method static \Illuminate\Bus\Dispatcher pipeThrough(array $pipes) - * @method static \Illuminate\Bus\Dispatcher map(array $map) - * @method static \Illuminate\Support\Testing\Fakes\BusFake except(array|string $jobsToDispatch) - * @method static void assertDispatched(string|\Closure $command, callable|int|null $callback = null) - * @method static void assertDispatchedTimes(string|\Closure $command, int $times = 1) - * @method static void assertNotDispatched(string|\Closure $command, callable|null $callback = null) - * @method static void assertNothingDispatched() - * @method static void assertDispatchedSync(string|\Closure $command, callable|int|null $callback = null) - * @method static void assertDispatchedSyncTimes(string|\Closure $command, int $times = 1) - * @method static void assertNotDispatchedSync(string|\Closure $command, callable|null $callback = null) - * @method static void assertDispatchedAfterResponse(string|\Closure $command, callable|int|null $callback = null) - * @method static void assertDispatchedAfterResponseTimes(string|\Closure $command, int $times = 1) - * @method static void assertNotDispatchedAfterResponse(string|\Closure $command, callable|null $callback = null) - * @method static void assertChained(array $expectedChain) - * @method static void assertDispatchedWithoutChain(string|\Closure $command, callable|null $callback = null) - * @method static \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest chainedBatch(\Closure $callback) - * @method static void assertBatched(callable $callback) - * @method static void assertBatchCount(int $count) - * @method static void assertNothingBatched() - * @method static \Illuminate\Support\Collection dispatched(string $command, callable|null $callback = null) - * @method static \Illuminate\Support\Collection dispatchedSync(string $command, callable|null $callback = null) - * @method static \Illuminate\Support\Collection dispatchedAfterResponse(string $command, callable|null $callback = null) - * @method static \Illuminate\Support\Collection batched(callable $callback) - * @method static bool hasDispatched(string $command) - * @method static bool hasDispatchedSync(string $command) - * @method static bool hasDispatchedAfterResponse(string $command) - * @method static \Illuminate\Bus\Batch dispatchFakeBatch(string $name = '') - * @method static \Illuminate\Bus\Batch recordPendingBatch(\Illuminate\Bus\PendingBatch $pendingBatch) - * @method static \Illuminate\Support\Testing\Fakes\BusFake serializeAndRestore(bool $serializeAndRestore = true) - * @method static array dispatchedBatches() + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 51e11510c79c..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,55 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Contracts\Cache\Repository store(string|null $name = null) - * @method static \Illuminate\Contracts\Cache\Repository driver(string|null $driver = null) - * @method static \Illuminate\Contracts\Cache\Repository resolve(string $name) - * @method static \Illuminate\Cache\Repository repository(\Illuminate\Contracts\Cache\Store $store, array $config = []) - * @method static void refreshEventDispatcher() - * @method static string getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static \Illuminate\Cache\CacheManager forgetDriver(array|string|null $name = null) - * @method static void purge(string|null $name = null) - * @method static \Illuminate\Cache\CacheManager extend(string $driver, \Closure $callback) - * @method static \Illuminate\Cache\CacheManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static bool has(array|string $key) - * @method static bool missing(string $key) - * @method static mixed get(array|string $key, mixed|\Closure $default = null) - * @method static array many(array $keys) - * @method static iterable getMultiple(iterable $keys, mixed $default = null) - * @method static mixed pull(array|string $key, mixed|\Closure $default = null) - * @method static bool put(array|string $key, mixed $value, \DateTimeInterface|\DateInterval|int|null $ttl = null) - * @method static bool set(string $key, mixed $value, null|int|\DateInterval $ttl = null) - * @method static bool putMany(array $values, \DateTimeInterface|\DateInterval|int|null $ttl = null) - * @method static bool setMultiple(iterable $values, null|int|\DateInterval $ttl = null) - * @method static bool add(string $key, mixed $value, \DateTimeInterface|\DateInterval|int|null $ttl = null) - * @method static int|bool increment(string $key, mixed $value = 1) - * @method static int|bool decrement(string $key, mixed $value = 1) - * @method static bool forever(string $key, mixed $value) - * @method static mixed remember(string $key, \Closure|\DateTimeInterface|\DateInterval|int|null $ttl, \Closure $callback) - * @method static mixed sear(string $key, \Closure $callback) - * @method static mixed rememberForever(string $key, \Closure $callback) - * @method static bool forget(string $key) - * @method static bool delete(string $key) - * @method static bool deleteMultiple(iterable $keys) - * @method static bool clear() - * @method static \Illuminate\Cache\TaggedCache tags(array|mixed $names) - * @method static bool supportsTags() - * @method static int|null getDefaultCacheTime() - * @method static \Illuminate\Cache\Repository setDefaultCacheTime(int|null $seconds) - * @method static \Illuminate\Contracts\Cache\Store getStore() - * @method static \Illuminate\Cache\Repository setStore(\Illuminate\Contracts\Cache\Store $store) - * @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher() - * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) - * @method static bool flush() - * @method static string getPrefix() - * @method static \Illuminate\Contracts\Cache\Lock lock(string $name, int $seconds = 0, string|null $owner = null) - * @method static \Illuminate\Contracts\Cache\Lock restoreLock(string $name, string $owner) + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index e2defd14b6a7..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,22 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static bool has(string $key) - * @method static mixed get(array|string $key, mixed $default = null) - * @method static array getMany(array $keys) - * @method static string string(string $key, \Closure|string|null $default = null) - * @method static int integer(string $key, \Closure|int|null $default = null) - * @method static float float(string $key, \Closure|float|null $default = null) - * @method static bool boolean(string $key, \Closure|bool|null $default = null) - * @method static array array(string $key, \Closure|array|null $default = null) - * @method static void set(array|string $key, mixed $value = null) - * @method static void prepend(string $key, mixed $value) - * @method static void push(string $key, mixed $value) - * @method static array all() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Config\Repository */ diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 3fc0c2a4890f..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,36 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static bool has(string $key) - * @method static bool hasHidden(string $key) - * @method static array all() - * @method static array allHidden() - * @method static mixed get(string $key, mixed $default = null) - * @method static mixed getHidden(string $key, mixed $default = null) - * @method static mixed pull(string $key, mixed $default = null) - * @method static mixed pullHidden(string $key, mixed $default = null) - * @method static array only(array $keys) - * @method static array onlyHidden(array $keys) - * @method static \Illuminate\Log\Context\Repository add(string|array $key, mixed $value = null) - * @method static \Illuminate\Log\Context\Repository addHidden(string|array $key, mixed $value = null) - * @method static \Illuminate\Log\Context\Repository forget(string|array $key) - * @method static \Illuminate\Log\Context\Repository forgetHidden(string|array $key) - * @method static \Illuminate\Log\Context\Repository addIf(string $key, mixed $value) - * @method static \Illuminate\Log\Context\Repository addHiddenIf(string $key, mixed $value) - * @method static \Illuminate\Log\Context\Repository push(string $key, mixed ...$values) - * @method static \Illuminate\Log\Context\Repository pushHidden(string $key, mixed ...$values) - * @method static bool isEmpty() - * @method static \Illuminate\Log\Context\Repository dehydrating(callable $callback) - * @method static \Illuminate\Log\Context\Repository hydrated(callable $callback) - * @method static \Illuminate\Log\Context\Repository handleUnserializeExceptionsUsing(callable|null $callback) - * @method static \Illuminate\Log\Context\Repository flush() - * @method static \Illuminate\Log\Context\Repository|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Log\Context\Repository|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static \Illuminate\Database\Eloquent\Model restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value) + * * @mixin \Illuminate\Log\Context\Repository */ diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index 14b201df637e..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,21 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Symfony\Component\HttpFoundation\Cookie make(string $name, string $value, int $minutes = 0, string|null $path = null, string|null $domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null) - * @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name, string $value, string|null $path = null, string|null $domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null) - * @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name, string|null $path = null, string|null $domain = null) - * @method static bool hasQueued(string $key, string|null $path = null) - * @method static \Symfony\Component\HttpFoundation\Cookie|null queued(string $key, mixed $default = null, string|null $path = null) - * @method static void queue(mixed ...$parameters) - * @method static void expire(string $name, string|null $path = null, string|null $domain = null) - * @method static void unqueue(string $name, string|null $path = null) - * @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string|null $domain, bool|null $secure = false, string|null $sameSite = null) - * @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies() - * @method static \Illuminate\Cookie\CookieJar flushQueuedCookies() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Cookie\CookieJar */ diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 4351a1aee6d8..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,16 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static bool supported(string $key, string $cipher) - * @method static string generateKey(string $cipher) - * @method static string encrypt(mixed $value, bool $serialize = true) - * @method static string encryptString(string $value) - * @method static mixed decrypt(string $payload, bool $unserialize = true) - * @method static string decryptString(string $payload) - * @method static string getKey() - * @method static array getAllKeys() - * @method static array getPreviousKeys() - * @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys) + * * @mixin \Illuminate\Encryption\Encrypter */ diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 8bee78ff27ff..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,107 +8,7 @@ use Illuminate\Database\Console\WipeCommand; /** - * @method static \Illuminate\Database\Connection connection(string|null $name = null) - * @method static \Illuminate\Database\ConnectionInterface connectUsing(string $name, array $config, bool $force = false) - * @method static void purge(string|null $name = null) - * @method static void disconnect(string|null $name = null) - * @method static \Illuminate\Database\Connection reconnect(string|null $name = null) - * @method static mixed usingConnection(string $name, callable $callback) - * @method static string getDefaultConnection() - * @method static void setDefaultConnection(string $name) - * @method static string[] supportedDrivers() - * @method static string[] availableDrivers() - * @method static void extend(string $name, callable $resolver) - * @method static void forgetExtension(string $name) - * @method static array getConnections() - * @method static void setReconnector(callable $reconnector) - * @method static \Illuminate\Database\DatabaseManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) - * @method static void useDefaultQueryGrammar() - * @method static void useDefaultSchemaGrammar() - * @method static void useDefaultPostProcessor() - * @method static \Illuminate\Database\Schema\Builder getSchemaBuilder() - * @method static \Illuminate\Database\Query\Builder table(\Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string $table, string|null $as = null) - * @method static \Illuminate\Database\Query\Builder query() - * @method static mixed selectOne(string $query, array $bindings = [], bool $useReadPdo = true) - * @method static mixed scalar(string $query, array $bindings = [], bool $useReadPdo = true) - * @method static array selectFromWriteConnection(string $query, array $bindings = []) - * @method static array select(string $query, array $bindings = [], bool $useReadPdo = true) - * @method static array selectResultSets(string $query, array $bindings = [], bool $useReadPdo = true) - * @method static \Generator cursor(string $query, array $bindings = [], bool $useReadPdo = true) - * @method static bool insert(string $query, array $bindings = []) - * @method static int update(string $query, array $bindings = []) - * @method static int delete(string $query, array $bindings = []) - * @method static bool statement(string $query, array $bindings = []) - * @method static int affectingStatement(string $query, array $bindings = []) - * @method static bool unprepared(string $query) - * @method static array pretend(\Closure $callback) - * @method static mixed withoutPretending(\Closure $callback) - * @method static void bindValues(\PDOStatement $statement, array $bindings) - * @method static array prepareBindings(array $bindings) - * @method static void logQuery(string $query, array $bindings, float|null $time = null) - * @method static void whenQueryingForLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler) - * @method static void allowQueryDurationHandlersToRunAgain() - * @method static float totalQueryDuration() - * @method static void resetTotalQueryDuration() - * @method static void reconnectIfMissingConnection() - * @method static \Illuminate\Database\Connection beforeStartingTransaction(\Closure $callback) - * @method static \Illuminate\Database\Connection beforeExecuting(\Closure $callback) - * @method static void listen(\Closure $callback) - * @method static \Illuminate\Contracts\Database\Query\Expression raw(mixed $value) - * @method static string escape(string|float|int|bool|null $value, bool $binary = false) - * @method static bool hasModifiedRecords() - * @method static void recordsHaveBeenModified(bool $value = true) - * @method static \Illuminate\Database\Connection setRecordModificationState(bool $value) - * @method static void forgetRecordModificationState() - * @method static \Illuminate\Database\Connection useWriteConnectionWhenReading(bool $value = true) - * @method static \PDO getPdo() - * @method static \PDO|\Closure|null getRawPdo() - * @method static \PDO getReadPdo() - * @method static \PDO|\Closure|null getRawReadPdo() - * @method static \Illuminate\Database\Connection setPdo(\PDO|\Closure|null $pdo) - * @method static \Illuminate\Database\Connection setReadPdo(\PDO|\Closure|null $pdo) - * @method static string|null getName() - * @method static string|null getNameWithReadWriteType() - * @method static mixed getConfig(string|null $option = null) - * @method static string getDriverName() - * @method static \Illuminate\Database\Query\Grammars\Grammar getQueryGrammar() - * @method static \Illuminate\Database\Connection setQueryGrammar(\Illuminate\Database\Query\Grammars\Grammar $grammar) - * @method static \Illuminate\Database\Schema\Grammars\Grammar getSchemaGrammar() - * @method static \Illuminate\Database\Connection setSchemaGrammar(\Illuminate\Database\Schema\Grammars\Grammar $grammar) - * @method static \Illuminate\Database\Query\Processors\Processor getPostProcessor() - * @method static \Illuminate\Database\Connection setPostProcessor(\Illuminate\Database\Query\Processors\Processor $processor) - * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() - * @method static \Illuminate\Database\Connection setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) - * @method static void unsetEventDispatcher() - * @method static \Illuminate\Database\Connection setTransactionManager(\Illuminate\Database\DatabaseTransactionsManager $manager) - * @method static void unsetTransactionManager() - * @method static bool pretending() - * @method static array getQueryLog() - * @method static array getRawQueryLog() - * @method static void flushQueryLog() - * @method static void enableQueryLog() - * @method static void disableQueryLog() - * @method static bool logging() - * @method static string getDatabaseName() - * @method static \Illuminate\Database\Connection setDatabaseName(string $database) - * @method static \Illuminate\Database\Connection setReadWriteType(string|null $readWriteType) - * @method static string getTablePrefix() - * @method static \Illuminate\Database\Connection setTablePrefix(string $prefix) - * @method static \Illuminate\Database\Grammar withTablePrefix(\Illuminate\Database\Grammar $grammar) - * @method static string getServerVersion() - * @method static void resolverFor(string $driver, \Closure $callback) - * @method static mixed getResolver(string $driver) - * @method static mixed transaction(\Closure $callback, int $attempts = 1) - * @method static void beginTransaction() - * @method static void commit() - * @method static void rollBack(int|null $toLevel = null) - * @method static int transactionLevel() - * @method static void afterCommit(callable $callback) + * * @mixin \Illuminate\Database\DatabaseManager */ diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 90682c478ea2..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,82 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * @method static mixed use(mixed $handler) - * @method static void useDefault() - * @method static void useCallable(callable $callable) - * @method static void useClass(string $dateClass) - * @method static void useFactory(object $factory) - * @method static \Illuminate\Support\Carbon create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) - * @method static \Illuminate\Support\Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) - * @method static \Illuminate\Support\Carbon|false createFromFormat($format, $time, $tz = null) - * @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) - * @method static \Illuminate\Support\Carbon createFromTimeString($time, $tz = null) - * @method static \Illuminate\Support\Carbon createFromTimestamp($timestamp, $tz = null) - * @method static \Illuminate\Support\Carbon createFromTimestampMs($timestamp, $tz = null) - * @method static \Illuminate\Support\Carbon createFromTimestampUTC($timestamp) - * @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) - * @method static \Illuminate\Support\Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) - * @method static void disableHumanDiffOption($humanDiffOption) - * @method static void enableHumanDiffOption($humanDiffOption) - * @method static mixed executeWithLocale($locale, $func) - * @method static \Illuminate\Support\Carbon fromSerialized($value) - * @method static array getAvailableLocales() - * @method static array getDays() - * @method static int getHumanDiffOptions() - * @method static array getIsoUnits() - * @method static array getLastErrors() - * @method static string getLocale() - * @method static int getMidDayAt() - * @method static \Illuminate\Support\Carbon|null getTestNow() - * @method static \Symfony\Component\Translation\TranslatorInterface getTranslator() - * @method static int getWeekEndsAt() - * @method static int getWeekStartsAt() - * @method static array getWeekendDays() - * @method static bool hasFormat($date, $format) - * @method static bool hasMacro($name) - * @method static bool hasRelativeKeywords($time) - * @method static bool hasTestNow() - * @method static \Illuminate\Support\Carbon instance($date) - * @method static bool isImmutable() - * @method static bool isModifiableUnit($unit) - * @method static bool isMutable() - * @method static bool isStrictModeEnabled() - * @method static bool localeHasDiffOneDayWords($locale) - * @method static bool localeHasDiffSyntax($locale) - * @method static bool localeHasDiffTwoDayWords($locale) - * @method static bool localeHasPeriodSyntax($locale) - * @method static bool localeHasShortUnits($locale) - * @method static void macro($name, $macro) - * @method static \Illuminate\Support\Carbon|null make($var) - * @method static \Illuminate\Support\Carbon maxValue() - * @method static \Illuminate\Support\Carbon minValue() - * @method static void mixin($mixin) - * @method static \Illuminate\Support\Carbon now($tz = null) - * @method static \Illuminate\Support\Carbon parse($time = null, $tz = null) - * @method static string pluralUnit(string $unit) - * @method static void resetMonthsOverflow() - * @method static void resetToStringFormat() - * @method static void resetYearsOverflow() - * @method static void serializeUsing($callback) - * @method static void setHumanDiffOptions($humanDiffOptions) - * @method static bool setLocale($locale) - * @method static void setMidDayAt($hour) - * @method static void setTestNow($testNow = null) - * @method static void setToStringFormat($format) - * @method static void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) - * @method static void setUtf8($utf8) - * @method static void setWeekEndsAt($day) - * @method static void setWeekStartsAt($day) - * @method static void setWeekendDays($days) - * @method static bool shouldOverflowMonths() - * @method static bool shouldOverflowYears() - * @method static string singularUnit(string $unit) - * @method static \Illuminate\Support\Carbon today($tz = null) - * @method static \Illuminate\Support\Carbon tomorrow($tz = null) - * @method static void useMonthsOverflow($monthsOverflow = true) - * @method static void useStrictMode($strictModeEnabled = true) - * @method static void useYearsOverflow($yearsOverflow = true) - * @method static \Illuminate\Support\Carbon yesterday($tz = null) * * @mixin \Illuminate\Support\DateFactory */ diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index 5d6a2871047c..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,35 +6,7 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - * @method static void listen(\Closure|string|array $events, \Closure|string|array|null $listener = null) - * @method static bool hasListeners(string $eventName) - * @method static bool hasWildcardListeners(string $eventName) - * @method static void push(string $event, object|array $payload = []) - * @method static void flush(string $event) - * @method static void subscribe(object|string $subscriber) - * @method static mixed until(string|object $event, mixed $payload = []) - * @method static array|null dispatch(string|object $event, mixed $payload = [], bool $halt = false) - * @method static array getListeners(string $eventName) - * @method static \Closure makeListener(\Closure|string|array $listener, bool $wildcard = false) - * @method static \Closure createClassListener(string $listener, bool $wildcard = false) - * @method static void forget(string $event) - * @method static void forgetPushed() - * @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver) - * @method static \Illuminate\Events\Dispatcher setTransactionManagerResolver(callable $resolver) - * @method static array getRawListeners() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static \Illuminate\Support\Testing\Fakes\EventFake except(array|string $eventsToDispatch) - * @method static void assertListening(string $expectedEvent, string|array $expectedListener) - * @method static void assertDispatched(string|\Closure $event, callable|int|null $callback = null) - * @method static void assertDispatchedTimes(string $event, int $times = 1) - * @method static void assertNotDispatched(string|\Closure $event, callable|null $callback = null) - * @method static void assertNothingDispatched() - * @method static \Illuminate\Support\Collection dispatched(string $event, callable|null $callback = null) - * @method static bool hasDispatched(string $event) - * @method static array dispatchedEvents() + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 0e0cfbd9233a..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,58 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static bool exists(string $path) - * @method static bool missing(string $path) - * @method static string get(string $path, bool $lock = false) - * @method static array json(string $path, int $flags = 0, bool $lock = false) - * @method static string sharedGet(string $path) - * @method static mixed getRequire(string $path, array $data = []) - * @method static mixed requireOnce(string $path, array $data = []) - * @method static \Illuminate\Support\LazyCollection lines(string $path) - * @method static string hash(string $path, string $algorithm = 'md5') - * @method static int|bool put(string $path, string $contents, bool $lock = false) - * @method static void replace(string $path, string $content, int|null $mode = null) - * @method static void replaceInFile(array|string $search, array|string $replace, string $path) - * @method static int prepend(string $path, string $data) - * @method static int append(string $path, string $data, bool $lock = false) - * @method static mixed chmod(string $path, int|null $mode = null) - * @method static bool delete(string|array $paths) - * @method static bool move(string $path, string $target) - * @method static bool copy(string $path, string $target) - * @method static bool|null link(string $target, string $link) - * @method static void relativeLink(string $target, string $link) - * @method static string name(string $path) - * @method static string basename(string $path) - * @method static string dirname(string $path) - * @method static string extension(string $path) - * @method static string|null guessExtension(string $path) - * @method static string type(string $path) - * @method static string|false mimeType(string $path) - * @method static int size(string $path) - * @method static int lastModified(string $path) - * @method static bool isDirectory(string $directory) - * @method static bool isEmptyDirectory(string $directory, bool $ignoreDotFiles = false) - * @method static bool isReadable(string $path) - * @method static bool isWritable(string $path) - * @method static bool hasSameHash(string $firstFile, string $secondFile) - * @method static bool isFile(string $file) - * @method static array glob(string $pattern, int $flags = 0) - * @method static \Symfony\Component\Finder\SplFileInfo[] files(string $directory, bool $hidden = false) - * @method static \Symfony\Component\Finder\SplFileInfo[] allFiles(string $directory, bool $hidden = false) - * @method static array directories(string $directory) - * @method static void ensureDirectoryExists(string $path, int $mode = 0755, bool $recursive = true) - * @method static bool makeDirectory(string $path, int $mode = 0755, bool $recursive = false, bool $force = false) - * @method static bool moveDirectory(string $from, string $to, bool $overwrite = false) - * @method static bool copyDirectory(string $directory, string $destination, int|null $options = null) - * @method static bool deleteDirectory(string $directory, bool $preserve = false) - * @method static bool deleteDirectories(string $directory) - * @method static bool cleanDirectory(string $directory) - * @method static \Illuminate\Filesystem\Filesystem|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Filesystem\Filesystem|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Filesystem\Filesystem */ diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 8a2000dc8e3d..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,32 +5,7 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - * @method static bool has(string|array $ability) - * @method static \Illuminate\Auth\Access\Response allowIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null) - * @method static \Illuminate\Auth\Access\Response denyIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null) - * @method static \Illuminate\Auth\Access\Gate define(string $ability, callable|array|string $callback) - * @method static \Illuminate\Auth\Access\Gate resource(string $name, string $class, array|null $abilities = null) - * @method static \Illuminate\Auth\Access\Gate policy(string $class, string $policy) - * @method static \Illuminate\Auth\Access\Gate before(callable $callback) - * @method static \Illuminate\Auth\Access\Gate after(callable $callback) - * @method static bool allows(iterable|string $ability, array|mixed $arguments = []) - * @method static bool denies(iterable|string $ability, array|mixed $arguments = []) - * @method static bool check(iterable|string $abilities, array|mixed $arguments = []) - * @method static bool any(iterable|string $abilities, array|mixed $arguments = []) - * @method static bool none(iterable|string $abilities, array|mixed $arguments = []) - * @method static \Illuminate\Auth\Access\Response authorize(string $ability, array|mixed $arguments = []) - * @method static \Illuminate\Auth\Access\Response inspect(string $ability, array|mixed $arguments = []) - * @method static mixed raw(string $ability, array|mixed $arguments = []) - * @method static mixed getPolicyFor(object|string $class) - * @method static \Illuminate\Auth\Access\Gate guessPolicyNamesUsing(callable $callback) - * @method static mixed resolvePolicy(object|string $class) - * @method static \Illuminate\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user) - * @method static array abilities() - * @method static array policies() - * @method static \Illuminate\Auth\Access\Gate defaultDenialResponse(\Illuminate\Auth\Access\Response $response) - * @method static \Illuminate\Auth\Access\Gate setContainer(\Illuminate\Contracts\Container\Container $container) - * @method static \Illuminate\Auth\Access\Response denyWithStatus(int $status, string|null $message = null, int|null $code = null) - * @method static \Illuminate\Auth\Access\Response denyAsNotFound(string|null $message = null, int|null $code = null) + * * @mixin \Illuminate\Auth\Access\Gate */ diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 726f70a0cafb..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,21 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Hashing\BcryptHasher createBcryptDriver() - * @method static \Illuminate\Hashing\ArgonHasher createArgonDriver() - * @method static \Illuminate\Hashing\Argon2IdHasher createArgon2idDriver() - * @method static array info(string $hashedValue) - * @method static string make(string $value, array $options = []) - * @method static bool check(string $value, string $hashedValue, array $options = []) - * @method static bool needsRehash(string $hashedValue, array $options = []) - * @method static bool isHashed(string $value) - * @method static string getDefaultDriver() - * @method static mixed driver(string|null $driver = null) - * @method static \Illuminate\Hashing\HashManager extend(string $driver, \Closure $callback) - * @method static array getDrivers() - * @method static \Illuminate\Contracts\Container\Container getContainer() - * @method static \Illuminate\Hashing\HashManager setContainer(\Illuminate\Contracts\Container\Container $container) - * @method static \Illuminate\Hashing\HashManager forgetDrivers() + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index e09cf39e9e99..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,91 +5,7 @@ use Illuminate\Http\Client\Factory; /** - * @method static \Illuminate\Http\Client\Factory globalMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\Factory globalRequestMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\Factory globalResponseMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\Factory globalOptions(\Closure|array $options) - * @method static \GuzzleHttp\Promise\PromiseInterface response(array|string|null $body = null, int $status = 200, array $headers = []) - * @method static \Illuminate\Http\Client\ResponseSequence sequence(array $responses = []) - * @method static \Illuminate\Http\Client\Factory allowStrayRequests() - * @method static void recordRequestResponsePair(\Illuminate\Http\Client\Request $request, \Illuminate\Http\Client\Response $response) - * @method static void assertSent(callable $callback) - * @method static void assertSentInOrder(array $callbacks) - * @method static void assertNotSent(callable $callback) - * @method static void assertNothingSent() - * @method static void assertSentCount(int $count) - * @method static void assertSequencesAreEmpty() - * @method static \Illuminate\Support\Collection recorded(callable $callback = null) - * @method static \Illuminate\Http\Client\PendingRequest createPendingRequest() - * @method static \Illuminate\Contracts\Events\Dispatcher|null getDispatcher() - * @method static array getGlobalMiddleware() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) - * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) - * @method static \Illuminate\Http\Client\PendingRequest withBody(\Psr\Http\Message\StreamInterface|string $content, string $contentType = 'application/json') - * @method static \Illuminate\Http\Client\PendingRequest asJson() - * @method static \Illuminate\Http\Client\PendingRequest asForm() - * @method static \Illuminate\Http\Client\PendingRequest attach(string|array $name, string|resource $contents = '', string|null $filename = null, array $headers = []) - * @method static \Illuminate\Http\Client\PendingRequest asMultipart() - * @method static \Illuminate\Http\Client\PendingRequest bodyFormat(string $format) - * @method static \Illuminate\Http\Client\PendingRequest withQueryParameters(array $parameters) - * @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType) - * @method static \Illuminate\Http\Client\PendingRequest acceptJson() - * @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType) - * @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers) - * @method static \Illuminate\Http\Client\PendingRequest withHeader(string $name, mixed $value) - * @method static \Illuminate\Http\Client\PendingRequest replaceHeaders(array $headers) - * @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password) - * @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password) - * @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer') - * @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string|bool $userAgent) - * @method static \Illuminate\Http\Client\PendingRequest withUrlParameters(array $parameters = []) - * @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain) - * @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max) - * @method static \Illuminate\Http\Client\PendingRequest withoutRedirecting() - * @method static \Illuminate\Http\Client\PendingRequest withoutVerifying() - * @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to) - * @method static \Illuminate\Http\Client\PendingRequest timeout(int $seconds) - * @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int $seconds) - * @method static \Illuminate\Http\Client\PendingRequest retry(array|int $times, \Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) - * @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options) - * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\PendingRequest withRequestMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\PendingRequest withResponseMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) - * @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null) - * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition) - * @method static \Illuminate\Http\Client\PendingRequest throwUnless(bool $condition) - * @method static \Illuminate\Http\Client\PendingRequest dump() - * @method static \Illuminate\Http\Client\PendingRequest dd() - * @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null) - * @method static \Illuminate\Http\Client\Response head(string $url, array|string|null $query = null) - * @method static \Illuminate\Http\Client\Response post(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response patch(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response put(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response delete(string $url, array $data = []) - * @method static array pool(callable $callback) - * @method static \Illuminate\Http\Client\Response send(string $method, string $url, array $options = []) - * @method static \GuzzleHttp\Client buildClient() - * @method static \GuzzleHttp\Client createClient(\GuzzleHttp\HandlerStack $handlerStack) - * @method static \GuzzleHttp\HandlerStack buildHandlerStack() - * @method static \GuzzleHttp\HandlerStack pushHandlers(\GuzzleHttp\HandlerStack $handlerStack) - * @method static \Closure buildBeforeSendingHandler() - * @method static \Closure buildRecorderHandler() - * @method static \Closure buildStubHandler() - * @method static \GuzzleHttp\Psr7\RequestInterface runBeforeSendingCallbacks(\GuzzleHttp\Psr7\RequestInterface $request, array $options) - * @method static array mergeOptions(array ...$options) - * @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback) - * @method static \Illuminate\Http\Client\PendingRequest async(bool $async = true) - * @method static \GuzzleHttp\Promise\PromiseInterface|null getPromise() - * @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client) - * @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler) - * @method static array getOptions() - * @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * * @mixin \Illuminate\Http\Client\Factory */ diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index 745ff99ce526..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,33 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static bool hasForLocale(string $key, string|null $locale = null) - * @method static bool has(string $key, string|null $locale = null, bool $fallback = true) - * @method static string|array get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true) - * @method static string choice(string $key, \Countable|int|float|array $number, array $replace = [], string|null $locale = null) - * @method static void addLines(array $lines, string $locale, string $namespace = '*') - * @method static void load(string $namespace, string $group, string $locale) - * @method static \Illuminate\Translation\Translator handleMissingKeysUsing(callable|null $callback) - * @method static void addNamespace(string $namespace, string $hint) - * @method static void addJsonPath(string $path) - * @method static array parseKey(string $key) - * @method static void determineLocalesUsing(callable $callback) - * @method static \Illuminate\Translation\MessageSelector getSelector() - * @method static void setSelector(\Illuminate\Translation\MessageSelector $selector) - * @method static \Illuminate\Contracts\Translation\Loader getLoader() - * @method static string locale() - * @method static string getLocale() - * @method static void setLocale(string $locale) - * @method static string getFallback() - * @method static void setFallback(string $fallback) - * @method static void setLoaded(array $loaded) - * @method static void stringable(callable|string $class, callable|null $handler = null) - * @method static void setParsedKey(string $key, array $parsed) - * @method static void flushParsedKeys() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Translation\Translator */ diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 0a34a78a0c29..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,37 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Psr\Log\LoggerInterface build(array $config) - * @method static \Psr\Log\LoggerInterface stack(array $channels, string|null $channel = null) - * @method static \Psr\Log\LoggerInterface channel(string|null $channel = null) - * @method static \Psr\Log\LoggerInterface driver(string|null $driver = null) - * @method static \Illuminate\Log\LogManager shareContext(array $context) - * @method static array sharedContext() - * @method static \Illuminate\Log\LogManager withoutContext() - * @method static \Illuminate\Log\LogManager flushSharedContext() - * @method static string|null getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static \Illuminate\Log\LogManager extend(string $driver, \Closure $callback) - * @method static void forgetChannel(string|null $driver = null) - * @method static array getChannels() - * @method static void emergency(string|\Stringable $message, array $context = []) - * @method static void alert(string|\Stringable $message, array $context = []) - * @method static void critical(string|\Stringable $message, array $context = []) - * @method static void error(string|\Stringable $message, array $context = []) - * @method static void warning(string|\Stringable $message, array $context = []) - * @method static void notice(string|\Stringable $message, array $context = []) - * @method static void info(string|\Stringable $message, array $context = []) - * @method static void debug(string|\Stringable $message, array $context = []) - * @method static void log(mixed $level, string|\Stringable $message, array $context = []) - * @method static \Illuminate\Log\LogManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []) - * @method static \Illuminate\Log\Logger withContext(array $context = []) - * @method static void listen(\Closure $callback) - * @method static \Psr\Log\LoggerInterface getLogger() - * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() - * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher) - * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * * @mixin \Illuminate\Log\LogManager */ diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 7053977c92ce..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,57 +5,7 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - * @method static \Illuminate\Contracts\Mail\Mailer mailer(string|null $name = null) - * @method static \Illuminate\Mail\Mailer driver(string|null $driver = null) - * @method static \Symfony\Component\Mailer\Transport\TransportInterface createSymfonyTransport(array $config) - * @method static string getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static void purge(string|null $name = null) - * @method static \Illuminate\Mail\MailManager extend(string $driver, \Closure $callback) - * @method static \Illuminate\Contracts\Foundation\Application getApplication() - * @method static \Illuminate\Mail\MailManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static \Illuminate\Mail\MailManager forgetMailers() - * @method static void alwaysFrom(string $address, string|null $name = null) - * @method static void alwaysReplyTo(string $address, string|null $name = null) - * @method static void alwaysReturnPath(string $address) - * @method static void alwaysTo(string $address, string|null $name = null) - * @method static \Illuminate\Mail\PendingMail to(mixed $users, string|null $name = null) - * @method static \Illuminate\Mail\PendingMail cc(mixed $users, string|null $name = null) - * @method static \Illuminate\Mail\PendingMail bcc(mixed $users, string|null $name = null) - * @method static \Illuminate\Mail\SentMessage|null html(string $html, mixed $callback) - * @method static \Illuminate\Mail\SentMessage|null raw(string $text, mixed $callback) - * @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, mixed $callback) - * @method static string render(string|array $view, array $data = []) - * @method static \Illuminate\Mail\SentMessage|null send(\Illuminate\Contracts\Mail\Mailable|string|array $view, array $data = [], \Closure|string|null $callback = null) - * @method static \Illuminate\Mail\SentMessage|null sendNow(\Illuminate\Contracts\Mail\Mailable|string|array $mailable, array $data = [], \Closure|string|null $callback = null) - * @method static mixed queue(\Illuminate\Contracts\Mail\Mailable|string|array $view, string|null $queue = null) - * @method static mixed onQueue(string $queue, \Illuminate\Contracts\Mail\Mailable $view) - * @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable $view) - * @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view, string|null $queue = null) - * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view) - * @method static \Symfony\Component\Mailer\Transport\TransportInterface getSymfonyTransport() - * @method static \Illuminate\Contracts\View\Factory getViewFactory() - * @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport) - * @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static void assertSent(string|\Closure $mailable, callable|array|string|int|null $callback = null) - * @method static void assertNotOutgoing(string|\Closure $mailable, callable|null $callback = null) - * @method static void assertNotSent(string|\Closure $mailable, callable|array|string|null $callback = null) - * @method static void assertNothingOutgoing() - * @method static void assertNothingSent() - * @method static void assertQueued(string|\Closure $mailable, callable|array|string|int|null $callback = null) - * @method static void assertNotQueued(string|\Closure $mailable, callable|array|string|null $callback = null) - * @method static void assertNothingQueued() - * @method static void assertSentCount(int $count) - * @method static void assertQueuedCount(int $count) - * @method static void assertOutgoingCount(int $count) - * @method static \Illuminate\Support\Collection sent(string|\Closure $mailable, callable|null $callback = null) - * @method static bool hasSent(string $mailable) - * @method static \Illuminate\Support\Collection queued(string|\Closure $mailable, callable|null $callback = null) - * @method static bool hasQueued(string $mailable) + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 297d709b043c..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,36 +7,7 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - * @method static void send(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification) - * @method static void sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification, array|null $channels = null) - * @method static mixed channel(string|null $name = null) - * @method static string getDefaultDriver() - * @method static string deliversVia() - * @method static void deliverVia(string $channel) - * @method static \Illuminate\Notifications\ChannelManager locale(string $locale) - * @method static mixed driver(string|null $driver = null) - * @method static \Illuminate\Notifications\ChannelManager extend(string $driver, \Closure $callback) - * @method static array getDrivers() - * @method static \Illuminate\Contracts\Container\Container getContainer() - * @method static \Illuminate\Notifications\ChannelManager setContainer(\Illuminate\Contracts\Container\Container $container) - * @method static \Illuminate\Notifications\ChannelManager forgetDrivers() - * @method static void assertSentOnDemand(string|\Closure $notification, callable|null $callback = null) - * @method static void assertSentTo(mixed $notifiable, string|\Closure $notification, callable|null $callback = null) - * @method static void assertSentOnDemandTimes(string $notification, int $times = 1) - * @method static void assertSentToTimes(mixed $notifiable, string $notification, int $times = 1) - * @method static void assertNotSentTo(mixed $notifiable, string|\Closure $notification, callable|null $callback = null) - * @method static void assertNothingSent() - * @method static void assertNothingSentTo(mixed $notifiable) - * @method static void assertSentTimes(string $notification, int $expectedCount) - * @method static void assertCount(int $expectedCount) - * @method static \Illuminate\Support\Collection sent(mixed $notifiable, string $notification, callable|null $callback = null) - * @method static bool hasSent(mixed $notifiable, string $notification) - * @method static \Illuminate\Support\Testing\Fakes\NotificationFake serializeAndRestore(bool $serializeAndRestore = true) - * @method static array sentNotifications() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index 390e08ad4842..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,20 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static void resolveOptionsUsing(\Closure|null $resolver) - * @method static void resolveTokenUsing(\Closure|null $resolver) - * @method static void setUpProcess(callable $callback) - * @method static void setUpTestCase(callable $callback) - * @method static void setUpTestDatabase(callable $callback) - * @method static void tearDownProcess(callable $callback) - * @method static void tearDownTestCase(callable $callback) - * @method static void callSetUpProcessCallbacks() - * @method static void callSetUpTestCaseCallbacks(\Illuminate\Foundation\Testing\TestCase $testCase) - * @method static void callSetUpTestDatabaseCallbacks(string $database) - * @method static void callTearDownProcessCallbacks() - * @method static void callTearDownTestCaseCallbacks(\Illuminate\Foundation\Testing\TestCase $testCase) - * @method static mixed option(string $option) - * @method static string|false token() + * * @mixin \Illuminate\Testing\ParallelTesting */ diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 53ffb94c45d1..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,16 +5,7 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - * @method static \Illuminate\Contracts\Auth\PasswordBroker broker(string|null $name = null) - * @method static string getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static string sendResetLink(array $credentials, \Closure|null $callback = null) - * @method static mixed reset(array $credentials, \Closure $callback) - * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials) - * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user) - * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user) - * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token) - * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 79903f9ab1e2..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,15 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Pipeline\Pipeline send(mixed $passable) - * @method static \Illuminate\Pipeline\Pipeline through(array|mixed $pipes) - * @method static \Illuminate\Pipeline\Pipeline pipe(array|mixed $pipes) - * @method static \Illuminate\Pipeline\Pipeline via(string $method) - * @method static mixed then(\Closure $destination) - * @method static mixed thenReturn() - * @method static \Illuminate\Pipeline\Pipeline setContainer(\Illuminate\Contracts\Container\Container $container) - * @method static \Illuminate\Pipeline\Pipeline|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Pipeline\Pipeline|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * * @mixin \Illuminate\Pipeline\Pipeline */ diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 39391c0a4c73..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,43 +6,7 @@ use Illuminate\Process\Factory; /** - * @method static \Illuminate\Process\PendingProcess command(array|string $command) - * @method static \Illuminate\Process\PendingProcess path(string $path) - * @method static \Illuminate\Process\PendingProcess timeout(int $timeout) - * @method static \Illuminate\Process\PendingProcess idleTimeout(int $timeout) - * @method static \Illuminate\Process\PendingProcess forever() - * @method static \Illuminate\Process\PendingProcess env(array $environment) - * @method static \Illuminate\Process\PendingProcess input(\Traversable|resource|string|int|float|bool|null $input) - * @method static \Illuminate\Process\PendingProcess quietly() - * @method static \Illuminate\Process\PendingProcess tty(bool $tty = true) - * @method static \Illuminate\Process\PendingProcess options(array $options) - * @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null) - * @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null) - * @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers) - * @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Process\FakeProcessResult result(array|string $output = '', array|string $errorOutput = '', int $exitCode = 0) - * @method static \Illuminate\Process\FakeProcessDescription describe() - * @method static \Illuminate\Process\FakeProcessSequence sequence(array $processes = []) - * @method static bool isRecording() - * @method static \Illuminate\Process\Factory recordIfRecording(\Illuminate\Process\PendingProcess $process, \Illuminate\Contracts\Process\ProcessResult $result) - * @method static \Illuminate\Process\Factory record(\Illuminate\Process\PendingProcess $process, \Illuminate\Contracts\Process\ProcessResult $result) - * @method static \Illuminate\Process\Factory preventStrayProcesses(bool $prevent = true) - * @method static bool preventingStrayProcesses() - * @method static \Illuminate\Process\Factory assertRan(\Closure|string $callback) - * @method static \Illuminate\Process\Factory assertRanTimes(\Closure|string $callback, int $times = 1) - * @method static \Illuminate\Process\Factory assertNotRan(\Closure|string $callback) - * @method static \Illuminate\Process\Factory assertDidntRun(\Closure|string $callback) - * @method static \Illuminate\Process\Factory assertNothingRan() - * @method static \Illuminate\Process\Pool pool(callable $callback) - * @method static \Illuminate\Contracts\Process\ProcessResult pipe(callable|array $callback, callable|null $output = null) - * @method static \Illuminate\Process\ProcessPoolResults concurrently(callable $callback, callable|null $output = null) - * @method static \Illuminate\Process\PendingProcess newPendingProcess() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 96ec07cb5c80..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,52 +6,7 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - * @method static void before(mixed $callback) - * @method static void after(mixed $callback) - * @method static void exceptionOccurred(mixed $callback) - * @method static void looping(mixed $callback) - * @method static void failing(mixed $callback) - * @method static void stopping(mixed $callback) - * @method static bool connected(string|null $name = null) - * @method static \Illuminate\Contracts\Queue\Queue connection(string|null $name = null) - * @method static void extend(string $driver, \Closure $resolver) - * @method static void addConnector(string $driver, \Closure $resolver) - * @method static string getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static string getName(string|null $connection = null) - * @method static \Illuminate\Contracts\Foundation\Application getApplication() - * @method static \Illuminate\Queue\QueueManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static int size(string|null $queue = null) - * @method static mixed push(string|object $job, mixed $data = '', string|null $queue = null) - * @method static mixed pushOn(string $queue, string|object $job, mixed $data = '') - * @method static mixed pushRaw(string $payload, string|null $queue = null, array $options = []) - * @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '', string|null $queue = null) - * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '') - * @method static mixed bulk(array $jobs, mixed $data = '', string|null $queue = null) - * @method static \Illuminate\Contracts\Queue\Job|null pop(string|null $queue = null) - * @method static string getConnectionName() - * @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $name) - * @method static mixed getJobTries(mixed $job) - * @method static mixed getJobBackoff(mixed $job) - * @method static mixed getJobExpiration(mixed $job) - * @method static void createPayloadUsing(callable|null $callback) - * @method static \Illuminate\Container\Container getContainer() - * @method static void setContainer(\Illuminate\Container\Container $container) - * @method static \Illuminate\Support\Testing\Fakes\QueueFake except(array|string $jobsToBeQueued) - * @method static void assertPushed(string|\Closure $job, callable|int|null $callback = null) - * @method static void assertPushedOn(string $queue, string|\Closure $job, callable|null $callback = null) - * @method static void assertPushedWithChain(string $job, array $expectedChain = [], callable|null $callback = null) - * @method static void assertPushedWithoutChain(string $job, callable|null $callback = null) - * @method static void assertClosurePushed(callable|int|null $callback = null) - * @method static void assertClosureNotPushed(callable|null $callback = null) - * @method static void assertNotPushed(string|\Closure $job, callable|null $callback = null) - * @method static void assertCount(int $expectedCount) - * @method static void assertNothingPushed() - * @method static \Illuminate\Support\Collection pushed(string $job, callable|null $callback = null) - * @method static bool hasPushed(string $job) - * @method static bool shouldFakeJob(object $job) - * @method static array pushedJobs() - * @method static \Illuminate\Support\Testing\Fakes\QueueFake serializeAndRestore(bool $serializeAndRestore = true) + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index be362840cb95..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,20 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Cache\RateLimiter for(string $name, \Closure $callback) - * @method static \Closure|null limiter(string $name) - * @method static mixed attempt(string $key, int $maxAttempts, \Closure $callback, int $decaySeconds = 60) - * @method static bool tooManyAttempts(string $key, int $maxAttempts) - * @method static int hit(string $key, int $decaySeconds = 60) - * @method static int increment(string $key, int $decaySeconds = 60, int $amount = 1) - * @method static int decrement(string $key, int $decaySeconds = 60, int $amount = 1) - * @method static mixed attempts(string $key) - * @method static mixed resetAttempts(string $key) - * @method static int remaining(string $key, int $maxAttempts) - * @method static int retriesLeft(string $key, int $maxAttempts) - * @method static void clear(string $key) - * @method static int availableIn(string $key) - * @method static string cleanRateLimiterKey(string $key) + * * @mixin \Illuminate\Cache\RateLimiter */ diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index f990f8aa2ece..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,25 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Http\RedirectResponse back(int $status = 302, array $headers = [], mixed $fallback = false) - * @method static \Illuminate\Http\RedirectResponse refresh(int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse guest(string $path, int $status = 302, array $headers = [], bool|null $secure = null) - * @method static \Illuminate\Http\RedirectResponse intended(mixed $default = '/', int $status = 302, array $headers = [], bool|null $secure = null) - * @method static \Illuminate\Http\RedirectResponse to(string $path, int $status = 302, array $headers = [], bool|null $secure = null) - * @method static \Illuminate\Http\RedirectResponse away(string $path, int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse secure(string $path, int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse route(string $route, mixed $parameters = [], int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse signedRoute(string $route, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse temporarySignedRoute(string $route, \DateTimeInterface|\DateInterval|int|null $expiration, mixed $parameters = [], int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse action(string|array $action, mixed $parameters = [], int $status = 302, array $headers = []) - * @method static \Illuminate\Routing\UrlGenerator getUrlGenerator() - * @method static void setSession(\Illuminate\Session\Store $session) - * @method static string|null getIntendedUrl() - * @method static \Illuminate\Routing\Redirector setIntendedUrl(string $url) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Routing\Redirector */ diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 760818862ee4..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,32 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Redis\Connections\Connection connection(string|null $name = null) - * @method static \Illuminate\Redis\Connections\Connection resolve(string|null $name = null) - * @method static array connections() - * @method static void enableEvents() - * @method static void disableEvents() - * @method static void setDriver(string $driver) - * @method static void purge(string|null $name = null) - * @method static \Illuminate\Redis\RedisManager extend(string $driver, \Closure $callback) - * @method static void createSubscription(array|string $channels, \Closure $callback, string $method = 'subscribe') - * @method static \Illuminate\Redis\Limiters\ConcurrencyLimiterBuilder funnel(string $name) - * @method static \Illuminate\Redis\Limiters\DurationLimiterBuilder throttle(string $name) - * @method static mixed client() - * @method static void subscribe(array|string $channels, \Closure $callback) - * @method static void psubscribe(array|string $channels, \Closure $callback) - * @method static mixed command(string $method, array $parameters = []) - * @method static void listen(\Closure $callback) - * @method static string|null getName() - * @method static \Illuminate\Redis\Connections\Connection setName(string $name) - * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() - * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) - * @method static void unsetEventDispatcher() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) + * * @mixin \Illuminate\Redis\RedisManager */ diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 4ad2b3a8f8da..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,182 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Http\Request capture() - * @method static \Illuminate\Http\Request instance() - * @method static string method() - * @method static string root() - * @method static string url() - * @method static string fullUrl() - * @method static string fullUrlWithQuery(array $query) - * @method static string fullUrlWithoutQuery(array|string $keys) - * @method static string path() - * @method static string decodedPath() - * @method static string|null segment(int $index, string|null $default = null) - * @method static array segments() - * @method static bool is(mixed ...$patterns) - * @method static bool routeIs(mixed ...$patterns) - * @method static bool fullUrlIs(mixed ...$patterns) - * @method static string host() - * @method static string httpHost() - * @method static string schemeAndHttpHost() - * @method static bool ajax() - * @method static bool pjax() - * @method static bool prefetch() - * @method static bool secure() - * @method static string|null ip() - * @method static array ips() - * @method static string|null userAgent() - * @method static \Illuminate\Http\Request merge(array $input) - * @method static \Illuminate\Http\Request mergeIfMissing(array $input) - * @method static \Illuminate\Http\Request replace(array $input) - * @method static mixed get(string $key, mixed $default = null) - * @method static \Symfony\Component\HttpFoundation\InputBag|mixed json(string|null $key = null, mixed $default = null) - * @method static \Illuminate\Http\Request createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null) - * @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request) - * @method static \Illuminate\Http\Request duplicate(array|null $query = null, array|null $request = null, array|null $attributes = null, array|null $cookies = null, array|null $files = null, array|null $server = null) - * @method static bool hasSession(bool $skipIfUninitialized = false) - * @method static \Symfony\Component\HttpFoundation\Session\SessionInterface getSession() - * @method static \Illuminate\Contracts\Session\Session session() - * @method static void setLaravelSession(\Illuminate\Contracts\Session\Session $session) - * @method static void setRequestLocale(string $locale) - * @method static void setDefaultRequestLocale(string $locale) - * @method static mixed user(string|null $guard = null) - * @method static \Illuminate\Routing\Route|object|string|null route(string|null $param = null, mixed $default = null) - * @method static string fingerprint() - * @method static \Illuminate\Http\Request setJson(\Symfony\Component\HttpFoundation\InputBag $json) - * @method static \Closure getUserResolver() - * @method static \Illuminate\Http\Request setUserResolver(\Closure $callback) - * @method static \Closure getRouteResolver() - * @method static \Illuminate\Http\Request setRouteResolver(\Closure $callback) - * @method static array toArray() - * @method static void initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null) - * @method static \Illuminate\Http\Request createFromGlobals() - * @method static \Illuminate\Http\Request create(string $uri, string $method = 'GET', array $parameters = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null) - * @method static void setFactory(callable|null $callable) - * @method static void overrideGlobals() - * @method static void setTrustedProxies(array $proxies, int $trustedHeaderSet) - * @method static string[] getTrustedProxies() - * @method static int getTrustedHeaderSet() - * @method static void setTrustedHosts(array $hostPatterns) - * @method static string[] getTrustedHosts() - * @method static string normalizeQueryString(string|null $qs) - * @method static void enableHttpMethodParameterOverride() - * @method static bool getHttpMethodParameterOverride() - * @method static bool hasPreviousSession() - * @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session) - * @method static array getClientIps() - * @method static string|null getClientIp() - * @method static string getScriptName() - * @method static string getPathInfo() - * @method static string getBasePath() - * @method static string getBaseUrl() - * @method static string getScheme() - * @method static int|string|null getPort() - * @method static string|null getUser() - * @method static string|null getPassword() - * @method static string|null getUserInfo() - * @method static string getHttpHost() - * @method static string getRequestUri() - * @method static string getSchemeAndHttpHost() - * @method static string getUri() - * @method static string getUriForPath(string $path) - * @method static string getRelativeUriForPath(string $path) - * @method static string|null getQueryString() - * @method static bool isSecure() - * @method static string getHost() - * @method static void setMethod(string $method) - * @method static string getMethod() - * @method static string getRealMethod() - * @method static string|null getMimeType(string $format) - * @method static string[] getMimeTypes(string $format) - * @method static string|null getFormat(string|null $mimeType) - * @method static void setFormat(string|null $format, string|string[] $mimeTypes) - * @method static string|null getRequestFormat(string|null $default = 'html') - * @method static void setRequestFormat(string|null $format) - * @method static string|null getContentTypeFormat() - * @method static void setDefaultLocale(string $locale) - * @method static string getDefaultLocale() - * @method static void setLocale(string $locale) - * @method static string getLocale() - * @method static bool isMethod(string $method) - * @method static bool isMethodSafe() - * @method static bool isMethodIdempotent() - * @method static bool isMethodCacheable() - * @method static string|null getProtocolVersion() - * @method static string|resource getContent(bool $asResource = false) - * @method static \Symfony\Component\HttpFoundation\InputBag getPayload() - * @method static array getETags() - * @method static bool isNoCache() - * @method static string|null getPreferredFormat(string|null $default = 'html') - * @method static string|null getPreferredLanguage(string[] $locales = null) - * @method static string[] getLanguages() - * @method static string[] getCharsets() - * @method static string[] getEncodings() - * @method static string[] getAcceptableContentTypes() - * @method static bool isXmlHttpRequest() - * @method static bool preferSafeContent() - * @method static bool isFromTrustedProxy() - * @method static array filterPrecognitiveRules(array $rules) - * @method static bool isAttemptingPrecognition() - * @method static bool isPrecognitive() - * @method static bool isJson() - * @method static bool expectsJson() - * @method static bool wantsJson() - * @method static bool accepts(string|array $contentTypes) - * @method static string|null prefers(string|array $contentTypes) - * @method static bool acceptsAnyContentType() - * @method static bool acceptsJson() - * @method static bool acceptsHtml() - * @method static bool matchesType(string $actual, string $type) - * @method static string format(string $default = 'html') - * @method static string|array|null old(string|null $key = null, \Illuminate\Database\Eloquent\Model|string|array|null $default = null) - * @method static void flash() - * @method static void flashOnly(array|mixed $keys) - * @method static void flashExcept(array|mixed $keys) - * @method static void flush() - * @method static string|array|null server(string|null $key = null, string|array|null $default = null) - * @method static bool hasHeader(string $key) - * @method static string|array|null header(string|null $key = null, string|array|null $default = null) - * @method static string|null bearerToken() - * @method static bool exists(string|array $key) - * @method static bool has(string|array $key) - * @method static bool hasAny(string|array $keys) - * @method static \Illuminate\Http\Request|mixed whenHas(string $key, callable $callback, callable|null $default = null) - * @method static bool filled(string|array $key) - * @method static bool isNotFilled(string|array $key) - * @method static bool anyFilled(string|array $keys) - * @method static \Illuminate\Http\Request|mixed whenFilled(string $key, callable $callback, callable|null $default = null) - * @method static bool missing(string|array $key) - * @method static \Illuminate\Http\Request|mixed whenMissing(string $key, callable $callback, callable|null $default = null) - * @method static array keys() - * @method static array all(array|mixed|null $keys = null) - * @method static mixed input(string|null $key = null, mixed $default = null) - * @method static \Illuminate\Support\Stringable str(string $key, mixed $default = null) - * @method static \Illuminate\Support\Stringable string(string $key, mixed $default = null) - * @method static bool boolean(string|null $key = null, bool $default = false) - * @method static int integer(string $key, int $default = 0) - * @method static float float(string $key, float $default = 0) - * @method static \Illuminate\Support\Carbon|null date(string $key, string|null $format = null, string|null $tz = null) - * @method static object|null enum(string $key, string $enumClass) - * @method static \Illuminate\Support\Collection collect(array|string|null $key = null) - * @method static array only(array|mixed $keys) - * @method static array except(array|mixed $keys) - * @method static string|array|null query(string|null $key = null, string|array|null $default = null) - * @method static string|array|null post(string|null $key = null, string|array|null $default = null) - * @method static bool hasCookie(string $key) - * @method static string|array|null cookie(string|null $key = null, string|array|null $default = null) - * @method static array allFiles() - * @method static bool hasFile(string $key) - * @method static \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null file(string|null $key = null, mixed $default = null) - * @method static \Illuminate\Http\Request dump(mixed $keys = []) - * @method static never dd(mixed ...$args) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static array validate(array $rules, ...$params) - * @method static array validateWithBag(string $errorBag, array $rules, ...$params) - * @method static bool hasValidSignature(bool $absolute = true) + * * @mixin \Illuminate\Http\Request */ diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 73bf663fbec8..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,25 +5,7 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - * @method static \Illuminate\Http\Response make(mixed $content = '', int $status = 200, array $headers = []) - * @method static \Illuminate\Http\Response noContent(int $status = 204, array $headers = []) - * @method static \Illuminate\Http\Response view(string|array $view, array $data = [], int $status = 200, array $headers = []) - * @method static \Illuminate\Http\JsonResponse json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0) - * @method static \Illuminate\Http\JsonResponse jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0) - * @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable $callback, int $status = 200, array $headers = []) - * @method static \Symfony\Component\HttpFoundation\StreamedJsonResponse streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15) - * @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment') - * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment') - * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string $file, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null) - * @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = []) - * @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null) - * @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Routing\ResponseFactory */ diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 739cfa2ba42d..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,103 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Routing\Route get(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route post(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route put(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route patch(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route delete(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route options(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route any(string $uri, array|string|callable|null $action = null) - * @method static \Illuminate\Routing\Route fallback(array|string|callable|null $action) - * @method static \Illuminate\Routing\Route redirect(string $uri, string $destination, int $status = 302) - * @method static \Illuminate\Routing\Route permanentRedirect(string $uri, string $destination) - * @method static \Illuminate\Routing\Route view(string $uri, string $view, array $data = [], int|array $status = 200, array $headers = []) - * @method static \Illuminate\Routing\Route match(array|string $methods, string $uri, array|string|callable|null $action = null) - * @method static void resources(array $resources, array $options = []) - * @method static \Illuminate\Routing\PendingResourceRegistration resource(string $name, string $controller, array $options = []) - * @method static void apiResources(array $resources, array $options = []) - * @method static \Illuminate\Routing\PendingResourceRegistration apiResource(string $name, string $controller, array $options = []) - * @method static void singletons(array $singletons, array $options = []) - * @method static \Illuminate\Routing\PendingSingletonResourceRegistration singleton(string $name, string $controller, array $options = []) - * @method static void apiSingletons(array $singletons, array $options = []) - * @method static \Illuminate\Routing\PendingSingletonResourceRegistration apiSingleton(string $name, string $controller, array $options = []) - * @method static \Illuminate\Routing\Router group(array $attributes, \Closure|array|string $routes) - * @method static array mergeWithLastGroup(array $new, bool $prependExistingPrefix = true) - * @method static string getLastGroupPrefix() - * @method static \Illuminate\Routing\Route addRoute(array|string $methods, string $uri, array|string|callable|null $action) - * @method static \Illuminate\Routing\Route newRoute(array|string $methods, string $uri, mixed $action) - * @method static \Symfony\Component\HttpFoundation\Response respondWithRoute(string $name) - * @method static \Symfony\Component\HttpFoundation\Response dispatch(\Illuminate\Http\Request $request) - * @method static \Symfony\Component\HttpFoundation\Response dispatchToRoute(\Illuminate\Http\Request $request) - * @method static array gatherRouteMiddleware(\Illuminate\Routing\Route $route) - * @method static array resolveMiddleware(array $middleware, array $excluded = []) - * @method static \Symfony\Component\HttpFoundation\Response prepareResponse(\Symfony\Component\HttpFoundation\Request $request, mixed $response) - * @method static \Symfony\Component\HttpFoundation\Response toResponse(\Symfony\Component\HttpFoundation\Request $request, mixed $response) - * @method static \Illuminate\Routing\Route substituteBindings(\Illuminate\Routing\Route $route) - * @method static void substituteImplicitBindings(\Illuminate\Routing\Route $route) - * @method static \Illuminate\Routing\Router substituteImplicitBindingsUsing(callable $callback) - * @method static void matched(string|callable $callback) - * @method static array getMiddleware() - * @method static \Illuminate\Routing\Router aliasMiddleware(string $name, string $class) - * @method static bool hasMiddlewareGroup(string $name) - * @method static array getMiddlewareGroups() - * @method static \Illuminate\Routing\Router middlewareGroup(string $name, array $middleware) - * @method static \Illuminate\Routing\Router prependMiddlewareToGroup(string $group, string $middleware) - * @method static \Illuminate\Routing\Router pushMiddlewareToGroup(string $group, string $middleware) - * @method static \Illuminate\Routing\Router removeMiddlewareFromGroup(string $group, string $middleware) - * @method static \Illuminate\Routing\Router flushMiddlewareGroups() - * @method static void bind(string $key, string|callable $binder) - * @method static void model(string $key, string $class, \Closure|null $callback = null) - * @method static \Closure|null getBindingCallback(string $key) - * @method static array getPatterns() - * @method static void pattern(string $key, string $pattern) - * @method static void patterns(array $patterns) - * @method static bool hasGroupStack() - * @method static array getGroupStack() - * @method static mixed input(string $key, string|null $default = null) - * @method static \Illuminate\Http\Request getCurrentRequest() - * @method static \Illuminate\Routing\Route|null getCurrentRoute() - * @method static \Illuminate\Routing\Route|null current() - * @method static bool has(string|array $name) - * @method static string|null currentRouteName() - * @method static bool is(mixed ...$patterns) - * @method static bool currentRouteNamed(mixed ...$patterns) - * @method static string|null currentRouteAction() - * @method static bool uses(array ...$patterns) - * @method static bool currentRouteUses(string $action) - * @method static void singularResourceParameters(bool $singular = true) - * @method static void resourceParameters(array $parameters = []) - * @method static array|null resourceVerbs(array $verbs = []) - * @method static \Illuminate\Routing\RouteCollectionInterface getRoutes() - * @method static void setRoutes(\Illuminate\Routing\RouteCollection $routes) - * @method static void setCompiledRoutes(array $routes) - * @method static array uniqueMiddleware(array $middleware) - * @method static \Illuminate\Routing\Router setContainer(\Illuminate\Container\Container $container) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) - * @method static void tap(callable|null $callback = null) - * @method static \Illuminate\Routing\RouteRegistrar attribute(string $key, mixed $value) - * @method static \Illuminate\Routing\RouteRegistrar whereAlpha(array|string $parameters) - * @method static \Illuminate\Routing\RouteRegistrar whereAlphaNumeric(array|string $parameters) - * @method static \Illuminate\Routing\RouteRegistrar whereNumber(array|string $parameters) - * @method static \Illuminate\Routing\RouteRegistrar whereUlid(array|string $parameters) - * @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters) - * @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values) - * @method static \Illuminate\Routing\RouteRegistrar as(string $value) - * @method static \Illuminate\Routing\RouteRegistrar controller(string $controller) - * @method static \Illuminate\Routing\RouteRegistrar domain(string $value) - * @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware) - * @method static \Illuminate\Routing\RouteRegistrar missing(\Closure $missing) - * @method static \Illuminate\Routing\RouteRegistrar name(string $value) - * @method static \Illuminate\Routing\RouteRegistrar namespace(string|null $value) - * @method static \Illuminate\Routing\RouteRegistrar prefix(string $prefix) - * @method static \Illuminate\Routing\RouteRegistrar scopeBindings() - * @method static \Illuminate\Routing\RouteRegistrar where(array $where) - * @method static \Illuminate\Routing\RouteRegistrar withoutMiddleware(array|string $middleware) - * @method static \Illuminate\Routing\RouteRegistrar withoutScopedBindings() + * * @mixin \Illuminate\Routing\Router */ diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index cbde8f1265a4..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,48 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static void defaultStringLength(int $length) - * @method static void defaultMorphKeyType(string $type) - * @method static void morphUsingUuids() - * @method static void morphUsingUlids() - * @method static bool createDatabase(string $name) - * @method static bool dropDatabaseIfExists(string $name) - * @method static bool hasTable(string $table) - * @method static bool hasView(string $view) - * @method static array getTables() - * @method static array getTableListing() - * @method static array getViews() - * @method static array getTypes() - * @method static bool hasColumn(string $table, string $column) - * @method static bool hasColumns(string $table, array $columns) - * @method static void whenTableHasColumn(string $table, string $column, \Closure $callback) - * @method static void whenTableDoesntHaveColumn(string $table, string $column, \Closure $callback) - * @method static string getColumnType(string $table, string $column, bool $fullDefinition = false) - * @method static array getColumnListing(string $table) - * @method static array getColumns(string $table) - * @method static array getIndexes(string $table) - * @method static array getIndexListing(string $table) - * @method static bool hasIndex(string $table, string|array $index, string|null $type = null) - * @method static array getForeignKeys(string $table) - * @method static void table(string $table, \Closure $callback) - * @method static void create(string $table, \Closure $callback) - * @method static void drop(string $table) - * @method static void dropIfExists(string $table) - * @method static void dropColumns(string $table, string|array $columns) - * @method static void dropAllTables() - * @method static void dropAllViews() - * @method static void dropAllTypes() - * @method static void rename(string $from, string $to) - * @method static bool enableForeignKeyConstraints() - * @method static bool disableForeignKeyConstraints() - * @method static mixed withoutForeignKeyConstraints(\Closure $callback) - * @method static \Illuminate\Database\Connection getConnection() - * @method static \Illuminate\Database\Schema\Builder setConnection(\Illuminate\Database\Connection $connection) - * @method static void blueprintResolver(\Closure $resolver) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Database\Schema\Builder */ diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 146a5d68bd68..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,71 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static bool shouldBlock() - * @method static string|null blockDriver() - * @method static int defaultRouteBlockLockSeconds() - * @method static int defaultRouteBlockWaitSeconds() - * @method static array getSessionConfig() - * @method static string getDefaultDriver() - * @method static void setDefaultDriver(string $name) - * @method static mixed driver(string|null $driver = null) - * @method static \Illuminate\Session\SessionManager extend(string $driver, \Closure $callback) - * @method static array getDrivers() - * @method static \Illuminate\Contracts\Container\Container getContainer() - * @method static \Illuminate\Session\SessionManager setContainer(\Illuminate\Contracts\Container\Container $container) - * @method static \Illuminate\Session\SessionManager forgetDrivers() - * @method static bool start() - * @method static void save() - * @method static void ageFlashData() - * @method static array all() - * @method static array only(array $keys) - * @method static array except(array $keys) - * @method static bool exists(string|array $key) - * @method static bool missing(string|array $key) - * @method static bool has(string|array $key) - * @method static bool hasAny(string|array $key) - * @method static mixed get(string $key, mixed $default = null) - * @method static mixed pull(string $key, mixed $default = null) - * @method static bool hasOldInput(string|null $key = null) - * @method static mixed getOldInput(string|null $key = null, mixed $default = null) - * @method static void replace(array $attributes) - * @method static void put(string|array $key, mixed $value = null) - * @method static mixed remember(string $key, \Closure $callback) - * @method static void push(string $key, mixed $value) - * @method static mixed increment(string $key, int $amount = 1) - * @method static int decrement(string $key, int $amount = 1) - * @method static void flash(string $key, mixed $value = true) - * @method static void now(string $key, mixed $value) - * @method static void reflash() - * @method static void keep(array|mixed $keys = null) - * @method static void flashInput(array $value) - * @method static mixed remove(string $key) - * @method static void forget(string|array $keys) - * @method static void flush() - * @method static bool invalidate() - * @method static bool regenerate(bool $destroy = false) - * @method static bool migrate(bool $destroy = false) - * @method static bool isStarted() - * @method static string getName() - * @method static void setName(string $name) - * @method static string id() - * @method static string getId() - * @method static void setId(string|null $id) - * @method static bool isValidId(string|null $id) - * @method static void setExists(bool $value) - * @method static string token() - * @method static void regenerateToken() - * @method static string|null previousUrl() - * @method static void setPreviousUrl(string $url) - * @method static void passwordConfirmed() - * @method static \SessionHandlerInterface getHandler() - * @method static \SessionHandlerInterface setHandler(\SessionHandlerInterface $handler) - * @method static bool handlerNeedsRequest() - * @method static void setRequestOnHandler(\Illuminate\Http\Request $request) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Session\SessionManager */ diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index 16d1308f9ada..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,80 +5,7 @@ use Illuminate\Filesystem\Filesystem; /** - * @method static \Illuminate\Contracts\Filesystem\Filesystem drive(string|null $name = null) - * @method static \Illuminate\Contracts\Filesystem\Filesystem disk(string|null $name = null) - * @method static \Illuminate\Contracts\Filesystem\Cloud cloud() - * @method static \Illuminate\Contracts\Filesystem\Filesystem build(string|array $config) - * @method static \Illuminate\Contracts\Filesystem\Filesystem createLocalDriver(array $config) - * @method static \Illuminate\Contracts\Filesystem\Filesystem createFtpDriver(array $config) - * @method static \Illuminate\Contracts\Filesystem\Filesystem createSftpDriver(array $config) - * @method static \Illuminate\Contracts\Filesystem\Cloud createS3Driver(array $config) - * @method static \Illuminate\Contracts\Filesystem\Filesystem createScopedDriver(array $config) - * @method static \Illuminate\Filesystem\FilesystemManager set(string $name, mixed $disk) - * @method static string getDefaultDriver() - * @method static string getDefaultCloudDriver() - * @method static \Illuminate\Filesystem\FilesystemManager forgetDisk(array|string $disk) - * @method static void purge(string|null $name = null) - * @method static \Illuminate\Filesystem\FilesystemManager extend(string $driver, \Closure $callback) - * @method static \Illuminate\Filesystem\FilesystemManager setApplication(\Illuminate\Contracts\Foundation\Application $app) - * @method static string path(string $path) - * @method static bool exists(string $path) - * @method static string|null get(string $path) - * @method static resource|null readStream(string $path) - * @method static bool put(string $path, \Psr\Http\Message\StreamInterface|\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|resource $contents, mixed $options = []) - * @method static string|false putFile(\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file = null, mixed $options = []) - * @method static string|false putFileAs(\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file, string|array|null $name = null, mixed $options = []) - * @method static bool writeStream(string $path, resource $resource, array $options = []) - * @method static string getVisibility(string $path) - * @method static bool setVisibility(string $path, string $visibility) - * @method static bool prepend(string $path, string $data) - * @method static bool append(string $path, string $data) - * @method static bool delete(string|array $paths) - * @method static bool copy(string $from, string $to) - * @method static bool move(string $from, string $to) - * @method static int size(string $path) - * @method static int lastModified(string $path) - * @method static array files(string|null $directory = null, bool $recursive = false) - * @method static array allFiles(string|null $directory = null) - * @method static array directories(string|null $directory = null, bool $recursive = false) - * @method static array allDirectories(string|null $directory = null) - * @method static bool makeDirectory(string $path) - * @method static bool deleteDirectory(string $directory) - * @method static \Illuminate\Filesystem\FilesystemAdapter assertExists(string|array $path, string|null $content = null) - * @method static \Illuminate\Filesystem\FilesystemAdapter assertMissing(string|array $path) - * @method static \Illuminate\Filesystem\FilesystemAdapter assertDirectoryEmpty(string $path) - * @method static bool missing(string $path) - * @method static bool fileExists(string $path) - * @method static bool fileMissing(string $path) - * @method static bool directoryExists(string $path) - * @method static bool directoryMissing(string $path) - * @method static array|null json(string $path, int $flags = 0) - * @method static \Symfony\Component\HttpFoundation\StreamedResponse response(string $path, string|null $name = null, array $headers = [], string|null $disposition = 'inline') - * @method static \Symfony\Component\HttpFoundation\StreamedResponse download(string $path, string|null $name = null, array $headers = []) - * @method static string|false checksum(string $path, array $options = []) - * @method static string|false mimeType(string $path) - * @method static string url(string $path) - * @method static bool providesTemporaryUrls() - * @method static string temporaryUrl(string $path, \DateTimeInterface $expiration, array $options = []) - * @method static array temporaryUploadUrl(string $path, \DateTimeInterface $expiration, array $options = []) - * @method static \League\Flysystem\FilesystemOperator getDriver() - * @method static \League\Flysystem\FilesystemAdapter getAdapter() - * @method static array getConfig() - * @method static void buildTemporaryUrlsUsing(\Closure $callback) - * @method static \Illuminate\Filesystem\FilesystemAdapter|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static \Illuminate\Filesystem\FilesystemAdapter|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static mixed macroCall(string $method, array $parameters) - * @method static bool has(string $location) - * @method static string read(string $location) - * @method static \League\Flysystem\DirectoryListing listContents(string $location, bool $deep = false) - * @method static int fileSize(string $path) - * @method static string visibility(string $path) - * @method static void write(string $location, string $contents, array $config = []) - * @method static void createDirectory(string $location, array $config = []) + * * @mixin \Illuminate\Filesystem\FilesystemManager */ diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index d66f14253e26..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,50 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static string full() - * @method static string current() - * @method static string previous(mixed $fallback = false) - * @method static string previousPath(mixed $fallback = false) - * @method static string to(string $path, mixed $extra = [], bool|null $secure = null) - * @method static string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null) - * @method static string secure(string $path, array $parameters = []) - * @method static string asset(string $path, bool|null $secure = null) - * @method static string secureAsset(string $path) - * @method static string assetFrom(string $root, string $path, bool|null $secure = null) - * @method static string formatScheme(bool|null $secure = null) - * @method static string signedRoute(string $name, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, bool $absolute = true) - * @method static string temporarySignedRoute(string $name, \DateTimeInterface|\DateInterval|int $expiration, array $parameters = [], bool $absolute = true) - * @method static bool hasValidSignature(\Illuminate\Http\Request $request, bool $absolute = true, array $ignoreQuery = []) - * @method static bool hasValidRelativeSignature(\Illuminate\Http\Request $request, array $ignoreQuery = []) - * @method static bool hasCorrectSignature(\Illuminate\Http\Request $request, bool $absolute = true, array $ignoreQuery = []) - * @method static bool signatureHasNotExpired(\Illuminate\Http\Request $request) - * @method static string route(string $name, mixed $parameters = [], bool $absolute = true) - * @method static string toRoute(\Illuminate\Routing\Route $route, mixed $parameters, bool $absolute) - * @method static string action(string|array $action, mixed $parameters = [], bool $absolute = true) - * @method static array formatParameters(mixed|array $parameters) - * @method static string formatRoot(string $scheme, string|null $root = null) - * @method static string format(string $root, string $path, \Illuminate\Routing\Route|null $route = null) - * @method static bool isValidUrl(string $path) - * @method static void defaults(array $defaults) - * @method static array getDefaultParameters() - * @method static void forceScheme(string|null $scheme) - * @method static void forceRootUrl(string|null $root) - * @method static \Illuminate\Routing\UrlGenerator formatHostUsing(\Closure $callback) - * @method static \Illuminate\Routing\UrlGenerator formatPathUsing(\Closure $callback) - * @method static \Closure pathFormatter() - * @method static \Illuminate\Http\Request getRequest() - * @method static void setRequest(\Illuminate\Http\Request $request) - * @method static \Illuminate\Routing\UrlGenerator setRoutes(\Illuminate\Routing\RouteCollectionInterface $routes) - * @method static \Illuminate\Routing\UrlGenerator setSessionResolver(callable $sessionResolver) - * @method static \Illuminate\Routing\UrlGenerator setKeyResolver(callable $keyResolver) - * @method static \Illuminate\Routing\UrlGenerator withKeyResolver(callable $keyResolver) - * @method static \Illuminate\Routing\UrlGenerator resolveMissingNamedRoutesUsing(callable $missingNamedRouteResolver) - * @method static string getRootControllerNamespace() - * @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace(string $rootNamespace) - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Routing\UrlGenerator */ diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 20e4132bdf2e..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,20 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Validation\Validator make(array $data, array $rules, array $messages = [], array $attributes = []) - * @method static array validate(array $data, array $rules, array $messages = [], array $attributes = []) - * @method static void extend(string $rule, \Closure|string $extension, string|null $message = null) - * @method static void extendImplicit(string $rule, \Closure|string $extension, string|null $message = null) - * @method static void extendDependent(string $rule, \Closure|string $extension, string|null $message = null) - * @method static void replacer(string $rule, \Closure|string $replacer) - * @method static void includeUnvalidatedArrayKeys() - * @method static void excludeUnvalidatedArrayKeys() - * @method static void resolver(\Closure $resolver) - * @method static \Illuminate\Contracts\Translation\Translator getTranslator() - * @method static \Illuminate\Validation\PresenceVerifierInterface getPresenceVerifier() - * @method static void setPresenceVerifier(\Illuminate\Validation\PresenceVerifierInterface $presenceVerifier) - * @method static \Illuminate\Contracts\Container\Container|null getContainer() - * @method static \Illuminate\Validation\Factory setContainer(\Illuminate\Contracts\Container\Container $container) + * * @mixin \Illuminate\Validation\Factory */ diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index ee20307c87e0..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,83 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static \Illuminate\Contracts\View\View file(string $path, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) - * @method static \Illuminate\Contracts\View\View make(string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) - * @method static \Illuminate\Contracts\View\View first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) - * @method static string renderWhen(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) - * @method static string renderUnless(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) - * @method static string renderEach(string $view, array $data, string $iterator, string $empty = 'raw|') - * @method static bool exists(string $view) - * @method static \Illuminate\Contracts\View\Engine getEngineFromPath(string $path) - * @method static mixed share(array|string $key, mixed|null $value = null) - * @method static void incrementRender() - * @method static void decrementRender() - * @method static bool doneRendering() - * @method static bool hasRenderedOnce(string $id) - * @method static void markAsRenderedOnce(string $id) - * @method static void addLocation(string $location) - * @method static \Illuminate\View\Factory addNamespace(string $namespace, string|array $hints) - * @method static \Illuminate\View\Factory prependNamespace(string $namespace, string|array $hints) - * @method static \Illuminate\View\Factory replaceNamespace(string $namespace, string|array $hints) - * @method static void addExtension(string $extension, string $engine, \Closure|null $resolver = null) - * @method static void flushState() - * @method static void flushStateIfDoneRendering() - * @method static array getExtensions() - * @method static \Illuminate\View\Engines\EngineResolver getEngineResolver() - * @method static \Illuminate\View\ViewFinderInterface getFinder() - * @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder) - * @method static void flushFinderCache() - * @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher() - * @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) - * @method static \Illuminate\Contracts\Container\Container getContainer() - * @method static void setContainer(\Illuminate\Contracts\Container\Container $container) - * @method static mixed shared(string $key, mixed $default = null) - * @method static array getShared() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() - * @method static void startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = []) - * @method static void startComponentFirst(array $names, array $data = []) - * @method static string renderComponent() - * @method static mixed|null getConsumableComponentData(string $key, mixed $default = null) - * @method static void slot(string $name, string|null $content = null, array $attributes = []) - * @method static void endSlot() - * @method static array creator(array|string $views, \Closure|string $callback) - * @method static array composers(array $composers) - * @method static array composer(array|string $views, \Closure|string $callback) - * @method static void callComposer(\Illuminate\Contracts\View\View $view) - * @method static void callCreator(\Illuminate\Contracts\View\View $view) - * @method static void startFragment(string $fragment) - * @method static string stopFragment() - * @method static mixed getFragment(string $name, string|null $default = null) - * @method static array getFragments() - * @method static void flushFragments() - * @method static void startSection(string $section, string|null $content = null) - * @method static void inject(string $section, string $content) - * @method static string yieldSection() - * @method static string stopSection(bool $overwrite = false) - * @method static string appendSection() - * @method static string yieldContent(string $section, string $default = '') - * @method static string parentPlaceholder(string $section = '') - * @method static bool hasSection(string $name) - * @method static bool sectionMissing(string $name) - * @method static mixed getSection(string $name, string|null $default = null) - * @method static array getSections() - * @method static void flushSections() - * @method static void addLoop(\Countable|array $data) - * @method static void incrementLoopIndices() - * @method static void popLoop() - * @method static \stdClass|null getLastLoop() - * @method static array getLoopStack() - * @method static void startPush(string $section, string $content = '') - * @method static string stopPush() - * @method static void startPrepend(string $section, string $content = '') - * @method static string stopPrepend() - * @method static string yieldPushContent(string $section, string $default = '') - * @method static void flushStacks() - * @method static void startTranslation(array $replacements = []) - * @method static string renderTranslation() + * * @mixin \Illuminate\View\Factory */ diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 2ae1deae2625..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,29 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @method static array preloadedAssets() - * @method static string|null cspNonce() - * @method static string useCspNonce(string|null $nonce = null) - * @method static \Illuminate\Foundation\Vite useIntegrityKey(string|false $key) - * @method static \Illuminate\Foundation\Vite withEntryPoints(array $entryPoints) - * @method static \Illuminate\Foundation\Vite useManifestFilename(string $filename) - * @method static \Illuminate\Foundation\Vite createAssetPathsUsing(callable|null $resolver) - * @method static string hotFile() - * @method static \Illuminate\Foundation\Vite useHotFile(string $path) - * @method static \Illuminate\Foundation\Vite useBuildDirectory(string $path) - * @method static \Illuminate\Foundation\Vite useScriptTagAttributes(callable|array $attributes) - * @method static \Illuminate\Foundation\Vite useStyleTagAttributes(callable|array $attributes) - * @method static \Illuminate\Foundation\Vite usePreloadTagAttributes(callable|array|false $attributes) - * @method static \Illuminate\Support\HtmlString|void reactRefresh() - * @method static string asset(string $asset, string|null $buildDirectory = null) - * @method static string content(string $asset, string|null $buildDirectory = null) - * @method static string|null manifestHash(string|null $buildDirectory = null) - * @method static bool isRunningHot() - * @method static string toHtml() - * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) - * @method static void mixin(object $mixin, bool $replace = true) - * @method static bool hasMacro(string $name) - * @method static void flushMacros() + * * @mixin \Illuminate\Foundation\Vite */ From 68da3c1083b6aed82c502500534d2b1153405926 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 18:55:04 +0000 Subject: [PATCH 122/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a0dffed4c8f7b13c10eb29ab360e123a31b079bf Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 18:55:37 +0000 Subject: [PATCH 123/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 6a344ec6e47788bf71967985eed2b33950f93cc0 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 18:55:49 +0000 Subject: [PATCH 124/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 67866a89fc0731830c0f0fb61037c563ae5509e7 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 18:56:39 +0000 Subject: [PATCH 125/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From af03b46dd2dea3f88d40260f571b92f58981b839 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 18:56:50 +0000 Subject: [PATCH 126/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 97058e2ae2f53ca919207010edae85881e15c48a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 18:57:25 +0000 Subject: [PATCH 127/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d164bbf92afc0248129b1ad45ed42e6b7e9c0d21 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 18:57:37 +0000 Subject: [PATCH 128/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From b39720e88279073746f13a6c3ae0aa68c2151b9b Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 18:58:23 +0000 Subject: [PATCH 129/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From bdc4aad7867ba037b49773871a8c6792f06ed520 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 18:58:35 +0000 Subject: [PATCH 130/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From efe4fde7a83bb4072c656c8a0caad1d7dfc15226 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 18:59:24 +0000 Subject: [PATCH 131/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c417c6a8b5d40554723deda6675767154e8dd514 Mon Sep 17 00:00:00 2001 From: hn-seoai <141815664+hn-seoai@users.noreply.github.com> Date: Thu, 1 Aug 2024 20:59:36 +0200 Subject: [PATCH 132/707] Support passing default as named parameter in whenLoaded, whenAggregated, whenCounted (#51342) --- .../ConditionallyLoadsAttributes.php | 12 +++++ ...tionalRelationshipUsingNamedParameters.php | 16 ++++++ tests/Integration/Http/ResourceTest.php | 49 +++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipUsingNamedParameters.php diff --git a/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php b/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php index 252fa8ba4e59..26046b9c565a 100644 --- a/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php +++ b/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php @@ -276,6 +276,10 @@ protected function whenLoaded($relationship, $value = null, $default = null) return; } + if ($value === null) { + $value = value(...); + } + return value($value, $loadedValue); } @@ -307,6 +311,10 @@ public function whenCounted($relationship, $value = null, $default = null) return; } + if ($value === null) { + $value = value(...); + } + return value($value, $this->resource->{$attribute}); } @@ -340,6 +348,10 @@ public function whenAggregated($relationship, $column, $aggregate, $value = null return; } + if ($value === null) { + $value = value(...); + } + return value($value, $this->resource->{$attribute}); } diff --git a/tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipUsingNamedParameters.php b/tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipUsingNamedParameters.php new file mode 100644 index 000000000000..8b2a4ba30c03 --- /dev/null +++ b/tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipUsingNamedParameters.php @@ -0,0 +1,16 @@ + $this->id, + 'author' => new AuthorResource($this->whenLoaded('author')), + 'author_defaulting_to_null' => new AuthorResource($this->whenLoaded('author', default: null)), + 'author_name' => $this->whenLoaded('author', fn ($author) => $author->name, 'Anonymous'), + ]; + } +} diff --git a/tests/Integration/Http/ResourceTest.php b/tests/Integration/Http/ResourceTest.php index 579d086f3986..84055a7f61f9 100644 --- a/tests/Integration/Http/ResourceTest.php +++ b/tests/Integration/Http/ResourceTest.php @@ -37,6 +37,7 @@ use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationship; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipAggregates; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipCounts; +use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipUsingNamedParameters; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithoutWrap; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithUnlessOptionalData; use Illuminate\Tests\Integration\Http\Fixtures\ReallyEmptyPostResource; @@ -610,6 +611,54 @@ public function testResourceDoesNotThrowErrorWhenUsingEloquentStrictModeAndCheck ]); } + public function testWhenLoadedUsingNamedDefaultParameterOnMissingRelation() + { + Route::get('/', function () { + $post = new Post(['id' => 1]); + + return new PostResourceWithOptionalRelationshipUsingNamedParameters($post); + }); + + $response = $this->withoutExceptionHandling()->get( + '/', ['Accept' => 'application/json'] + ); + + $response->assertStatus(200); + + $response->assertExactJson([ + 'data' => [ + 'id' => 1, + 'author_defaulting_to_null' => null, + 'author_name' => 'Anonymous', + ], + ]); + } + + public function testWhenLoadedUsingNamedDefaultParameterOnLoadedRelation() + { + Route::get('/', function () { + $post = new Post(['id' => 1]); + $post->setRelation('author', new Author(['name' => 'jrrmartin'])); + + return new PostResourceWithOptionalRelationshipUsingNamedParameters($post); + }); + + $response = $this->withoutExceptionHandling()->get( + '/', ['Accept' => 'application/json'] + ); + + $response->assertStatus(200); + + $response->assertExactJson([ + 'data' => [ + 'id' => 1, + 'author' => ['name' => 'jrrmartin'], + 'author_defaulting_to_null' => ['name' => 'jrrmartin'], + 'author_name' => 'jrrmartin', + ], + ]); + } + public function testResourcesMayHaveOptionalPivotRelationshipsWithCustomAccessor() { Route::get('/', function () { From ee8d7330362f7e73653d7c78be92d7318bc04dca Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:00:04 +0000 Subject: [PATCH 133/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e7b8f6d059e17e657c67e8cb62150ccb808b504a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:01:33 +0000 Subject: [PATCH 134/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7d02eb0f25cb71f8469ffed1435703b71e0af3cc Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:01:45 +0000 Subject: [PATCH 135/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c016de205b09068b7657043fba0ac8c0527b5d17 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:02:08 +0000 Subject: [PATCH 136/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From cce61a1daffdbb2af7d9824d65577563a98c3e4d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:02:20 +0000 Subject: [PATCH 137/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 75c85fb0076a883121dccd582ed54cd7e98721b1 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:03:32 +0000 Subject: [PATCH 138/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e4678bcc435671c6bb53a7f0962c2ebcf4b40721 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:03:44 +0000 Subject: [PATCH 139/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 485898f5435127ebf6b0d0b7478b1b8ad946e020 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:05:21 +0000 Subject: [PATCH 140/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d268193ab91ae66852c6b9532439fe3cd7c9c04c Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:05:32 +0000 Subject: [PATCH 141/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 3dad44e7cf794828cad5a193fa7f51a34951e460 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:05:55 +0000 Subject: [PATCH 142/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f2046eabc30706942d07bd0addd78692ab689be6 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:06:06 +0000 Subject: [PATCH 143/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 36c86f47b5bc910fa6d6b95d5afa70e1a03240b0 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:06:52 +0000 Subject: [PATCH 144/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From dd68539ce527e2c80efdb427eee4b3623162ee37 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:07:04 +0000 Subject: [PATCH 145/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From ff90751904b7a9773b3394e942e984871d4221c5 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:07:47 +0000 Subject: [PATCH 146/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7dc8c26b7bb5f9782c8d0716f2a829684ddd108a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:07:59 +0000 Subject: [PATCH 147/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 2a87f9133118975de3c3b4ec60e2a290dfe7f716 Mon Sep 17 00:00:00 2001 From: Chris Page Date: Thu, 1 Aug 2024 20:08:33 +0100 Subject: [PATCH 148/707] Declare exceptions unreportable using the ShouldntReport interface (#52337) * Added ability to define exceptions as unreportable using ShouldntReport interface * Update ShouldntReport.php * formatting --------- Co-authored-by: Taylor Otwell --- .../Contracts/Debug/ShouldntReport.php | 8 ++++++ .../Foundation/Exceptions/Handler.php | 5 ++++ .../Foundation/ExceptionHandlerTest.php | 26 +++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 src/Illuminate/Contracts/Debug/ShouldntReport.php diff --git a/src/Illuminate/Contracts/Debug/ShouldntReport.php b/src/Illuminate/Contracts/Debug/ShouldntReport.php new file mode 100644 index 000000000000..dab84fc8c98d --- /dev/null +++ b/src/Illuminate/Contracts/Debug/ShouldntReport.php @@ -0,0 +1,8 @@ +dontReport, $this->internalDontReport); if (! is_null(Arr::first($dontReport, fn ($type) => $e instanceof $type))) { diff --git a/tests/Integration/Foundation/ExceptionHandlerTest.php b/tests/Integration/Foundation/ExceptionHandlerTest.php index 499751337c7a..daad8735d866 100644 --- a/tests/Integration/Foundation/ExceptionHandlerTest.php +++ b/tests/Integration/Foundation/ExceptionHandlerTest.php @@ -5,6 +5,8 @@ use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Auth\Access\Response; use Illuminate\Contracts\Debug\ExceptionHandler; +use Illuminate\Contracts\Debug\ShouldntReport; +use Illuminate\Contracts\Support\Responsable; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Route; use Orchestra\Testbench\TestCase; @@ -42,6 +44,30 @@ public function testItRendersAuthorizationExceptions() ]); } + public function testItDoesntReportExceptionsWithShouldntReportInterface() + { + Config::set('app.debug', true); + $reported = []; + $this->app[ExceptionHandler::class]->reportable(function (Throwable $e) use (&$reported) { + $reported[] = $e; + }); + + $exception = new class extends \Exception implements ShouldntReport, Responsable { + public function toResponse($request) + { + return response('shouldnt report', 500); + } + }; + + Route::get('test-route', fn () => throw $exception); + + $this->getJson('test-route') + ->assertStatus(500) + ->assertSee('shouldnt report'); + + $this->assertEquals([], $reported); + } + public function testItRendersAuthorizationExceptionsWithCustomStatusCode() { Route::get('test-route', fn () => Response::deny('expected message', 321)->withStatus(404)->authorize()); From cbd407ce35a690662a3c19fc56687c1bacaecbe4 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:08:45 +0000 Subject: [PATCH 149/707] Apply fixes from StyleCI --- tests/Integration/Foundation/ExceptionHandlerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Integration/Foundation/ExceptionHandlerTest.php b/tests/Integration/Foundation/ExceptionHandlerTest.php index daad8735d866..a53cae5341eb 100644 --- a/tests/Integration/Foundation/ExceptionHandlerTest.php +++ b/tests/Integration/Foundation/ExceptionHandlerTest.php @@ -52,7 +52,8 @@ public function testItDoesntReportExceptionsWithShouldntReportInterface() $reported[] = $e; }); - $exception = new class extends \Exception implements ShouldntReport, Responsable { + $exception = new class extends \Exception implements ShouldntReport, Responsable + { public function toResponse($request) { return response('shouldnt report', 500); From 977abf587a981d5196de04c7acede826eb821509 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:10:34 +0000 Subject: [PATCH 150/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e0b3d5b39ac3741a4f5e9f948e22dc032157c2be Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:10:45 +0000 Subject: [PATCH 151/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 5b209a4cdb1e74aaf7695c1e96505b171f66061e Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:12:14 +0000 Subject: [PATCH 152/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a64ee2427b37311fcf528334cbc74c59a0219575 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:12:27 +0000 Subject: [PATCH 153/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From fd66c141952a35483486a3ec9dc92c8a1e3939cf Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:12:48 +0000 Subject: [PATCH 154/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 1a1b87c646d13fe0f4635da51645a7335a9f327e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:13:00 +0000 Subject: [PATCH 155/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From ce5507a63a22e411093fd3d09cf24a1fda5230f8 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:13:24 +0000 Subject: [PATCH 156/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 9ff76e254adb8b926b554c35915ccf8f787d8c10 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:13:36 +0000 Subject: [PATCH 157/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7c81b263b580bc16c6be862c7e72663758f0f9b3 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:14:34 +0000 Subject: [PATCH 158/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d7bf4c164076e371eb2f8a5384c7069660985e6e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:14:46 +0000 Subject: [PATCH 159/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7dcce1a94fc91c0528f77cb9ab2637325d99ed30 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:15:32 +0000 Subject: [PATCH 160/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 6177bab4dc20cb013f3895e17ae82bb350abe7c4 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:15:44 +0000 Subject: [PATCH 161/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 1a0b00a7e4556d0c9bf923d2f1877cab898bf4f7 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:16:47 +0000 Subject: [PATCH 162/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 2f7cf2b8224075c15e8e1f286f5d112a09ea2c3a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:16:59 +0000 Subject: [PATCH 163/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 41f97a880c433f127f346ed83b9ab8b324bbed29 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:17:36 +0000 Subject: [PATCH 164/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 516fc2d790f4b668e83aa0de041717d65af60c90 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:17:49 +0000 Subject: [PATCH 165/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 9d5c4ddcc2fbd393b1fba43e91519f51158642a5 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:18:58 +0000 Subject: [PATCH 166/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 5b939e1b02361be1920fab3b060a872d6d4bb426 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:19:10 +0000 Subject: [PATCH 167/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From eb1d94d32ceeb071225496ae107700c0e2d26fc9 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:20:34 +0000 Subject: [PATCH 168/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 05421a0e9ac0c8a6ae5c79bb200a1420571f84fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 1 Aug 2024 21:20:44 +0200 Subject: [PATCH 169/707] [11.x] Enable extension of connection inspection methods (#52231) * Enable extension of connection inspection methods * Fix CS * Move the queries to the Grammar classes and show the driver name * Replace Grammar::getConnectionCount with compileConnectionCount * Add Connection::getDriverTitle and move compileConnectionCount to the Schema Grammar * Replace duplicate driver name by the connection name * New MySQL query * Move getConnectionCount to Schema\Builder * Add integration test for Schema::getConnectionCount() * Fix connection count query for mariadb * Fix Driver title * Pluralize ConnectionsCount * Move Schema::getConnectionsCount to Connection::getThreadsCount * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Database/Connection.php | 22 +++++++++++++ .../Console/DatabaseInspectionCommand.php | 33 ++++--------------- .../Database/Console/MonitorCommand.php | 4 ++- .../Database/Console/ShowCommand.php | 6 ++-- src/Illuminate/Database/MariaDbConnection.php | 8 +++++ src/Illuminate/Database/MySqlConnection.php | 8 +++++ .../Database/PostgresConnection.php | 8 +++++ .../Database/Query/Grammars/Grammar.php | 10 ++++++ .../Query/Grammars/MariaDbGrammar.php | 10 ++++++ .../Database/Query/Grammars/MySqlGrammar.php | 10 ++++++ .../Query/Grammars/PostgresGrammar.php | 10 ++++++ .../Query/Grammars/SqlServerGrammar.php | 10 ++++++ src/Illuminate/Database/SQLiteConnection.php | 8 +++++ .../Database/SqlServerConnection.php | 8 +++++ .../Database/ConnectionThreadsCountTest.php | 19 +++++++++++ 15 files changed, 145 insertions(+), 29 deletions(-) create mode 100644 tests/Integration/Database/ConnectionThreadsCountTest.php diff --git a/src/Illuminate/Database/Connection.php b/src/Illuminate/Database/Connection.php index 584dd9957dde..723b586ec251 100755 --- a/src/Illuminate/Database/Connection.php +++ b/src/Illuminate/Database/Connection.php @@ -624,6 +624,18 @@ public function unprepared($query) }); } + /** + * Get the number of open connections for the database. + * + * @return int|null + */ + public function threadCount() + { + $query = $this->getQueryGrammar()->compileThreadCount(); + + return $query ? $this->scalar($query) : null; + } + /** * Execute the given callback in "dry run" mode. * @@ -1347,6 +1359,16 @@ public function getDriverName() return $this->getConfig('driver'); } + /** + * Get a human-readable name for the given connection driver. + * + * @return string + */ + public function getDriverTitle() + { + return $this->getDriverName(); + } + /** * Get the query grammar used by the connection. * diff --git a/src/Illuminate/Database/Console/DatabaseInspectionCommand.php b/src/Illuminate/Database/Console/DatabaseInspectionCommand.php index 30c3a6fef7bb..a7712675e952 100644 --- a/src/Illuminate/Database/Console/DatabaseInspectionCommand.php +++ b/src/Illuminate/Database/Console/DatabaseInspectionCommand.php @@ -3,12 +3,8 @@ namespace Illuminate\Database\Console; use Illuminate\Console\Command; +use Illuminate\Database\Connection; use Illuminate\Database\ConnectionInterface; -use Illuminate\Database\MariaDbConnection; -use Illuminate\Database\MySqlConnection; -use Illuminate\Database\PostgresConnection; -use Illuminate\Database\SQLiteConnection; -use Illuminate\Database\SqlServerConnection; use Illuminate\Support\Arr; abstract class DatabaseInspectionCommand extends Command @@ -19,18 +15,12 @@ abstract class DatabaseInspectionCommand extends Command * @param \Illuminate\Database\ConnectionInterface $connection * @param string $database * @return string + * + * @deprecated */ protected function getConnectionName(ConnectionInterface $connection, $database) { - return match (true) { - $connection instanceof MySqlConnection && $connection->isMaria() => 'MariaDB', - $connection instanceof MySqlConnection => 'MySQL', - $connection instanceof MariaDbConnection => 'MariaDB', - $connection instanceof PostgresConnection => 'PostgreSQL', - $connection instanceof SQLiteConnection => 'SQLite', - $connection instanceof SqlServerConnection => 'SQL Server', - default => $database, - }; + return $connection->getDriverTitle(); } /** @@ -38,21 +28,12 @@ protected function getConnectionName(ConnectionInterface $connection, $database) * * @param \Illuminate\Database\ConnectionInterface $connection * @return int|null + * + * @deprecated */ protected function getConnectionCount(ConnectionInterface $connection) { - $result = match (true) { - $connection instanceof MySqlConnection => $connection->selectOne('show status where variable_name = "threads_connected"'), - $connection instanceof PostgresConnection => $connection->selectOne('select count(*) as "Value" from pg_stat_activity'), - $connection instanceof SqlServerConnection => $connection->selectOne('select count(*) Value from sys.dm_exec_sessions where status = ?', ['running']), - default => null, - }; - - if (! $result) { - return null; - } - - return Arr::wrap((array) $result)['Value']; + return $connection->threadCount(); } /** diff --git a/src/Illuminate/Database/Console/MonitorCommand.php b/src/Illuminate/Database/Console/MonitorCommand.php index d87a441c015c..7975b82dee93 100644 --- a/src/Illuminate/Database/Console/MonitorCommand.php +++ b/src/Illuminate/Database/Console/MonitorCommand.php @@ -85,9 +85,11 @@ protected function parseDatabases($databases) $maxConnections = $this->option('max'); + $connections = $this->connection->connection($database)->threadCount(); + return [ 'database' => $database, - 'connections' => $connections = $this->getConnectionCount($this->connection->connection($database)), + 'connections' => $connections, 'status' => $maxConnections && $connections >= $maxConnections ? 'ALERT' : 'OK', ]; }); diff --git a/src/Illuminate/Database/Console/ShowCommand.php b/src/Illuminate/Database/Console/ShowCommand.php index 1d4aff3398b5..4431c363fe6c 100644 --- a/src/Illuminate/Database/Console/ShowCommand.php +++ b/src/Illuminate/Database/Console/ShowCommand.php @@ -45,9 +45,10 @@ public function handle(ConnectionResolverInterface $connections) $data = [ 'platform' => [ 'config' => $this->getConfigFromDatabase($database), - 'name' => $this->getConnectionName($connection, $database), + 'name' => $connection->getDriverTitle(), + 'connection' => $connection->getName(), 'version' => $connection->getServerVersion(), - 'open_connections' => $this->getConnectionCount($connection), + 'open_connections' => $connection->threadCount(), ], 'tables' => $this->tables($connection, $schema), ]; @@ -159,6 +160,7 @@ protected function displayForCli(array $data) $this->newLine(); $this->components->twoColumnDetail(''.$platform['name'].'', $platform['version']); + $this->components->twoColumnDetail('Connection', Arr::get($platform['config'], 'connection')); $this->components->twoColumnDetail('Database', Arr::get($platform['config'], 'database')); $this->components->twoColumnDetail('Host', Arr::get($platform['config'], 'host')); $this->components->twoColumnDetail('Port', Arr::get($platform['config'], 'port')); diff --git a/src/Illuminate/Database/MariaDbConnection.php b/src/Illuminate/Database/MariaDbConnection.php index 721641b66c1c..ebd33a15b9b5 100755 --- a/src/Illuminate/Database/MariaDbConnection.php +++ b/src/Illuminate/Database/MariaDbConnection.php @@ -12,6 +12,14 @@ class MariaDbConnection extends MySqlConnection { + /** + * {@inheritdoc} + */ + public function getDriverTitle() + { + return 'MariaDB'; + } + /** * Determine if the connected database is a MariaDB database. * diff --git a/src/Illuminate/Database/MySqlConnection.php b/src/Illuminate/Database/MySqlConnection.php index 147551338fd7..66a668cd19db 100755 --- a/src/Illuminate/Database/MySqlConnection.php +++ b/src/Illuminate/Database/MySqlConnection.php @@ -14,6 +14,14 @@ class MySqlConnection extends Connection { + /** + * {@inheritdoc} + */ + public function getDriverTitle() + { + return $this->isMaria() ? 'MariaDB' : 'MySQL'; + } + /** * Escape a binary value for safe SQL embedding. * diff --git a/src/Illuminate/Database/PostgresConnection.php b/src/Illuminate/Database/PostgresConnection.php index 8f1d098907c2..06fa2e1d8e48 100755 --- a/src/Illuminate/Database/PostgresConnection.php +++ b/src/Illuminate/Database/PostgresConnection.php @@ -12,6 +12,14 @@ class PostgresConnection extends Connection { + /** + * {@inheritdoc} + */ + public function getDriverTitle() + { + return 'PostgreSQL'; + } + /** * Escape a binary value for safe SQL embedding. * diff --git a/src/Illuminate/Database/Query/Grammars/Grammar.php b/src/Illuminate/Database/Query/Grammars/Grammar.php index 63e624bcaf17..3478de3b2509 100755 --- a/src/Illuminate/Database/Query/Grammars/Grammar.php +++ b/src/Illuminate/Database/Query/Grammars/Grammar.php @@ -1429,6 +1429,16 @@ protected function compileLock(Builder $query, $value) return is_string($value) ? $value : ''; } + /** + * Compile a query to get the number of open connections for a database. + * + * @return string|null + */ + public function compileThreadCount() + { + return null; + } + /** * Determine if the grammar supports savepoints. * diff --git a/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php b/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php index ca17399fe0dd..da51125b9774 100755 --- a/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php @@ -33,6 +33,16 @@ public function compileJsonValueCast($value) return "json_query({$value}, '$')"; } + /** + * Compile a query to get the number of open connections for a database. + * + * @return string + */ + public function compileThreadCount() + { + return 'select variable_value as `Value` from information_schema.global_status where variable_name = \'THREADS_CONNECTED\''; + } + /** * Determine whether to use a legacy group limit clause for MySQL < 8.0. * diff --git a/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php b/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php index 397dbe54e24b..f2823fd8e8d8 100755 --- a/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/MySqlGrammar.php @@ -478,6 +478,16 @@ protected function compileDeleteWithoutJoins(Builder $query, $table, $where) return $sql; } + /** + * Compile a query to get the number of open connections for a database. + * + * @return string + */ + public function compileThreadCount() + { + return 'select variable_value as `Value` from performance_schema.session_status where variable_name = \'threads_connected\''; + } + /** * Wrap a single string in keyword identifiers. * diff --git a/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php b/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php index bbb11284e72b..232c824d1b1f 100755 --- a/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/PostgresGrammar.php @@ -649,6 +649,16 @@ public function compileTruncate(Builder $query) return ['truncate '.$this->wrapTable($query->from).' restart identity cascade' => []]; } + /** + * Compile a query to get the number of open connections for a database. + * + * @return string + */ + public function compileThreadCount() + { + return 'select count(*) as "Value" from pg_stat_activity'; + } + /** * Wrap the given JSON selector. * diff --git a/src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php b/src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php index c084308b74ba..9d42682a5384 100755 --- a/src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php @@ -497,6 +497,16 @@ public function compileSavepointRollBack($name) return 'ROLLBACK TRANSACTION '.$name; } + /** + * Compile a query to get the number of open connections for a database. + * + * @return string + */ + public function compileThreadCount() + { + return 'select count(*) Value from sys.dm_exec_sessions where status = N\'running\''; + } + /** * Get the format for database stored dates. * diff --git a/src/Illuminate/Database/SQLiteConnection.php b/src/Illuminate/Database/SQLiteConnection.php index ce9286fa2911..bccd33118118 100755 --- a/src/Illuminate/Database/SQLiteConnection.php +++ b/src/Illuminate/Database/SQLiteConnection.php @@ -31,6 +31,14 @@ public function __construct($pdo, $database = '', $tablePrefix = '', array $conf $this->configureSynchronous(); } + /** + * {@inheritdoc} + */ + public function getDriverTitle() + { + return 'SQLite'; + } + /** * Enable or disable foreign key constraints if configured. * diff --git a/src/Illuminate/Database/SqlServerConnection.php b/src/Illuminate/Database/SqlServerConnection.php index a0644bf5c75a..19f7bb8afbf3 100755 --- a/src/Illuminate/Database/SqlServerConnection.php +++ b/src/Illuminate/Database/SqlServerConnection.php @@ -14,6 +14,14 @@ class SqlServerConnection extends Connection { + /** + * {@inheritdoc} + */ + public function getDriverTitle() + { + return 'SQL Server'; + } + /** * Execute a Closure within a transaction. * diff --git a/tests/Integration/Database/ConnectionThreadsCountTest.php b/tests/Integration/Database/ConnectionThreadsCountTest.php new file mode 100644 index 000000000000..abf53c91df92 --- /dev/null +++ b/tests/Integration/Database/ConnectionThreadsCountTest.php @@ -0,0 +1,19 @@ +threadCount(); + + if ($this->driver === 'sqlite') { + $this->assertNull($count, 'SQLite does not support connection count'); + } else { + $this->assertGreaterThanOrEqual(1, $count); + } + } +} From a8d75de805e37e471d851496a90725d9a971e1b7 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:20:58 +0000 Subject: [PATCH 170/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From dc6a280c400690096174ca07dc654920aaada8e2 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:22:25 +0000 Subject: [PATCH 171/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e2ede4479be3280865cd2c687985e248551fe8a1 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:22:37 +0000 Subject: [PATCH 172/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 44d1441a6f27d75a7061e2c091ac67d97cded061 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:23:08 +0000 Subject: [PATCH 173/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 2c724645f2e28fb43944d36b9b471af0160ca51e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:23:20 +0000 Subject: [PATCH 174/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 3c3098505dac8e40aed8992676d932961effa3cf Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:24:17 +0000 Subject: [PATCH 175/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 2f6843369e91e5247bbbccaf8d785f6aa702e840 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:24:31 +0000 Subject: [PATCH 176/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 50196eb98cc2d48e66ca181be5fc3ba73a13a9c7 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:25:32 +0000 Subject: [PATCH 177/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 67f6e4c9f3b7711e3da7da86eb89a6a94d9ad44f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:25:45 +0000 Subject: [PATCH 178/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c5d07add6135409f4a7d3d5d641761e74999b34c Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:26:34 +0000 Subject: [PATCH 179/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 078391feaa43a11922eb4b9eca88f46798b2dd10 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:26:46 +0000 Subject: [PATCH 180/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From edc106ee1ffacdabbadd4dcd89f3dad3b184a6e1 Mon Sep 17 00:00:00 2001 From: Kyrian Obikwelu Date: Thu, 1 Aug 2024 20:28:06 +0100 Subject: [PATCH 181/707] [11.x] Add `whenExistsLoaded` method to conditionally include relationship existence attribute (#52295) * feat: add `whenExistsLoaded` method to conditionally include relationship existence attribute * fix: remove unnecessary whitespace changes to adhere to StyleCI rules * fix: remove unnecessary whitespace changes to adhere to StyleCI rules * formatting --------- Co-authored-by: Taylor Otwell --- .../ConditionallyLoadsAttributes.php | 31 +++++++++++ tests/Http/JsonResourceTest.php | 3 ++ ...ResourceWithOptionalRelationshipExists.php | 18 +++++++ tests/Integration/Http/ResourceTest.php | 54 +++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipExists.php diff --git a/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php b/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php index 26046b9c565a..75d800446adb 100644 --- a/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php +++ b/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php @@ -355,6 +355,37 @@ public function whenAggregated($relationship, $column, $aggregate, $value = null return value($value, $this->resource->{$attribute}); } + /** + * Retrieve a relationship existence check if it exists. + * + * @param string $relationship + * @param mixed $value + * @param mixed $default + * @return \Illuminate\Http\Resources\MissingValue|mixed + */ + public function whenExistsLoaded($relationship, $value = null, $default = null) + { + if (func_num_args() < 3) { + $default = new MissingValue; + } + + $attribute = (string) Str::of($relationship)->snake()->finish('_exists'); + + if (! array_key_exists($attribute, $this->resource->getAttributes())) { + return value($default); + } + + if (func_num_args() === 1) { + return $this->resource->{$attribute}; + } + + if ($this->resource->{$attribute} === null) { + return; + } + + return value($value, $this->resource->{$attribute}); + } + /** * Execute a callback if the given pivot table has been loaded. * diff --git a/tests/Http/JsonResourceTest.php b/tests/Http/JsonResourceTest.php index 8a3a07540618..a39b3e402b52 100644 --- a/tests/Http/JsonResourceTest.php +++ b/tests/Http/JsonResourceTest.php @@ -16,14 +16,17 @@ public function testJsonResourceNullAttributes() $model->setAttribute('relation_sum_column', null); $model->setAttribute('relation_count', null); + $model->setAttribute('relation_exists', null); $resource = new JsonResource($model); $this->assertNotInstanceOf(MissingValue::class, $resource->whenAggregated('relation', 'column', 'sum')); $this->assertNotInstanceOf(MissingValue::class, $resource->whenCounted('relation')); + $this->assertNotInstanceOf(MissingValue::class, $resource->whenExistsLoaded('relation')); $this->assertNull($resource->whenAggregated('relation', 'column', 'sum')); $this->assertNull($resource->whenCounted('relation')); + $this->assertNull($resource->whenExistsLoaded('relation')); } public function testJsonResourceToJsonSucceedsWithPriorErrors(): void diff --git a/tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipExists.php b/tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipExists.php new file mode 100644 index 000000000000..fc96edd9d157 --- /dev/null +++ b/tests/Integration/Http/Fixtures/PostResourceWithOptionalRelationshipExists.php @@ -0,0 +1,18 @@ + $this->id, + 'has_authors' => $this->whenExistsLoaded('authors'), + 'has_favourited_posts' => $this->whenExistsLoaded('favouritedPosts', fn ($exists) => $exists ? 'Yes' : 'No', 'No'), + 'comment_exists' => $this->whenExistsLoaded('comments'), + ]; + } +} diff --git a/tests/Integration/Http/ResourceTest.php b/tests/Integration/Http/ResourceTest.php index 84055a7f61f9..56d2e5fd3aab 100644 --- a/tests/Integration/Http/ResourceTest.php +++ b/tests/Integration/Http/ResourceTest.php @@ -37,6 +37,7 @@ use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationship; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipAggregates; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipCounts; +use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipExists; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithOptionalRelationshipUsingNamedParameters; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithoutWrap; use Illuminate\Tests\Integration\Http\Fixtures\PostResourceWithUnlessOptionalData; @@ -423,6 +424,59 @@ public function testResourcesMayLoadOptionalRelationshipCounts() ]); } + public function testResourcesMayHaveOptionalRelationshipExists() + { + Route::get('/', function () { + return new PostResourceWithOptionalRelationshipExists(new Post([ + 'id' => 5, + 'title' => 'Test Title', + ])); + }); + + $response = $this->withoutExceptionHandling()->get( + '/', ['Accept' => 'application/json'] + ); + + $response->assertStatus(200); + + $response->assertExactJson([ + 'data' => [ + 'id' => 5, + 'has_favourited_posts' => 'No', + ], + ]); + } + + public function testResourcesMayLoadOptionalRelationshipExists() + { + Route::get('/', function () { + $post = new Post([ + 'id' => 5, + 'title' => 'Test Title', + 'authors_exists' => true, + 'favourited_posts_exists' => true, + 'comments_exists' => false, + ]); + + return new PostResourceWithOptionalRelationshipExists($post); + }); + + $response = $this->withoutExceptionHandling()->get( + '/', ['Accept' => 'application/json'] + ); + + $response->assertStatus(200); + + $response->assertExactJson([ + 'data' => [ + 'id' => 5, + 'has_authors' => true, + 'has_favourited_posts' => 'Yes', + 'comment_exists' => false, + ], + ]); + } + public function testResourcesMayLoadOptionalRelationships() { Route::get('/', function () { From b819bc0369a557fc5f40d49390a4742eeaa53b6a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:28:42 +0000 Subject: [PATCH 182/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 0d93c5f351225985561d73779adf817fafbd7d6b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:28:53 +0000 Subject: [PATCH 183/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From bf319d9aba7ef4bcd0b4165ec35362185b8f065a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:29:20 +0000 Subject: [PATCH 184/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 9d1703204efa17fe412df17fda7421b8ac66710f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:29:32 +0000 Subject: [PATCH 185/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 1c6dd27f948ef6c9cffa6b846a6bcd4a92464473 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:30:29 +0000 Subject: [PATCH 186/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 5d8881b0297cc4e1bbed5301f594b4c17eb2b870 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:30:41 +0000 Subject: [PATCH 187/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 985fc9d506e0b17a788e2a277b4f7566613c3d6a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:31:27 +0000 Subject: [PATCH 188/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 3a64a554a4e0857916fd92d6915686538fbd1672 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:31:39 +0000 Subject: [PATCH 189/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 8c4effcb425c66ad22a018059bb183e2f2e43d2f Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:32:12 +0000 Subject: [PATCH 190/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 18716ff0991b212c82681cd0d943add5a8d59c38 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:32:24 +0000 Subject: [PATCH 191/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 9e2bcb49b01afac72b947509e41ffb2ed4a98631 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:33:27 +0000 Subject: [PATCH 192/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From ef01b95eda37dfae0e5a09e9c7339427acb2a3cf Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:33:40 +0000 Subject: [PATCH 193/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From fe50eb03222db845a0a3913b6efe04b28e464e16 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:34:37 +0000 Subject: [PATCH 194/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From eecb20980aa6710cbbd278978a60416f54c7bf70 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:34:48 +0000 Subject: [PATCH 195/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d485638366843459c713fe71db9ff755f66480ce Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:35:18 +0000 Subject: [PATCH 196/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 8dc87c352b85d4a1c51cc7cbebe2ef05cebe83ee Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:35:29 +0000 Subject: [PATCH 197/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 95e27a78c99af0c35fba834902b3f9da34aa3f67 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:36:10 +0000 Subject: [PATCH 198/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 36fae55befc54b67d3501f2dfa26cc3a2e4b2e18 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:36:23 +0000 Subject: [PATCH 199/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From ae05e27ec54dfd17c0273571a003e65db0955d2d Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:37:09 +0000 Subject: [PATCH 200/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a81c4b67dba90b156f2adc44a85102c18cf64f23 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:37:21 +0000 Subject: [PATCH 201/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e0519034e766950fe8f18aa744154728c51a4c75 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:38:02 +0000 Subject: [PATCH 202/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From effae627f324f30e9d2cc819b019a206702049c2 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:38:16 +0000 Subject: [PATCH 203/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7b6bc278194219f0e1ff845c975293f5adbe5a98 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:38:54 +0000 Subject: [PATCH 204/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From ac0f64297d21254ef5e24bf37636d841a63c1b1b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:39:07 +0000 Subject: [PATCH 205/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 6e6e5eb5363a4b2f05057d874ffd5c42f22a0959 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:40:45 +0000 Subject: [PATCH 206/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 1766cd41a34581ca8e80701e9ca0b15f51a9c2ea Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:40:57 +0000 Subject: [PATCH 207/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 9f7f8f24406ef64e6e9df02beaa3392f667ed296 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:41:22 +0000 Subject: [PATCH 208/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 8f10920e38ffedd2bb5901d1462a57cace2341ec Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:41:33 +0000 Subject: [PATCH 209/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From eedc27b22bcb86f8d95d151ef08e3d85844b986b Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:41:59 +0000 Subject: [PATCH 210/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 8ae79fdecba1053fc64654762ebec3e3eef3f57c Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:42:12 +0000 Subject: [PATCH 211/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From bf2a48da762207995e48dc313f55f1ce7f126f3a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:42:56 +0000 Subject: [PATCH 212/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From bb79576b03366a7622a9308f72d95e558fde6f70 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:43:08 +0000 Subject: [PATCH 213/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 63bafef5c136177b410763e3d023652cf7285134 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:44:08 +0000 Subject: [PATCH 214/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 52344b116dbeb199ac9521b0a55b43cb3e42c517 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:44:20 +0000 Subject: [PATCH 215/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 5a22036de1f29a443612d2eb6f485cfe4c3bc3bd Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:45:05 +0000 Subject: [PATCH 216/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7ffe6d923544cddbe180e13b795fd3526ceaabfb Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:45:18 +0000 Subject: [PATCH 217/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4281697ad0a32951d6b8fb8c67c60b7d3fee97ef Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:45:51 +0000 Subject: [PATCH 218/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From b1884d82105e5a7760d5fe78c07b555dafcce6d4 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:46:04 +0000 Subject: [PATCH 219/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c2d19673e7ad1b95b5ab185b5d92b2effea3523e Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:46:45 +0000 Subject: [PATCH 220/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c5611613402bb69900fb6e9a752153c956a08a76 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:46:58 +0000 Subject: [PATCH 221/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f613ba1db760a6c2e07d0929cd9729a0ce0b19cc Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:47:33 +0000 Subject: [PATCH 222/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 628cdf9d066ad3352a9e243b0be32850458ca785 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:47:45 +0000 Subject: [PATCH 223/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 39e499f8840a2c8e2ffc225f9bfbc0f3c5d033a2 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:48:36 +0000 Subject: [PATCH 224/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 863fdd473dc2f3e36b96f425f6a1f743bbad1d18 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:48:47 +0000 Subject: [PATCH 225/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 19bb00f708c0fb47e431efd9a003d4ad7efb4277 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:50:19 +0000 Subject: [PATCH 226/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From bd73437064c24621fbabc9b262aeec8735ae6e8d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:50:31 +0000 Subject: [PATCH 227/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 95e7a6378aabb6e61140533d959db08de2be3778 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:50:55 +0000 Subject: [PATCH 228/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d310432ab77dc01a5e766e3cb66ac5b84835554f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:51:08 +0000 Subject: [PATCH 229/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 1c4d78ef31f03ac8aa0ab2d90bbd0324858f892c Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:51:32 +0000 Subject: [PATCH 230/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4b7e59e460ec3517a8da9082845b3c7c90a31320 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:51:44 +0000 Subject: [PATCH 231/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 36845008145f8fbbb0050cae626474d64f5aa842 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:52:23 +0000 Subject: [PATCH 232/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f95fa094111b06c41a3e028d359080090829c185 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:52:35 +0000 Subject: [PATCH 233/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From aadc48d5690cafd474e01840c798af4a97a8c4e6 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:53:30 +0000 Subject: [PATCH 234/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 2d10198dd400faa02c5f2c29597116fd032cf00a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:53:42 +0000 Subject: [PATCH 235/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 2d891a5272d858fd306436380e29de7f12f626a7 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:54:32 +0000 Subject: [PATCH 236/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 87ebe3b5c5cec385cde8320a51d16beb846834c8 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:54:45 +0000 Subject: [PATCH 237/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a71cdd9e442674c0790b2b6cac58e2bb1c5c38b5 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:55:18 +0000 Subject: [PATCH 238/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 051347a46229c14e69dadaa3320d4a57f2ca4620 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:55:29 +0000 Subject: [PATCH 239/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From abe3579aac14f3f875e2c53269f51ae413218e73 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:56:13 +0000 Subject: [PATCH 240/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 0aa11515a15bd72e49094bb1fbae274c7c66034d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:56:25 +0000 Subject: [PATCH 241/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f91f487fcd7d92b7a15f19facb614056f2644a1b Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:58:02 +0000 Subject: [PATCH 242/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 6e031bfdce894c6ac7aa0f87d9f6023c1eaf902b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:58:14 +0000 Subject: [PATCH 243/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From bd51b84d745ed654130bf20724b7437c1de48126 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:58:44 +0000 Subject: [PATCH 244/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 34c766883337c9ade590fd5991bd022d8eb18452 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:58:55 +0000 Subject: [PATCH 245/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From dadd70ef62e11dfac1cda1c541651842366c8c97 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 19:59:20 +0000 Subject: [PATCH 246/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a3fcef8d666fed550afecc43ba5abc59653bcefe Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 19:59:30 +0000 Subject: [PATCH 247/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a04497397d9b5bb2ebda33a23944c4c51bda548c Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:01:02 +0000 Subject: [PATCH 248/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 252dda6e62ab3322b7fedf59a383eb3d2b500aeb Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:01:15 +0000 Subject: [PATCH 249/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 21780c31f11338da4ac7f8fdfc9a9a5ffed9864b Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:01:44 +0000 Subject: [PATCH 250/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 089f6a323facc8456bae836c09541bc1810e9d59 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:01:55 +0000 Subject: [PATCH 251/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 55eeff808b9a161ab7fd3bdfa0a699884089942e Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:02:18 +0000 Subject: [PATCH 252/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 9353b77e8528377c5d43b565170a4494ebeb853d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:02:29 +0000 Subject: [PATCH 253/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e27adb91cd05c39aae05ec0d2f030a88f0a89125 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:03:14 +0000 Subject: [PATCH 254/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f9472f26d16b5b2618e6cf9b04d138529615af80 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:03:26 +0000 Subject: [PATCH 255/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d5a2f081d8e2e0b890e327ad2e343cdf999e49dd Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:04:23 +0000 Subject: [PATCH 256/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 123dc7c607ff08746154f0b92bfb532ede527f59 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:04:35 +0000 Subject: [PATCH 257/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From b36279fe7f121d941df3fca92d4a3095790c9abd Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:05:06 +0000 Subject: [PATCH 258/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e8de26aff497267ceb1ed01efa1e04ac8eef5313 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:05:18 +0000 Subject: [PATCH 259/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From e7c7a62c95b13617af921436a16f33966d1c1f2f Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:06:17 +0000 Subject: [PATCH 260/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 8c0461c415a3961448e09a7cfbf951576eda591b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:06:29 +0000 Subject: [PATCH 261/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 46bdfc031226afe44e8c11f633b3a3f631849c54 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:07:11 +0000 Subject: [PATCH 262/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4275409e4a5f26788fc0935032840138acb5b63b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:07:24 +0000 Subject: [PATCH 263/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From d980441e23c9564a6b63a7ebf3759a05568873c9 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:08:59 +0000 Subject: [PATCH 264/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4e3faa21a113532a47005f01fbfee88f528b1f9a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:09:12 +0000 Subject: [PATCH 265/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From ff2a3e7ae2bf5717252d0538b4f0d49e8e884f78 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:09:43 +0000 Subject: [PATCH 266/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 444aa11d201de407f0ee390fc36dd1b899325ce0 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:09:55 +0000 Subject: [PATCH 267/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 746d601575c696871e866ca55894dfae10eeedb7 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:10:31 +0000 Subject: [PATCH 268/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4f9ca56c55da212ba5a9093c381625e848525986 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:10:43 +0000 Subject: [PATCH 269/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From eb5dff0937963797c8fe947791b0c7d75adcca45 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:11:05 +0000 Subject: [PATCH 270/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 44538ff299b2b80a820b1161e984b7294332312f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:11:17 +0000 Subject: [PATCH 271/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c9f17e238740d4abf9f1317aadbf88f38007c166 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:12:07 +0000 Subject: [PATCH 272/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 154329621fb5ea98355e741857099ba42c9496e0 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:12:19 +0000 Subject: [PATCH 273/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 0767f5b520232bfcd21828950887ccc395453930 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:12:51 +0000 Subject: [PATCH 274/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 709ed023783b77f0e4aea92e0387a43752d0f07d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:13:03 +0000 Subject: [PATCH 275/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 80c38cf1cf163c27041a1bcd6b95c83589ab0449 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:14:13 +0000 Subject: [PATCH 276/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4248abe826a03cdcc4b45a060a652a8d68e793be Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:14:25 +0000 Subject: [PATCH 277/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7337aae8c6ac914ec1c147f57b77b3ce81e56e51 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:14:59 +0000 Subject: [PATCH 278/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 0caeb580773b19167d9973f613182eba6a5e2908 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:15:11 +0000 Subject: [PATCH 279/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f25c7f3623e6d4f6669f0434e8b061655f90c301 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:15:47 +0000 Subject: [PATCH 280/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 61c3564f95dad6aee317308ddacbd4c9c221de5e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:15:59 +0000 Subject: [PATCH 281/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 3f94a9a6a04ca5a5fed43093d70b03ccfc8a5b93 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:17:31 +0000 Subject: [PATCH 282/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From fa71a810f0dc4761a8be6e54179ab3dbc89c5b54 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:17:43 +0000 Subject: [PATCH 283/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 7c9ea8ff8f3c9388c173894fa9b58049601df010 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:18:05 +0000 Subject: [PATCH 284/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 16e5ca21dbac9f4825db268d0dd10786dd99b382 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:18:17 +0000 Subject: [PATCH 285/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From aeb52b6e25eb0cfb616ab36d17d333337d5fd5a8 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:19:24 +0000 Subject: [PATCH 286/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a2de882700bd348517e8921e8ee3a4316ffd82ff Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:19:36 +0000 Subject: [PATCH 287/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 87c3efd5e5ded4c65ce6daa4876830b1cd8aec40 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:20:35 +0000 Subject: [PATCH 288/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From f0af8799ad17e2022a246530910f5958d83870dd Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:20:46 +0000 Subject: [PATCH 289/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From dc1d3cf1791df3512a99ad2e62eb9f4b291c55ad Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:21:09 +0000 Subject: [PATCH 290/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c6891f944693917089e28b7018ab8025a1f50fcd Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:21:20 +0000 Subject: [PATCH 291/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4e1416690d88447da61325e4f50812cc15db3f26 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:21:43 +0000 Subject: [PATCH 292/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a0a47c6b9115ab24f9d9aa700bcc038a867299be Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:21:55 +0000 Subject: [PATCH 293/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From b50f9f06f0d7f0a502e0ddd7055f6fd60f6de42d Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:22:44 +0000 Subject: [PATCH 294/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From c7ab544f3fb3436fad941b76432197a72fe0e119 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:22:56 +0000 Subject: [PATCH 295/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 408a0b973e4bfa51c4354db98ae66fdb31cb756a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:23:44 +0000 Subject: [PATCH 296/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From adb49f033223fd485709d2a86b84e5d04f658dcb Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:23:57 +0000 Subject: [PATCH 297/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From b47e1d2c4b509ba2b8f8ecbd7c66c785bbaed6ae Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:24:22 +0000 Subject: [PATCH 298/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 4c4442bd2456cb1cc8140bd2bed41f889652c69f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:24:34 +0000 Subject: [PATCH 299/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From a6942ee599bda12b915e18377ef8b53bcd350f60 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:25:30 +0000 Subject: [PATCH 300/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 60fbec907aa574663c95916def24e632ea5b9c30 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:25:42 +0000 Subject: [PATCH 301/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 46c0db4e23554ba71a293e348ee6f6e6ef82001d Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:26:59 +0000 Subject: [PATCH 302/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 517adee26e8e5a84a999d3faef6b00c5266272f6 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:27:11 +0000 Subject: [PATCH 303/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 0d4fa82cf6458f52d8029b353468eb5b5eb53e78 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:27:52 +0000 Subject: [PATCH 304/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ src/Illuminate/Support/Facades/Artisan.php | 2 ++ src/Illuminate/Support/Facades/Auth.php | 2 ++ src/Illuminate/Support/Facades/Blade.php | 2 ++ src/Illuminate/Support/Facades/Broadcast.php | 2 ++ src/Illuminate/Support/Facades/Bus.php | 2 ++ src/Illuminate/Support/Facades/Cache.php | 2 ++ src/Illuminate/Support/Facades/Config.php | 2 ++ src/Illuminate/Support/Facades/Context.php | 2 ++ src/Illuminate/Support/Facades/Cookie.php | 2 ++ src/Illuminate/Support/Facades/Crypt.php | 2 ++ src/Illuminate/Support/Facades/DB.php | 2 ++ src/Illuminate/Support/Facades/Date.php | 1 + src/Illuminate/Support/Facades/Event.php | 2 ++ src/Illuminate/Support/Facades/File.php | 2 ++ src/Illuminate/Support/Facades/Gate.php | 2 ++ src/Illuminate/Support/Facades/Hash.php | 2 ++ src/Illuminate/Support/Facades/Http.php | 2 ++ src/Illuminate/Support/Facades/Lang.php | 2 ++ src/Illuminate/Support/Facades/Log.php | 2 ++ src/Illuminate/Support/Facades/Mail.php | 2 ++ src/Illuminate/Support/Facades/Notification.php | 2 ++ src/Illuminate/Support/Facades/ParallelTesting.php | 2 ++ src/Illuminate/Support/Facades/Password.php | 2 ++ src/Illuminate/Support/Facades/Pipeline.php | 2 ++ src/Illuminate/Support/Facades/Process.php | 2 ++ src/Illuminate/Support/Facades/Queue.php | 2 ++ src/Illuminate/Support/Facades/RateLimiter.php | 2 ++ src/Illuminate/Support/Facades/Redirect.php | 2 ++ src/Illuminate/Support/Facades/Redis.php | 2 ++ src/Illuminate/Support/Facades/Request.php | 2 ++ src/Illuminate/Support/Facades/Response.php | 2 ++ src/Illuminate/Support/Facades/Route.php | 2 ++ src/Illuminate/Support/Facades/Schema.php | 2 ++ src/Illuminate/Support/Facades/Session.php | 2 ++ src/Illuminate/Support/Facades/Storage.php | 2 ++ src/Illuminate/Support/Facades/URL.php | 2 ++ src/Illuminate/Support/Facades/Validator.php | 2 ++ src/Illuminate/Support/Facades/View.php | 2 ++ src/Illuminate/Support/Facades/Vite.php | 2 ++ 40 files changed, 79 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..21e6d03cbee7 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..5e89ce7324ca 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + + * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..69c59dd0d575 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,8 @@ use RuntimeException; /** + + * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..072227127261 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..31a11556b44c 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + + * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..c04101c8e9b9 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + + * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..20c7c917a49b 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..96ddb1ef0e98 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..c20089236490 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..a6660cd63ad3 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..1526a2cc8332 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..1b8e12f3fcb0 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,8 @@ use Illuminate\Database\Console\WipeCommand; /** + + * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..c30d40df92a5 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,6 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * + * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..da2c7d5eea58 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + + * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..40811c0b88f1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..bb7a1561996b 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + + * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..7f9105714477 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..5e0ced4ae76b 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,8 @@ use Illuminate\Http\Client\Factory; /** + + * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..a5be3096f593 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..c7f9857f6e5e 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1e6672b17b59 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + + * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..68f0f7c58e50 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + + * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..ecb1f8aa752b 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..434501f43af9 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + + * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..623102342a80 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..283cff345fe0 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,8 @@ use Illuminate\Process\Factory; /** + + * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..324cf6567d71 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,8 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + + * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..622d8d7f04f4 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..d7699820193a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..1b69e7f0317a 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..8839e0e5f6a6 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..2867ffd2fe8b 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,8 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + + * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..95df7c9f7b09 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..12873c93c84f 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..7e5341fe9e73 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..cc1dc51f357b 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,8 @@ use Illuminate\Filesystem\Filesystem; /** + + * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..36d60eb1a7bb 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..d79eee8a9676 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..24d01ae2f783 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..8d6bd66a36e2 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,8 @@ namespace Illuminate\Support\Facades; /** + + * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 02a7b2950122cf27b8101cc46a2994b30a996b0c Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:28:04 +0000 Subject: [PATCH 305/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/App.php | 2 -- src/Illuminate/Support/Facades/Artisan.php | 2 -- src/Illuminate/Support/Facades/Auth.php | 2 -- src/Illuminate/Support/Facades/Blade.php | 2 -- src/Illuminate/Support/Facades/Broadcast.php | 2 -- src/Illuminate/Support/Facades/Bus.php | 2 -- src/Illuminate/Support/Facades/Cache.php | 2 -- src/Illuminate/Support/Facades/Config.php | 2 -- src/Illuminate/Support/Facades/Context.php | 2 -- src/Illuminate/Support/Facades/Cookie.php | 2 -- src/Illuminate/Support/Facades/Crypt.php | 2 -- src/Illuminate/Support/Facades/DB.php | 2 -- src/Illuminate/Support/Facades/Date.php | 1 - src/Illuminate/Support/Facades/Event.php | 2 -- src/Illuminate/Support/Facades/File.php | 2 -- src/Illuminate/Support/Facades/Gate.php | 2 -- src/Illuminate/Support/Facades/Hash.php | 2 -- src/Illuminate/Support/Facades/Http.php | 2 -- src/Illuminate/Support/Facades/Lang.php | 2 -- src/Illuminate/Support/Facades/Log.php | 2 -- src/Illuminate/Support/Facades/Mail.php | 2 -- src/Illuminate/Support/Facades/Notification.php | 2 -- src/Illuminate/Support/Facades/ParallelTesting.php | 2 -- src/Illuminate/Support/Facades/Password.php | 2 -- src/Illuminate/Support/Facades/Pipeline.php | 2 -- src/Illuminate/Support/Facades/Process.php | 2 -- src/Illuminate/Support/Facades/Queue.php | 2 -- src/Illuminate/Support/Facades/RateLimiter.php | 2 -- src/Illuminate/Support/Facades/Redirect.php | 2 -- src/Illuminate/Support/Facades/Redis.php | 2 -- src/Illuminate/Support/Facades/Request.php | 2 -- src/Illuminate/Support/Facades/Response.php | 2 -- src/Illuminate/Support/Facades/Route.php | 2 -- src/Illuminate/Support/Facades/Schema.php | 2 -- src/Illuminate/Support/Facades/Session.php | 2 -- src/Illuminate/Support/Facades/Storage.php | 2 -- src/Illuminate/Support/Facades/URL.php | 2 -- src/Illuminate/Support/Facades/Validator.php | 2 -- src/Illuminate/Support/Facades/View.php | 2 -- src/Illuminate/Support/Facades/Vite.php | 2 -- 40 files changed, 79 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 21e6d03cbee7..9d3d9f59aef6 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 5e89ce7324ca..0d92002fa3bc 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - - * * @mixin \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 69c59dd0d575..206c7d3b90a7 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,6 @@ use RuntimeException; /** - - * * @mixin \Illuminate\Auth\AuthManager * @mixin \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 072227127261..64d253d5d0d1 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 31a11556b44c..81f921620944 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - - * * @mixin \Illuminate\Broadcasting\BroadcastManager * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index c04101c8e9b9..fd83574bc9b7 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,6 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - - * * @mixin \Illuminate\Bus\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 20c7c917a49b..3554ba606c26 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 96ddb1ef0e98..d5f4385ff070 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index c20089236490..90cd0fab2caf 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index a6660cd63ad3..ef233c8fad24 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 1526a2cc8332..79ed61e2ed16 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 1b8e12f3fcb0..2141b7728e4c 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,8 +8,6 @@ use Illuminate\Database\Console\WipeCommand; /** - - * * @mixin \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index c30d40df92a5..9ddeab79f1a0 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,6 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * * @mixin \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index da2c7d5eea58..fe1705e767ef 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - - * * @mixin \Illuminate\Events\Dispatcher * @mixin \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 40811c0b88f1..3c9a1e751959 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index bb7a1561996b..97a99ba3dc42 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - - * * @mixin \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 7f9105714477..ab99ed10c38d 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Hashing\HashManager * @mixin \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index 5e0ced4ae76b..f8c1dee24ec3 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,8 +5,6 @@ use Illuminate\Http\Client\Factory; /** - - * * @mixin \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index a5be3096f593..d4e4312b4d2c 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index c7f9857f6e5e..826db0e166e7 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1e6672b17b59..2f00354c2008 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,6 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - - * * @mixin \Illuminate\Mail\MailManager * @mixin \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 68f0f7c58e50..0a2dd6b9f4cc 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,6 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - - * * @mixin \Illuminate\Notifications\ChannelManager * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index ecb1f8aa752b..a77a2a317408 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 434501f43af9..75872041d22f 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - - * * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager * @mixin \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 623102342a80..add80604dff3 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 283cff345fe0..4e8416285985 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,6 @@ use Illuminate\Process\Factory; /** - - * * @mixin \Illuminate\Process\PendingProcess * @mixin \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 324cf6567d71..329e2b02c334 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,8 +6,6 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - - * * @mixin \Illuminate\Queue\QueueManager * @mixin \Illuminate\Queue\Queue * @mixin \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 622d8d7f04f4..d5adbac2a962 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index d7699820193a..00fa00bfc77a 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 1b69e7f0317a..6797d05dcbd3 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 8839e0e5f6a6..d4f2db35ca55 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2867ffd2fe8b..2dd467e75c62 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,8 +5,6 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - - * * @mixin \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 95df7c9f7b09..13a3161201c6 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 12873c93c84f..99b5b6d8151e 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 7e5341fe9e73..1e48191ff4c4 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index cc1dc51f357b..e43c3e62708f 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,8 +5,6 @@ use Illuminate\Filesystem\Filesystem; /** - - * * @mixin \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index 36d60eb1a7bb..dca6c73728d8 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index d79eee8a9676..03b1667ee085 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 24d01ae2f783..372c7b9e96d3 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 8d6bd66a36e2..5d2ecef81083 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,8 +3,6 @@ namespace Illuminate\Support\Facades; /** - - * * @mixin \Illuminate\Foundation\Vite */ class Vite extends Facade From 90145def6e0a288e3805be84fbece81d1d287eb6 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 1 Aug 2024 15:28:15 -0500 Subject: [PATCH 306/707] wip --- src/Illuminate/Support/Facades/App.php | 2 +- src/Illuminate/Support/Facades/Artisan.php | 2 +- src/Illuminate/Support/Facades/Auth.php | 4 ++-- src/Illuminate/Support/Facades/Blade.php | 2 +- src/Illuminate/Support/Facades/Broadcast.php | 4 ++-- src/Illuminate/Support/Facades/Bus.php | 4 ++-- src/Illuminate/Support/Facades/Cache.php | 4 ++-- src/Illuminate/Support/Facades/Config.php | 2 +- src/Illuminate/Support/Facades/Context.php | 2 +- src/Illuminate/Support/Facades/Cookie.php | 2 +- src/Illuminate/Support/Facades/Crypt.php | 2 +- src/Illuminate/Support/Facades/DB.php | 2 +- src/Illuminate/Support/Facades/Date.php | 2 +- src/Illuminate/Support/Facades/Event.php | 4 ++-- src/Illuminate/Support/Facades/Exceptions.php | 6 +++--- src/Illuminate/Support/Facades/File.php | 2 +- src/Illuminate/Support/Facades/Gate.php | 2 +- src/Illuminate/Support/Facades/Hash.php | 4 ++-- src/Illuminate/Support/Facades/Http.php | 2 +- src/Illuminate/Support/Facades/Lang.php | 2 +- src/Illuminate/Support/Facades/Log.php | 2 +- src/Illuminate/Support/Facades/Mail.php | 4 ++-- src/Illuminate/Support/Facades/Notification.php | 4 ++-- src/Illuminate/Support/Facades/ParallelTesting.php | 2 +- src/Illuminate/Support/Facades/Password.php | 4 ++-- src/Illuminate/Support/Facades/Pipeline.php | 2 +- src/Illuminate/Support/Facades/Process.php | 4 ++-- src/Illuminate/Support/Facades/Queue.php | 6 +++--- src/Illuminate/Support/Facades/RateLimiter.php | 2 +- src/Illuminate/Support/Facades/Redirect.php | 2 +- src/Illuminate/Support/Facades/Redis.php | 2 +- src/Illuminate/Support/Facades/Request.php | 2 +- src/Illuminate/Support/Facades/Response.php | 2 +- src/Illuminate/Support/Facades/Route.php | 2 +- src/Illuminate/Support/Facades/Schedule.php | 2 +- src/Illuminate/Support/Facades/Schema.php | 2 +- src/Illuminate/Support/Facades/Session.php | 2 +- src/Illuminate/Support/Facades/Storage.php | 2 +- src/Illuminate/Support/Facades/URL.php | 2 +- src/Illuminate/Support/Facades/Validator.php | 2 +- src/Illuminate/Support/Facades/View.php | 2 +- src/Illuminate/Support/Facades/Vite.php | 2 +- 42 files changed, 56 insertions(+), 56 deletions(-) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 9d3d9f59aef6..2675d56a8745 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Foundation\Application + * @see \Illuminate\Foundation\Application */ class App extends Facade { diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 0d92002fa3bc..680471b853ae 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,7 +5,7 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** - * @mixin \Illuminate\Foundation\Console\Kernel + * @see \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade { diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 206c7d3b90a7..7a190445921b 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,8 +6,8 @@ use RuntimeException; /** - * @mixin \Illuminate\Auth\AuthManager - * @mixin \Illuminate\Auth\SessionGuard + * @see \Illuminate\Auth\AuthManager + * @see \Illuminate\Auth\SessionGuard */ class Auth extends Facade { diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 64d253d5d0d1..348719a61631 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\View\Compilers\BladeCompiler + * @see \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade { diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 81f921620944..9f32ffde5b09 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,8 +5,8 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** - * @mixin \Illuminate\Broadcasting\BroadcastManager - * @mixin \Illuminate\Broadcasting\Broadcasters\Broadcaster + * @see \Illuminate\Broadcasting\BroadcastManager + * @see \Illuminate\Broadcasting\Broadcasters\Broadcaster */ class Broadcast extends Facade { diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index fd83574bc9b7..f2438accdcf0 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,8 +8,8 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** - * @mixin \Illuminate\Bus\Dispatcher - * @mixin \Illuminate\Support\Testing\Fakes\BusFake + * @see \Illuminate\Bus\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\BusFake */ class Bus extends Facade { diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 3554ba606c26..2e32301faf1e 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,8 +3,8 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Cache\CacheManager - * @mixin \Illuminate\Cache\Repository + * @see \Illuminate\Cache\CacheManager + * @see \Illuminate\Cache\Repository */ class Cache extends Facade { diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index d5f4385ff070..3eb4fdf35d1b 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Config\Repository + * @see \Illuminate\Config\Repository */ class Config extends Facade { diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 90cd0fab2caf..b08307bae2c2 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Log\Context\Repository + * @see \Illuminate\Log\Context\Repository */ class Context extends Facade { diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index ef233c8fad24..b79478362a71 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Cookie\CookieJar + * @see \Illuminate\Cookie\CookieJar */ class Cookie extends Facade { diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 79ed61e2ed16..0eef08d1bddb 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Encryption\Encrypter + * @see \Illuminate\Encryption\Encrypter */ class Crypt extends Facade { diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 2141b7728e4c..c62bbe8d395e 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,7 +8,7 @@ use Illuminate\Database\Console\WipeCommand; /** - * @mixin \Illuminate\Database\DatabaseManager + * @see \Illuminate\Database\DatabaseManager */ class DB extends Facade { diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 9ddeab79f1a0..4760955a12f1 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -8,7 +8,7 @@ * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * - * @mixin \Illuminate\Support\DateFactory + * @see \Illuminate\Support\DateFactory */ class Date extends Facade { diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index fe1705e767ef..cfceb6d2353b 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,8 +6,8 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - * @mixin \Illuminate\Events\Dispatcher - * @mixin \Illuminate\Support\Testing\Fakes\EventFake + * @see \Illuminate\Events\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\EventFake */ class Event extends Facade { diff --git a/src/Illuminate/Support/Facades/Exceptions.php b/src/Illuminate/Support/Facades/Exceptions.php index 91b553ad4cb9..d877d2742823 100644 --- a/src/Illuminate/Support/Facades/Exceptions.php +++ b/src/Illuminate/Support/Facades/Exceptions.php @@ -33,9 +33,9 @@ * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake throwFirstReported() * @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler) * - * @mixin \Illuminate\Foundation\Exceptions\Handler - * @mixin \Illuminate\Contracts\Debug\ExceptionHandler - * @mixin \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake + * @see \Illuminate\Foundation\Exceptions\Handler + * @see \Illuminate\Contracts\Debug\ExceptionHandler + * @see \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake */ class Exceptions extends Facade { diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 3c9a1e751959..0f81bf62a969 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Filesystem\Filesystem + * @see \Illuminate\Filesystem\Filesystem */ class File extends Facade { diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 97a99ba3dc42..e7d188f780ae 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,7 +5,7 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** - * @mixin \Illuminate\Auth\Access\Gate + * @see \Illuminate\Auth\Access\Gate */ class Gate extends Facade { diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index ab99ed10c38d..4b61f7a76d46 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,8 +3,8 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Hashing\HashManager - * @mixin \Illuminate\Hashing\AbstractHasher + * @see \Illuminate\Hashing\HashManager + * @see \Illuminate\Hashing\AbstractHasher */ class Hash extends Facade { diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index f8c1dee24ec3..a243a249b677 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,7 +5,7 @@ use Illuminate\Http\Client\Factory; /** - * @mixin \Illuminate\Http\Client\Factory + * @see \Illuminate\Http\Client\Factory */ class Http extends Facade { diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index d4e4312b4d2c..e5862b993689 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Translation\Translator + * @see \Illuminate\Translation\Translator */ class Lang extends Facade { diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index 826db0e166e7..fd8c8ff322ce 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Log\LogManager + * @see \Illuminate\Log\LogManager */ class Log extends Facade { diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 2f00354c2008..1c4aaa7b6c97 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,8 +5,8 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** - * @mixin \Illuminate\Mail\MailManager - * @mixin \Illuminate\Support\Testing\Fakes\MailFake + * @see \Illuminate\Mail\MailManager + * @see \Illuminate\Support\Testing\Fakes\MailFake */ class Mail extends Facade { diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 0a2dd6b9f4cc..5a758aa13e53 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,8 +7,8 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** - * @mixin \Illuminate\Notifications\ChannelManager - * @mixin \Illuminate\Support\Testing\Fakes\NotificationFake + * @see \Illuminate\Notifications\ChannelManager + * @see \Illuminate\Support\Testing\Fakes\NotificationFake */ class Notification extends Facade { diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index a77a2a317408..22b7d046415c 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Testing\ParallelTesting + * @see \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade { diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 75872041d22f..2a7bfe8d5d87 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,8 +5,8 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** - * @mixin \Illuminate\Auth\Passwords\PasswordBrokerManager - * @mixin \Illuminate\Auth\Passwords\PasswordBroker + * @see \Illuminate\Auth\Passwords\PasswordBrokerManager + * @see \Illuminate\Auth\Passwords\PasswordBroker */ class Password extends Facade { diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index add80604dff3..2ccb024dae70 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Pipeline\Pipeline + * @see \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade { diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 4e8416285985..0f7d9006cc24 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,8 +6,8 @@ use Illuminate\Process\Factory; /** - * @mixin \Illuminate\Process\PendingProcess - * @mixin \Illuminate\Process\Factory + * @see \Illuminate\Process\PendingProcess + * @see \Illuminate\Process\Factory */ class Process extends Facade { diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index 329e2b02c334..caa62053ba85 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,9 +6,9 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** - * @mixin \Illuminate\Queue\QueueManager - * @mixin \Illuminate\Queue\Queue - * @mixin \Illuminate\Support\Testing\Fakes\QueueFake + * @see \Illuminate\Queue\QueueManager + * @see \Illuminate\Queue\Queue + * @see \Illuminate\Support\Testing\Fakes\QueueFake */ class Queue extends Facade { diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index d5adbac2a962..162fd5e62ecc 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Cache\RateLimiter + * @see \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade { diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 00fa00bfc77a..647a7c316a37 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Routing\Redirector + * @see \Illuminate\Routing\Redirector */ class Redirect extends Facade { diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 6797d05dcbd3..64bcf9991f79 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Redis\RedisManager + * @see \Illuminate\Redis\RedisManager */ class Redis extends Facade { diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index d4f2db35ca55..5cb12f4e71ec 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Http\Request + * @see \Illuminate\Http\Request */ class Request extends Facade { diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 2dd467e75c62..009c0fad9e95 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,7 +5,7 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** - * @mixin \Illuminate\Routing\ResponseFactory + * @see \Illuminate\Routing\ResponseFactory */ class Response extends Facade { diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 13a3161201c6..7445e29b5caa 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Routing\Router + * @see \Illuminate\Routing\Router */ class Route extends Facade { diff --git a/src/Illuminate/Support/Facades/Schedule.php b/src/Illuminate/Support/Facades/Schedule.php index 1a22652f2f50..04c7e0ed516d 100644 --- a/src/Illuminate/Support/Facades/Schedule.php +++ b/src/Illuminate/Support/Facades/Schedule.php @@ -19,7 +19,7 @@ * @method static bool hasMacro(string $name) * @method static void flushMacros() * - * @mixin \Illuminate\Console\Scheduling\Schedule + * @see \Illuminate\Console\Scheduling\Schedule */ class Schedule extends Facade { diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 99b5b6d8151e..206b1eacdb28 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Database\Schema\Builder + * @see \Illuminate\Database\Schema\Builder */ class Schema extends Facade { diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index 1e48191ff4c4..de601385934f 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Session\SessionManager + * @see \Illuminate\Session\SessionManager */ class Session extends Facade { diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index e43c3e62708f..609fde3061a0 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,7 +5,7 @@ use Illuminate\Filesystem\Filesystem; /** - * @mixin \Illuminate\Filesystem\FilesystemManager + * @see \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade { diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index dca6c73728d8..e17414bc0612 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Routing\UrlGenerator + * @see \Illuminate\Routing\UrlGenerator */ class URL extends Facade { diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index 03b1667ee085..e3e1ba4dc4ea 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Validation\Factory + * @see \Illuminate\Validation\Factory */ class Validator extends Facade { diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 372c7b9e96d3..9de57c328dca 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\View\Factory + * @see \Illuminate\View\Factory */ class View extends Facade { diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 5d2ecef81083..1277c73d797f 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,7 +3,7 @@ namespace Illuminate\Support\Facades; /** - * @mixin \Illuminate\Foundation\Vite + * @see \Illuminate\Foundation\Vite */ class Vite extends Facade { From 581682638401ae95abe8a3ec52e702a49b294996 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 1 Aug 2024 20:28:31 +0000 Subject: [PATCH 307/707] Apply fixes from StyleCI --- src/Illuminate/Support/Facades/Date.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index 4760955a12f1..a59df04ffe97 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -7,7 +7,6 @@ /** * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php - * * @see \Illuminate\Support\DateFactory */ class Date extends Facade From 630df64539f438c16e912712c8a835a3fccb0187 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:30:35 +0000 Subject: [PATCH 308/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 137 ++++++++++++++ src/Illuminate/Support/Facades/Artisan.php | 18 ++ src/Illuminate/Support/Facades/Auth.php | 58 ++++++ src/Illuminate/Support/Facades/Blade.php | 42 +++++ src/Illuminate/Support/Facades/Broadcast.php | 28 +++ src/Illuminate/Support/Facades/Bus.php | 41 ++++ src/Illuminate/Support/Facades/Cache.php | 50 +++++ src/Illuminate/Support/Facades/Config.php | 17 ++ src/Illuminate/Support/Facades/Context.php | 31 +++ src/Illuminate/Support/Facades/Cookie.php | 16 ++ src/Illuminate/Support/Facades/Crypt.php | 11 ++ src/Illuminate/Support/Facades/DB.php | 104 ++++++++++ src/Illuminate/Support/Facades/Date.php | 78 ++++++++ src/Illuminate/Support/Facades/Event.php | 30 +++ src/Illuminate/Support/Facades/File.php | 53 ++++++ src/Illuminate/Support/Facades/Gate.php | 27 +++ src/Illuminate/Support/Facades/Hash.php | 16 ++ src/Illuminate/Support/Facades/Http.php | 86 +++++++++ src/Illuminate/Support/Facades/Lang.php | 28 +++ src/Illuminate/Support/Facades/Log.php | 32 ++++ src/Illuminate/Support/Facades/Mail.php | 52 +++++ .../Support/Facades/Notification.php | 31 +++ .../Support/Facades/ParallelTesting.php | 15 ++ src/Illuminate/Support/Facades/Password.php | 11 ++ src/Illuminate/Support/Facades/Pipeline.php | 10 + src/Illuminate/Support/Facades/Process.php | 38 ++++ src/Illuminate/Support/Facades/Queue.php | 47 +++++ .../Support/Facades/RateLimiter.php | 15 ++ src/Illuminate/Support/Facades/Redirect.php | 20 ++ src/Illuminate/Support/Facades/Redis.php | 27 +++ src/Illuminate/Support/Facades/Request.php | 177 ++++++++++++++++++ src/Illuminate/Support/Facades/Response.php | 20 ++ src/Illuminate/Support/Facades/Route.php | 98 ++++++++++ src/Illuminate/Support/Facades/Schema.php | 43 +++++ src/Illuminate/Support/Facades/Session.php | 66 +++++++ src/Illuminate/Support/Facades/Storage.php | 75 ++++++++ src/Illuminate/Support/Facades/URL.php | 45 +++++ src/Illuminate/Support/Facades/Validator.php | 15 ++ src/Illuminate/Support/Facades/View.php | 78 ++++++++ src/Illuminate/Support/Facades/Vite.php | 24 +++ 40 files changed, 1810 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index 2675d56a8745..a91b55b509e2 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -3,6 +3,143 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Foundation\Configuration\ApplicationBuilder configure(string|null $basePath = null) + * @method static string inferBasePath() + * @method static string version() + * @method static void bootstrapWith(string[] $bootstrappers) + * @method static void afterLoadingEnvironment(\Closure $callback) + * @method static void beforeBootstrapping(string $bootstrapper, \Closure $callback) + * @method static void afterBootstrapping(string $bootstrapper, \Closure $callback) + * @method static bool hasBeenBootstrapped() + * @method static \Illuminate\Foundation\Application setBasePath(string $basePath) + * @method static string path(string $path = '') + * @method static \Illuminate\Foundation\Application useAppPath(string $path) + * @method static string basePath(string $path = '') + * @method static string bootstrapPath(string $path = '') + * @method static string getBootstrapProvidersPath() + * @method static \Illuminate\Foundation\Application useBootstrapPath(string $path) + * @method static string configPath(string $path = '') + * @method static \Illuminate\Foundation\Application useConfigPath(string $path) + * @method static string databasePath(string $path = '') + * @method static \Illuminate\Foundation\Application useDatabasePath(string $path) + * @method static string langPath(string $path = '') + * @method static \Illuminate\Foundation\Application useLangPath(string $path) + * @method static string publicPath(string $path = '') + * @method static \Illuminate\Foundation\Application usePublicPath(string $path) + * @method static string storagePath(string $path = '') + * @method static \Illuminate\Foundation\Application useStoragePath(string $path) + * @method static string resourcePath(string $path = '') + * @method static string viewPath(string $path = '') + * @method static string joinPaths(string $basePath, string $path = '') + * @method static string environmentPath() + * @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path) + * @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file) + * @method static string environmentFile() + * @method static string environmentFilePath() + * @method static string|bool environment(string|array ...$environments) + * @method static bool isLocal() + * @method static bool isProduction() + * @method static string detectEnvironment(\Closure $callback) + * @method static bool runningInConsole() + * @method static bool runningConsoleCommand(string|array ...$commands) + * @method static bool runningUnitTests() + * @method static bool hasDebugModeEnabled() + * @method static void registered(callable $callback) + * @method static void registerConfiguredProviders() + * @method static \Illuminate\Support\ServiceProvider register(\Illuminate\Support\ServiceProvider|string $provider, bool $force = false) + * @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider) + * @method static array getProviders(\Illuminate\Support\ServiceProvider|string $provider) + * @method static \Illuminate\Support\ServiceProvider resolveProvider(string $provider) + * @method static void loadDeferredProviders() + * @method static void loadDeferredProvider(string $service) + * @method static void registerDeferredProvider(string $provider, string|null $service = null) + * @method static mixed make(string $abstract, array $parameters = []) + * @method static bool bound(string $abstract) + * @method static bool isBooted() + * @method static void boot() + * @method static void booting(callable $callback) + * @method static void booted(callable $callback) + * @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, int $type = 1, bool $catch = true) + * @method static void handleRequest(\Illuminate\Http\Request $request) + * @method static int handleCommand(\Symfony\Component\Console\Input\InputInterface $input) + * @method static bool shouldMergeFrameworkConfiguration() + * @method static \Illuminate\Foundation\Application dontMergeFrameworkConfiguration() + * @method static bool shouldSkipMiddleware() + * @method static string getCachedServicesPath() + * @method static string getCachedPackagesPath() + * @method static bool configurationIsCached() + * @method static string getCachedConfigPath() + * @method static bool routesAreCached() + * @method static string getCachedRoutesPath() + * @method static bool eventsAreCached() + * @method static string getCachedEventsPath() + * @method static \Illuminate\Foundation\Application addAbsoluteCachePathPrefix(string $prefix) + * @method static \Illuminate\Contracts\Foundation\MaintenanceMode maintenanceMode() + * @method static bool isDownForMaintenance() + * @method static never abort(int $code, string $message = '', array $headers = []) + * @method static \Illuminate\Foundation\Application terminating(callable|string $callback) + * @method static void terminate() + * @method static array getLoadedProviders() + * @method static bool providerIsLoaded(string $provider) + * @method static array getDeferredServices() + * @method static void setDeferredServices(array $services) + * @method static void addDeferredServices(array $services) + * @method static bool isDeferredService(string $service) + * @method static void provideFacades(string $namespace) + * @method static string getLocale() + * @method static string currentLocale() + * @method static string getFallbackLocale() + * @method static void setLocale(string $locale) + * @method static void setFallbackLocale(string $fallbackLocale) + * @method static bool isLocale(string $locale) + * @method static void registerCoreContainerAliases() + * @method static void flush() + * @method static string getNamespace() + * @method static \Illuminate\Contracts\Container\ContextualBindingBuilder when(array|string $concrete) + * @method static void whenHasAttribute(string $attribute, \Closure $handler) + * @method static bool has(string $id) + * @method static bool isShared(string $abstract) + * @method static bool isAlias(string $name) + * @method static void bind(string $abstract, \Closure|string|null $concrete = null, bool $shared = false) + * @method static bool hasMethodBinding(string $method) + * @method static void bindMethod(array|string $method, \Closure $callback) + * @method static mixed callMethodBinding(string $method, mixed $instance) + * @method static void addContextualBinding(string $concrete, string $abstract, \Closure|string $implementation) + * @method static void bindIf(string $abstract, \Closure|string|null $concrete = null, bool $shared = false) + * @method static void singleton(string $abstract, \Closure|string|null $concrete = null) + * @method static void singletonIf(string $abstract, \Closure|string|null $concrete = null) + * @method static void scoped(string $abstract, \Closure|string|null $concrete = null) + * @method static void scopedIf(string $abstract, \Closure|string|null $concrete = null) + * @method static void extend(string $abstract, \Closure $closure) + * @method static mixed instance(string $abstract, mixed $instance) + * @method static void tag(array|string $abstracts, array|mixed $tags) + * @method static iterable tagged(string $tag) + * @method static void alias(string $abstract, string $alias) + * @method static mixed rebinding(string $abstract, \Closure $callback) + * @method static mixed refresh(string $abstract, mixed $target, string $method) + * @method static \Closure wrap(\Closure $callback, array $parameters = []) + * @method static mixed call(callable|string $callback, array $parameters = [], string|null $defaultMethod = null) + * @method static \Closure factory(string $abstract) + * @method static mixed makeWith(string|callable $abstract, array $parameters = []) + * @method static mixed get(string $id) + * @method static mixed build(\Closure|string $concrete) + * @method static void beforeResolving(\Closure|string $abstract, \Closure|null $callback = null) + * @method static void resolving(\Closure|string $abstract, \Closure|null $callback = null) + * @method static void afterResolving(\Closure|string $abstract, \Closure|null $callback = null) + * @method static void afterResolvingAttribute(string $attribute, \Closure $callback) + * @method static array getBindings() + * @method static string getAlias(string $abstract) + * @method static void forgetExtenders(string $abstract) + * @method static void forgetInstance(string $abstract) + * @method static void forgetInstances() + * @method static void forgetScopedInstances() + * @method static \Illuminate\Foundation\Application getInstance() + * @method static \Illuminate\Contracts\Container\Container|\Illuminate\Foundation\Application setInstance(\Illuminate\Contracts\Container\Container|null $container = null) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Foundation\Application */ class App extends Facade diff --git a/src/Illuminate/Support/Facades/Artisan.php b/src/Illuminate/Support/Facades/Artisan.php index 680471b853ae..d3a0d9d4ea81 100755 --- a/src/Illuminate/Support/Facades/Artisan.php +++ b/src/Illuminate/Support/Facades/Artisan.php @@ -5,6 +5,24 @@ use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; /** + * @method static int handle(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface|null $output = null) + * @method static void terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status) + * @method static void whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler) + * @method static \Illuminate\Support\Carbon|null commandStartedAt() + * @method static \Illuminate\Console\Scheduling\Schedule resolveConsoleSchedule() + * @method static \Illuminate\Foundation\Console\ClosureCommand command(string $signature, \Closure $callback) + * @method static void registerCommand(\Symfony\Component\Console\Command\Command $command) + * @method static int call(string $command, array $parameters = [], \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null) + * @method static \Illuminate\Foundation\Bus\PendingDispatch queue(string $command, array $parameters = []) + * @method static array all() + * @method static string output() + * @method static void bootstrap() + * @method static void bootstrapWithoutBootingProviders() + * @method static void setArtisan(\Illuminate\Console\Application|null $artisan) + * @method static \Illuminate\Foundation\Console\Kernel addCommands(array $commands) + * @method static \Illuminate\Foundation\Console\Kernel addCommandPaths(array $paths) + * @method static \Illuminate\Foundation\Console\Kernel addCommandRoutePaths(array $paths) + * * @see \Illuminate\Foundation\Console\Kernel */ class Artisan extends Facade diff --git a/src/Illuminate/Support/Facades/Auth.php b/src/Illuminate/Support/Facades/Auth.php index 7a190445921b..fb0165795baa 100755 --- a/src/Illuminate/Support/Facades/Auth.php +++ b/src/Illuminate/Support/Facades/Auth.php @@ -6,6 +6,64 @@ use RuntimeException; /** + * @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard guard(string|null $name = null) + * @method static \Illuminate\Auth\SessionGuard createSessionDriver(string $name, array $config) + * @method static \Illuminate\Auth\TokenGuard createTokenDriver(string $name, array $config) + * @method static string getDefaultDriver() + * @method static void shouldUse(string $name) + * @method static void setDefaultDriver(string $name) + * @method static \Illuminate\Auth\AuthManager viaRequest(string $driver, callable $callback) + * @method static \Closure userResolver() + * @method static \Illuminate\Auth\AuthManager resolveUsersUsing(\Closure $userResolver) + * @method static \Illuminate\Auth\AuthManager extend(string $driver, \Closure $callback) + * @method static \Illuminate\Auth\AuthManager provider(string $name, \Closure $callback) + * @method static bool hasResolvedGuards() + * @method static \Illuminate\Auth\AuthManager forgetGuards() + * @method static \Illuminate\Auth\AuthManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static \Illuminate\Contracts\Auth\UserProvider|null createUserProvider(string|null $provider = null) + * @method static string getDefaultUserProvider() + * @method static bool check() + * @method static bool guest() + * @method static \Illuminate\Contracts\Auth\Authenticatable|null user() + * @method static int|string|null id() + * @method static bool validate(array $credentials = []) + * @method static bool hasUser() + * @method static \Illuminate\Contracts\Auth\Guard setUser(\Illuminate\Contracts\Auth\Authenticatable $user) + * @method static bool attempt(array $credentials = [], bool $remember = false) + * @method static bool once(array $credentials = []) + * @method static void login(\Illuminate\Contracts\Auth\Authenticatable $user, bool $remember = false) + * @method static \Illuminate\Contracts\Auth\Authenticatable|false loginUsingId(mixed $id, bool $remember = false) + * @method static \Illuminate\Contracts\Auth\Authenticatable|false onceUsingId(mixed $id) + * @method static bool viaRemember() + * @method static void logout() + * @method static \Symfony\Component\HttpFoundation\Response|null basic(string $field = 'email', array $extraConditions = []) + * @method static \Symfony\Component\HttpFoundation\Response|null onceBasic(string $field = 'email', array $extraConditions = []) + * @method static bool attemptWhen(array $credentials = [], array|callable|null $callbacks = null, bool $remember = false) + * @method static void logoutCurrentDevice() + * @method static \Illuminate\Contracts\Auth\Authenticatable|null logoutOtherDevices(string $password) + * @method static void attempting(mixed $callback) + * @method static \Illuminate\Contracts\Auth\Authenticatable getLastAttempted() + * @method static string getName() + * @method static string getRecallerName() + * @method static \Illuminate\Auth\SessionGuard setRememberDuration(int $minutes) + * @method static \Illuminate\Contracts\Cookie\QueueingFactory getCookieJar() + * @method static void setCookieJar(\Illuminate\Contracts\Cookie\QueueingFactory $cookie) + * @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher() + * @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) + * @method static \Illuminate\Contracts\Session\Session getSession() + * @method static \Illuminate\Contracts\Auth\Authenticatable|null getUser() + * @method static \Symfony\Component\HttpFoundation\Request getRequest() + * @method static \Illuminate\Auth\SessionGuard setRequest(\Symfony\Component\HttpFoundation\Request $request) + * @method static \Illuminate\Support\Timebox getTimebox() + * @method static \Illuminate\Contracts\Auth\Authenticatable authenticate() + * @method static \Illuminate\Auth\SessionGuard forgetUser() + * @method static \Illuminate\Contracts\Auth\UserProvider getProvider() + * @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Auth\AuthManager * @see \Illuminate\Auth\SessionGuard */ diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index 348719a61631..3d32cf8621c7 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -3,6 +3,48 @@ namespace Illuminate\Support\Facades; /** + * @method static void compile(string|null $path = null) + * @method static string getPath() + * @method static void setPath(string $path) + * @method static string compileString(string $value) + * @method static string render(string $string, array $data = [], bool $deleteCachedView = false) + * @method static string renderComponent(\Illuminate\View\Component $component) + * @method static string stripParentheses(string $expression) + * @method static void extend(callable $compiler) + * @method static array getExtensions() + * @method static void if(string $name, callable $callback) + * @method static bool check(string $name, mixed ...$parameters) + * @method static void component(string $class, string|null $alias = null, string $prefix = '') + * @method static void components(array $components, string $prefix = '') + * @method static array getClassComponentAliases() + * @method static void anonymousComponentPath(string $path, string|null $prefix = null) + * @method static void anonymousComponentNamespace(string $directory, string|null $prefix = null) + * @method static void componentNamespace(string $namespace, string $prefix) + * @method static array getAnonymousComponentPaths() + * @method static array getAnonymousComponentNamespaces() + * @method static array getClassComponentNamespaces() + * @method static void aliasComponent(string $path, string|null $alias = null) + * @method static void include(string $path, string|null $alias = null) + * @method static void aliasInclude(string $path, string|null $alias = null) + * @method static void directive(string $name, callable $handler) + * @method static array getCustomDirectives() + * @method static \Illuminate\View\Compilers\BladeCompiler prepareStringsForCompilationUsing(callable $callback) + * @method static void precompiler(callable $precompiler) + * @method static void setEchoFormat(string $format) + * @method static void withDoubleEncoding() + * @method static void withoutDoubleEncoding() + * @method static void withoutComponentTags() + * @method static string getCompiledPath(string $path) + * @method static bool isExpired(string $path) + * @method static string newComponentHash(string $component) + * @method static string compileClassComponentOpening(string $component, string $alias, string $data, string $hash) + * @method static string compileEndComponentClass() + * @method static mixed sanitizeComponentAttribute(mixed $value) + * @method static string compileEndOnce() + * @method static void stringable(string|callable $class, callable|null $handler = null) + * @method static string compileEchos(string $value) + * @method static string applyEchoHandler(string $value) + * * @see \Illuminate\View\Compilers\BladeCompiler */ class Blade extends Facade diff --git a/src/Illuminate/Support/Facades/Broadcast.php b/src/Illuminate/Support/Facades/Broadcast.php index 9f32ffde5b09..6ca8d0e873fc 100644 --- a/src/Illuminate/Support/Facades/Broadcast.php +++ b/src/Illuminate/Support/Facades/Broadcast.php @@ -5,6 +5,34 @@ use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract; /** + * @method static void routes(array|null $attributes = null) + * @method static void userRoutes(array|null $attributes = null) + * @method static void channelRoutes(array|null $attributes = null) + * @method static string|null socket(\Illuminate\Http\Request|null $request = null) + * @method static \Illuminate\Broadcasting\AnonymousEvent on(\Illuminate\Broadcasting\Channel|array|string $channels) + * @method static \Illuminate\Broadcasting\AnonymousEvent private(string $channel) + * @method static \Illuminate\Broadcasting\AnonymousEvent presence(string $channel) + * @method static \Illuminate\Broadcasting\PendingBroadcast event(mixed|null $event = null) + * @method static void queue(mixed $event) + * @method static mixed connection(string|null $driver = null) + * @method static mixed driver(string|null $name = null) + * @method static \Pusher\Pusher pusher(array $config) + * @method static \Ably\AblyRest ably(array $config) + * @method static string getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static void purge(string|null $name = null) + * @method static \Illuminate\Broadcasting\BroadcastManager extend(string $driver, \Closure $callback) + * @method static \Illuminate\Contracts\Foundation\Application getApplication() + * @method static \Illuminate\Broadcasting\BroadcastManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static \Illuminate\Broadcasting\BroadcastManager forgetDrivers() + * @method static mixed auth(\Illuminate\Http\Request $request) + * @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result) + * @method static void broadcast(array $channels, string $event, array $payload = []) + * @method static array|null resolveAuthenticatedUser(\Illuminate\Http\Request $request) + * @method static void resolveAuthenticatedUserUsing(\Closure $callback) + * @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = []) + * @method static \Illuminate\Support\Collection getChannels() + * * @see \Illuminate\Broadcasting\BroadcastManager * @see \Illuminate\Broadcasting\Broadcasters\Broadcaster */ diff --git a/src/Illuminate/Support/Facades/Bus.php b/src/Illuminate/Support/Facades/Bus.php index f2438accdcf0..87ee410bd486 100644 --- a/src/Illuminate/Support/Facades/Bus.php +++ b/src/Illuminate/Support/Facades/Bus.php @@ -8,6 +8,47 @@ use Illuminate\Support\Testing\Fakes\BusFake; /** + * @method static mixed dispatch(mixed $command) + * @method static mixed dispatchSync(mixed $command, mixed $handler = null) + * @method static mixed dispatchNow(mixed $command, mixed $handler = null) + * @method static \Illuminate\Bus\Batch|null findBatch(string $batchId) + * @method static \Illuminate\Bus\PendingBatch batch(\Illuminate\Support\Collection|array|mixed $jobs) + * @method static \Illuminate\Foundation\Bus\PendingChain chain(\Illuminate\Support\Collection|array $jobs) + * @method static bool hasCommandHandler(mixed $command) + * @method static bool|mixed getCommandHandler(mixed $command) + * @method static mixed dispatchToQueue(mixed $command) + * @method static void dispatchAfterResponse(mixed $command, mixed $handler = null) + * @method static \Illuminate\Bus\Dispatcher pipeThrough(array $pipes) + * @method static \Illuminate\Bus\Dispatcher map(array $map) + * @method static \Illuminate\Support\Testing\Fakes\BusFake except(array|string $jobsToDispatch) + * @method static void assertDispatched(string|\Closure $command, callable|int|null $callback = null) + * @method static void assertDispatchedTimes(string|\Closure $command, int $times = 1) + * @method static void assertNotDispatched(string|\Closure $command, callable|null $callback = null) + * @method static void assertNothingDispatched() + * @method static void assertDispatchedSync(string|\Closure $command, callable|int|null $callback = null) + * @method static void assertDispatchedSyncTimes(string|\Closure $command, int $times = 1) + * @method static void assertNotDispatchedSync(string|\Closure $command, callable|null $callback = null) + * @method static void assertDispatchedAfterResponse(string|\Closure $command, callable|int|null $callback = null) + * @method static void assertDispatchedAfterResponseTimes(string|\Closure $command, int $times = 1) + * @method static void assertNotDispatchedAfterResponse(string|\Closure $command, callable|null $callback = null) + * @method static void assertChained(array $expectedChain) + * @method static void assertDispatchedWithoutChain(string|\Closure $command, callable|null $callback = null) + * @method static \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest chainedBatch(\Closure $callback) + * @method static void assertBatched(callable $callback) + * @method static void assertBatchCount(int $count) + * @method static void assertNothingBatched() + * @method static \Illuminate\Support\Collection dispatched(string $command, callable|null $callback = null) + * @method static \Illuminate\Support\Collection dispatchedSync(string $command, callable|null $callback = null) + * @method static \Illuminate\Support\Collection dispatchedAfterResponse(string $command, callable|null $callback = null) + * @method static \Illuminate\Support\Collection batched(callable $callback) + * @method static bool hasDispatched(string $command) + * @method static bool hasDispatchedSync(string $command) + * @method static bool hasDispatchedAfterResponse(string $command) + * @method static \Illuminate\Bus\Batch dispatchFakeBatch(string $name = '') + * @method static \Illuminate\Bus\Batch recordPendingBatch(\Illuminate\Bus\PendingBatch $pendingBatch) + * @method static \Illuminate\Support\Testing\Fakes\BusFake serializeAndRestore(bool $serializeAndRestore = true) + * @method static array dispatchedBatches() + * * @see \Illuminate\Bus\Dispatcher * @see \Illuminate\Support\Testing\Fakes\BusFake */ diff --git a/src/Illuminate/Support/Facades/Cache.php b/src/Illuminate/Support/Facades/Cache.php index 2e32301faf1e..729f88488797 100755 --- a/src/Illuminate/Support/Facades/Cache.php +++ b/src/Illuminate/Support/Facades/Cache.php @@ -3,6 +3,56 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Contracts\Cache\Repository store(string|null $name = null) + * @method static \Illuminate\Contracts\Cache\Repository driver(string|null $driver = null) + * @method static \Illuminate\Contracts\Cache\Repository resolve(string $name) + * @method static \Illuminate\Cache\Repository repository(\Illuminate\Contracts\Cache\Store $store, array $config = []) + * @method static void refreshEventDispatcher() + * @method static string getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static \Illuminate\Cache\CacheManager forgetDriver(array|string|null $name = null) + * @method static void purge(string|null $name = null) + * @method static \Illuminate\Cache\CacheManager extend(string $driver, \Closure $callback) + * @method static \Illuminate\Cache\CacheManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static bool has(array|string $key) + * @method static bool missing(string $key) + * @method static mixed get(array|string $key, mixed|\Closure $default = null) + * @method static array many(array $keys) + * @method static iterable getMultiple(iterable $keys, mixed $default = null) + * @method static mixed pull(array|string $key, mixed|\Closure $default = null) + * @method static bool put(array|string $key, mixed $value, \DateTimeInterface|\DateInterval|int|null $ttl = null) + * @method static bool set(string $key, mixed $value, null|int|\DateInterval $ttl = null) + * @method static bool putMany(array $values, \DateTimeInterface|\DateInterval|int|null $ttl = null) + * @method static bool setMultiple(iterable $values, null|int|\DateInterval $ttl = null) + * @method static bool add(string $key, mixed $value, \DateTimeInterface|\DateInterval|int|null $ttl = null) + * @method static int|bool increment(string $key, mixed $value = 1) + * @method static int|bool decrement(string $key, mixed $value = 1) + * @method static bool forever(string $key, mixed $value) + * @method static mixed remember(string $key, \Closure|\DateTimeInterface|\DateInterval|int|null $ttl, \Closure $callback) + * @method static mixed sear(string $key, \Closure $callback) + * @method static mixed rememberForever(string $key, \Closure $callback) + * @method static bool forget(string $key) + * @method static bool delete(string $key) + * @method static bool deleteMultiple(iterable $keys) + * @method static bool clear() + * @method static \Illuminate\Cache\TaggedCache tags(array|mixed $names) + * @method static bool supportsTags() + * @method static int|null getDefaultCacheTime() + * @method static \Illuminate\Cache\Repository setDefaultCacheTime(int|null $seconds) + * @method static \Illuminate\Contracts\Cache\Store getStore() + * @method static \Illuminate\Cache\Repository setStore(\Illuminate\Contracts\Cache\Store $store) + * @method static \Illuminate\Contracts\Events\Dispatcher|null getEventDispatcher() + * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * @method static bool flush() + * @method static string getPrefix() + * @method static \Illuminate\Contracts\Cache\Lock lock(string $name, int $seconds = 0, string|null $owner = null) + * @method static \Illuminate\Contracts\Cache\Lock restoreLock(string $name, string $owner) + * * @see \Illuminate\Cache\CacheManager * @see \Illuminate\Cache\Repository */ diff --git a/src/Illuminate/Support/Facades/Config.php b/src/Illuminate/Support/Facades/Config.php index 3eb4fdf35d1b..3fe3bac716c4 100755 --- a/src/Illuminate/Support/Facades/Config.php +++ b/src/Illuminate/Support/Facades/Config.php @@ -3,6 +3,23 @@ namespace Illuminate\Support\Facades; /** + * @method static bool has(string $key) + * @method static mixed get(array|string $key, mixed $default = null) + * @method static array getMany(array $keys) + * @method static string string(string $key, \Closure|string|null $default = null) + * @method static int integer(string $key, \Closure|int|null $default = null) + * @method static float float(string $key, \Closure|float|null $default = null) + * @method static bool boolean(string $key, \Closure|bool|null $default = null) + * @method static array array(string $key, \Closure|array|null $default = null) + * @method static void set(array|string $key, mixed $value = null) + * @method static void prepend(string $key, mixed $value) + * @method static void push(string $key, mixed $value) + * @method static array all() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Config\Repository */ class Config extends Facade diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index b08307bae2c2..65a3f837d5f8 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -3,6 +3,37 @@ namespace Illuminate\Support\Facades; /** + * @method static bool has(string $key) + * @method static bool hasHidden(string $key) + * @method static array all() + * @method static array allHidden() + * @method static mixed get(string $key, mixed $default = null) + * @method static mixed getHidden(string $key, mixed $default = null) + * @method static mixed pull(string $key, mixed $default = null) + * @method static mixed pullHidden(string $key, mixed $default = null) + * @method static array only(array $keys) + * @method static array onlyHidden(array $keys) + * @method static \Illuminate\Log\Context\Repository add(string|array $key, mixed $value = null) + * @method static \Illuminate\Log\Context\Repository addHidden(string|array $key, mixed $value = null) + * @method static \Illuminate\Log\Context\Repository forget(string|array $key) + * @method static \Illuminate\Log\Context\Repository forgetHidden(string|array $key) + * @method static \Illuminate\Log\Context\Repository addIf(string $key, mixed $value) + * @method static \Illuminate\Log\Context\Repository addHiddenIf(string $key, mixed $value) + * @method static \Illuminate\Log\Context\Repository push(string $key, mixed ...$values) + * @method static \Illuminate\Log\Context\Repository pushHidden(string $key, mixed ...$values) + * @method static bool isEmpty() + * @method static \Illuminate\Log\Context\Repository dehydrating(callable $callback) + * @method static \Illuminate\Log\Context\Repository hydrated(callable $callback) + * @method static \Illuminate\Log\Context\Repository handleUnserializeExceptionsUsing(callable|null $callback) + * @method static \Illuminate\Log\Context\Repository flush() + * @method static \Illuminate\Log\Context\Repository|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Log\Context\Repository|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static \Illuminate\Database\Eloquent\Model restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value) + * * @see \Illuminate\Log\Context\Repository */ class Context extends Facade diff --git a/src/Illuminate/Support/Facades/Cookie.php b/src/Illuminate/Support/Facades/Cookie.php index b79478362a71..ab0b9f73f457 100755 --- a/src/Illuminate/Support/Facades/Cookie.php +++ b/src/Illuminate/Support/Facades/Cookie.php @@ -3,6 +3,22 @@ namespace Illuminate\Support\Facades; /** + * @method static \Symfony\Component\HttpFoundation\Cookie make(string $name, string $value, int $minutes = 0, string|null $path = null, string|null $domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null) + * @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name, string $value, string|null $path = null, string|null $domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null) + * @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name, string|null $path = null, string|null $domain = null) + * @method static bool hasQueued(string $key, string|null $path = null) + * @method static \Symfony\Component\HttpFoundation\Cookie|null queued(string $key, mixed $default = null, string|null $path = null) + * @method static void queue(mixed ...$parameters) + * @method static void expire(string $name, string|null $path = null, string|null $domain = null) + * @method static void unqueue(string $name, string|null $path = null) + * @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string|null $domain, bool|null $secure = false, string|null $sameSite = null) + * @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies() + * @method static \Illuminate\Cookie\CookieJar flushQueuedCookies() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Cookie\CookieJar */ class Cookie extends Facade diff --git a/src/Illuminate/Support/Facades/Crypt.php b/src/Illuminate/Support/Facades/Crypt.php index 0eef08d1bddb..6d197161141a 100755 --- a/src/Illuminate/Support/Facades/Crypt.php +++ b/src/Illuminate/Support/Facades/Crypt.php @@ -3,6 +3,17 @@ namespace Illuminate\Support\Facades; /** + * @method static bool supported(string $key, string $cipher) + * @method static string generateKey(string $cipher) + * @method static string encrypt(mixed $value, bool $serialize = true) + * @method static string encryptString(string $value) + * @method static mixed decrypt(string $payload, bool $unserialize = true) + * @method static string decryptString(string $payload) + * @method static string getKey() + * @method static array getAllKeys() + * @method static array getPreviousKeys() + * @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys) + * * @see \Illuminate\Encryption\Encrypter */ class Crypt extends Facade diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index c62bbe8d395e..da0f04418d26 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -8,6 +8,110 @@ use Illuminate\Database\Console\WipeCommand; /** + * @method static \Illuminate\Database\Connection connection(string|null $name = null) + * @method static \Illuminate\Database\ConnectionInterface connectUsing(string $name, array $config, bool $force = false) + * @method static void purge(string|null $name = null) + * @method static void disconnect(string|null $name = null) + * @method static \Illuminate\Database\Connection reconnect(string|null $name = null) + * @method static mixed usingConnection(string $name, callable $callback) + * @method static string getDefaultConnection() + * @method static void setDefaultConnection(string $name) + * @method static string[] supportedDrivers() + * @method static string[] availableDrivers() + * @method static void extend(string $name, callable $resolver) + * @method static void forgetExtension(string $name) + * @method static array getConnections() + * @method static void setReconnector(callable $reconnector) + * @method static \Illuminate\Database\DatabaseManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * @method static void useDefaultQueryGrammar() + * @method static void useDefaultSchemaGrammar() + * @method static void useDefaultPostProcessor() + * @method static \Illuminate\Database\Schema\Builder getSchemaBuilder() + * @method static \Illuminate\Database\Query\Builder table(\Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string $table, string|null $as = null) + * @method static \Illuminate\Database\Query\Builder query() + * @method static mixed selectOne(string $query, array $bindings = [], bool $useReadPdo = true) + * @method static mixed scalar(string $query, array $bindings = [], bool $useReadPdo = true) + * @method static array selectFromWriteConnection(string $query, array $bindings = []) + * @method static array select(string $query, array $bindings = [], bool $useReadPdo = true) + * @method static array selectResultSets(string $query, array $bindings = [], bool $useReadPdo = true) + * @method static \Generator cursor(string $query, array $bindings = [], bool $useReadPdo = true) + * @method static bool insert(string $query, array $bindings = []) + * @method static int update(string $query, array $bindings = []) + * @method static int delete(string $query, array $bindings = []) + * @method static bool statement(string $query, array $bindings = []) + * @method static int affectingStatement(string $query, array $bindings = []) + * @method static bool unprepared(string $query) + * @method static int|null threadCount() + * @method static array pretend(\Closure $callback) + * @method static mixed withoutPretending(\Closure $callback) + * @method static void bindValues(\PDOStatement $statement, array $bindings) + * @method static array prepareBindings(array $bindings) + * @method static void logQuery(string $query, array $bindings, float|null $time = null) + * @method static void whenQueryingForLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler) + * @method static void allowQueryDurationHandlersToRunAgain() + * @method static float totalQueryDuration() + * @method static void resetTotalQueryDuration() + * @method static void reconnectIfMissingConnection() + * @method static \Illuminate\Database\Connection beforeStartingTransaction(\Closure $callback) + * @method static \Illuminate\Database\Connection beforeExecuting(\Closure $callback) + * @method static void listen(\Closure $callback) + * @method static \Illuminate\Contracts\Database\Query\Expression raw(mixed $value) + * @method static string escape(string|float|int|bool|null $value, bool $binary = false) + * @method static bool hasModifiedRecords() + * @method static void recordsHaveBeenModified(bool $value = true) + * @method static \Illuminate\Database\Connection setRecordModificationState(bool $value) + * @method static void forgetRecordModificationState() + * @method static \Illuminate\Database\Connection useWriteConnectionWhenReading(bool $value = true) + * @method static \PDO getPdo() + * @method static \PDO|\Closure|null getRawPdo() + * @method static \PDO getReadPdo() + * @method static \PDO|\Closure|null getRawReadPdo() + * @method static \Illuminate\Database\Connection setPdo(\PDO|\Closure|null $pdo) + * @method static \Illuminate\Database\Connection setReadPdo(\PDO|\Closure|null $pdo) + * @method static string|null getName() + * @method static string|null getNameWithReadWriteType() + * @method static mixed getConfig(string|null $option = null) + * @method static string getDriverName() + * @method static string getDriverTitle() + * @method static \Illuminate\Database\Query\Grammars\Grammar getQueryGrammar() + * @method static \Illuminate\Database\Connection setQueryGrammar(\Illuminate\Database\Query\Grammars\Grammar $grammar) + * @method static \Illuminate\Database\Schema\Grammars\Grammar getSchemaGrammar() + * @method static \Illuminate\Database\Connection setSchemaGrammar(\Illuminate\Database\Schema\Grammars\Grammar $grammar) + * @method static \Illuminate\Database\Query\Processors\Processor getPostProcessor() + * @method static \Illuminate\Database\Connection setPostProcessor(\Illuminate\Database\Query\Processors\Processor $processor) + * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static \Illuminate\Database\Connection setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) + * @method static void unsetEventDispatcher() + * @method static \Illuminate\Database\Connection setTransactionManager(\Illuminate\Database\DatabaseTransactionsManager $manager) + * @method static void unsetTransactionManager() + * @method static bool pretending() + * @method static array getQueryLog() + * @method static array getRawQueryLog() + * @method static void flushQueryLog() + * @method static void enableQueryLog() + * @method static void disableQueryLog() + * @method static bool logging() + * @method static string getDatabaseName() + * @method static \Illuminate\Database\Connection setDatabaseName(string $database) + * @method static \Illuminate\Database\Connection setReadWriteType(string|null $readWriteType) + * @method static string getTablePrefix() + * @method static \Illuminate\Database\Connection setTablePrefix(string $prefix) + * @method static \Illuminate\Database\Grammar withTablePrefix(\Illuminate\Database\Grammar $grammar) + * @method static string getServerVersion() + * @method static void resolverFor(string $driver, \Closure $callback) + * @method static mixed getResolver(string $driver) + * @method static mixed transaction(\Closure $callback, int $attempts = 1) + * @method static void beginTransaction() + * @method static void commit() + * @method static void rollBack(int|null $toLevel = null) + * @method static int transactionLevel() + * @method static void afterCommit(callable $callback) + * * @see \Illuminate\Database\DatabaseManager */ class DB extends Facade diff --git a/src/Illuminate/Support/Facades/Date.php b/src/Illuminate/Support/Facades/Date.php index a59df04ffe97..7d4607f99d67 100644 --- a/src/Illuminate/Support/Facades/Date.php +++ b/src/Illuminate/Support/Facades/Date.php @@ -7,6 +7,84 @@ /** * @see https://carbon.nesbot.com/docs/ * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php + * + * @method static mixed use(mixed $handler) + * @method static void useDefault() + * @method static void useCallable(callable $callable) + * @method static void useClass(string $dateClass) + * @method static void useFactory(object $factory) + * @method static \Illuminate\Support\Carbon create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) + * @method static \Illuminate\Support\Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) + * @method static \Illuminate\Support\Carbon|false createFromFormat($format, $time, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimeString($time, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimestamp($timestamp, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimestampMs($timestamp, $tz = null) + * @method static \Illuminate\Support\Carbon createFromTimestampUTC($timestamp) + * @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) + * @method static \Illuminate\Support\Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) + * @method static void disableHumanDiffOption($humanDiffOption) + * @method static void enableHumanDiffOption($humanDiffOption) + * @method static mixed executeWithLocale($locale, $func) + * @method static \Illuminate\Support\Carbon fromSerialized($value) + * @method static array getAvailableLocales() + * @method static array getDays() + * @method static int getHumanDiffOptions() + * @method static array getIsoUnits() + * @method static array getLastErrors() + * @method static string getLocale() + * @method static int getMidDayAt() + * @method static \Illuminate\Support\Carbon|null getTestNow() + * @method static \Symfony\Component\Translation\TranslatorInterface getTranslator() + * @method static int getWeekEndsAt() + * @method static int getWeekStartsAt() + * @method static array getWeekendDays() + * @method static bool hasFormat($date, $format) + * @method static bool hasMacro($name) + * @method static bool hasRelativeKeywords($time) + * @method static bool hasTestNow() + * @method static \Illuminate\Support\Carbon instance($date) + * @method static bool isImmutable() + * @method static bool isModifiableUnit($unit) + * @method static bool isMutable() + * @method static bool isStrictModeEnabled() + * @method static bool localeHasDiffOneDayWords($locale) + * @method static bool localeHasDiffSyntax($locale) + * @method static bool localeHasDiffTwoDayWords($locale) + * @method static bool localeHasPeriodSyntax($locale) + * @method static bool localeHasShortUnits($locale) + * @method static void macro($name, $macro) + * @method static \Illuminate\Support\Carbon|null make($var) + * @method static \Illuminate\Support\Carbon maxValue() + * @method static \Illuminate\Support\Carbon minValue() + * @method static void mixin($mixin) + * @method static \Illuminate\Support\Carbon now($tz = null) + * @method static \Illuminate\Support\Carbon parse($time = null, $tz = null) + * @method static string pluralUnit(string $unit) + * @method static void resetMonthsOverflow() + * @method static void resetToStringFormat() + * @method static void resetYearsOverflow() + * @method static void serializeUsing($callback) + * @method static void setHumanDiffOptions($humanDiffOptions) + * @method static bool setLocale($locale) + * @method static void setMidDayAt($hour) + * @method static void setTestNow($testNow = null) + * @method static void setToStringFormat($format) + * @method static void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) + * @method static void setUtf8($utf8) + * @method static void setWeekEndsAt($day) + * @method static void setWeekStartsAt($day) + * @method static void setWeekendDays($days) + * @method static bool shouldOverflowMonths() + * @method static bool shouldOverflowYears() + * @method static string singularUnit(string $unit) + * @method static \Illuminate\Support\Carbon today($tz = null) + * @method static \Illuminate\Support\Carbon tomorrow($tz = null) + * @method static void useMonthsOverflow($monthsOverflow = true) + * @method static void useStrictMode($strictModeEnabled = true) + * @method static void useYearsOverflow($yearsOverflow = true) + * @method static \Illuminate\Support\Carbon yesterday($tz = null) + * * @see \Illuminate\Support\DateFactory */ class Date extends Facade diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index cfceb6d2353b..14efbae42748 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,6 +6,36 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** + * @method static void listen(\Closure|string|array $events, \Closure|string|array|null $listener = null) + * @method static bool hasListeners(string $eventName) + * @method static bool hasWildcardListeners(string $eventName) + * @method static void push(string $event, object|array $payload = []) + * @method static void flush(string $event) + * @method static void subscribe(object|string $subscriber) + * @method static mixed until(string|object $event, mixed $payload = []) + * @method static array|null dispatch(string|object $event, mixed $payload = [], bool $halt = false) + * @method static array getListeners(string $eventName) + * @method static \Closure makeListener(\Closure|string|array $listener, bool $wildcard = false) + * @method static \Closure createClassListener(string $listener, bool $wildcard = false) + * @method static void forget(string $event) + * @method static void forgetPushed() + * @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver) + * @method static \Illuminate\Events\Dispatcher setTransactionManagerResolver(callable $resolver) + * @method static array getRawListeners() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static \Illuminate\Support\Testing\Fakes\EventFake except(array|string $eventsToDispatch) + * @method static void assertListening(string $expectedEvent, string|array $expectedListener) + * @method static void assertDispatched(string|\Closure $event, callable|int|null $callback = null) + * @method static void assertDispatchedTimes(string $event, int $times = 1) + * @method static void assertNotDispatched(string|\Closure $event, callable|null $callback = null) + * @method static void assertNothingDispatched() + * @method static \Illuminate\Support\Collection dispatched(string $event, callable|null $callback = null) + * @method static bool hasDispatched(string $event) + * @method static array dispatchedEvents() + * * @see \Illuminate\Events\Dispatcher * @see \Illuminate\Support\Testing\Fakes\EventFake */ diff --git a/src/Illuminate/Support/Facades/File.php b/src/Illuminate/Support/Facades/File.php index 0f81bf62a969..6f15962587d1 100755 --- a/src/Illuminate/Support/Facades/File.php +++ b/src/Illuminate/Support/Facades/File.php @@ -3,6 +3,59 @@ namespace Illuminate\Support\Facades; /** + * @method static bool exists(string $path) + * @method static bool missing(string $path) + * @method static string get(string $path, bool $lock = false) + * @method static array json(string $path, int $flags = 0, bool $lock = false) + * @method static string sharedGet(string $path) + * @method static mixed getRequire(string $path, array $data = []) + * @method static mixed requireOnce(string $path, array $data = []) + * @method static \Illuminate\Support\LazyCollection lines(string $path) + * @method static string hash(string $path, string $algorithm = 'md5') + * @method static int|bool put(string $path, string $contents, bool $lock = false) + * @method static void replace(string $path, string $content, int|null $mode = null) + * @method static void replaceInFile(array|string $search, array|string $replace, string $path) + * @method static int prepend(string $path, string $data) + * @method static int append(string $path, string $data, bool $lock = false) + * @method static mixed chmod(string $path, int|null $mode = null) + * @method static bool delete(string|array $paths) + * @method static bool move(string $path, string $target) + * @method static bool copy(string $path, string $target) + * @method static bool|null link(string $target, string $link) + * @method static void relativeLink(string $target, string $link) + * @method static string name(string $path) + * @method static string basename(string $path) + * @method static string dirname(string $path) + * @method static string extension(string $path) + * @method static string|null guessExtension(string $path) + * @method static string type(string $path) + * @method static string|false mimeType(string $path) + * @method static int size(string $path) + * @method static int lastModified(string $path) + * @method static bool isDirectory(string $directory) + * @method static bool isEmptyDirectory(string $directory, bool $ignoreDotFiles = false) + * @method static bool isReadable(string $path) + * @method static bool isWritable(string $path) + * @method static bool hasSameHash(string $firstFile, string $secondFile) + * @method static bool isFile(string $file) + * @method static array glob(string $pattern, int $flags = 0) + * @method static \Symfony\Component\Finder\SplFileInfo[] files(string $directory, bool $hidden = false) + * @method static \Symfony\Component\Finder\SplFileInfo[] allFiles(string $directory, bool $hidden = false) + * @method static array directories(string $directory) + * @method static void ensureDirectoryExists(string $path, int $mode = 0755, bool $recursive = true) + * @method static bool makeDirectory(string $path, int $mode = 0755, bool $recursive = false, bool $force = false) + * @method static bool moveDirectory(string $from, string $to, bool $overwrite = false) + * @method static bool copyDirectory(string $directory, string $destination, int|null $options = null) + * @method static bool deleteDirectory(string $directory, bool $preserve = false) + * @method static bool deleteDirectories(string $directory) + * @method static bool cleanDirectory(string $directory) + * @method static \Illuminate\Filesystem\Filesystem|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Filesystem\Filesystem|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Filesystem\Filesystem */ class File extends Facade diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index e7d188f780ae..4423a1d6a0fb 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -5,6 +5,33 @@ use Illuminate\Contracts\Auth\Access\Gate as GateContract; /** + * @method static bool has(string|array $ability) + * @method static \Illuminate\Auth\Access\Response allowIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null) + * @method static \Illuminate\Auth\Access\Response denyIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null) + * @method static \Illuminate\Auth\Access\Gate define(string $ability, callable|array|string $callback) + * @method static \Illuminate\Auth\Access\Gate resource(string $name, string $class, array|null $abilities = null) + * @method static \Illuminate\Auth\Access\Gate policy(string $class, string $policy) + * @method static \Illuminate\Auth\Access\Gate before(callable $callback) + * @method static \Illuminate\Auth\Access\Gate after(callable $callback) + * @method static bool allows(iterable|string $ability, array|mixed $arguments = []) + * @method static bool denies(iterable|string $ability, array|mixed $arguments = []) + * @method static bool check(iterable|string $abilities, array|mixed $arguments = []) + * @method static bool any(iterable|string $abilities, array|mixed $arguments = []) + * @method static bool none(iterable|string $abilities, array|mixed $arguments = []) + * @method static \Illuminate\Auth\Access\Response authorize(string $ability, array|mixed $arguments = []) + * @method static \Illuminate\Auth\Access\Response inspect(string $ability, array|mixed $arguments = []) + * @method static mixed raw(string $ability, array|mixed $arguments = []) + * @method static mixed getPolicyFor(object|string $class) + * @method static \Illuminate\Auth\Access\Gate guessPolicyNamesUsing(callable $callback) + * @method static mixed resolvePolicy(object|string $class) + * @method static \Illuminate\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user) + * @method static array abilities() + * @method static array policies() + * @method static \Illuminate\Auth\Access\Gate defaultDenialResponse(\Illuminate\Auth\Access\Response $response) + * @method static \Illuminate\Auth\Access\Gate setContainer(\Illuminate\Contracts\Container\Container $container) + * @method static \Illuminate\Auth\Access\Response denyWithStatus(int $status, string|null $message = null, int|null $code = null) + * @method static \Illuminate\Auth\Access\Response denyAsNotFound(string|null $message = null, int|null $code = null) + * * @see \Illuminate\Auth\Access\Gate */ class Gate extends Facade diff --git a/src/Illuminate/Support/Facades/Hash.php b/src/Illuminate/Support/Facades/Hash.php index 4b61f7a76d46..280585d6e374 100755 --- a/src/Illuminate/Support/Facades/Hash.php +++ b/src/Illuminate/Support/Facades/Hash.php @@ -3,6 +3,22 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Hashing\BcryptHasher createBcryptDriver() + * @method static \Illuminate\Hashing\ArgonHasher createArgonDriver() + * @method static \Illuminate\Hashing\Argon2IdHasher createArgon2idDriver() + * @method static array info(string $hashedValue) + * @method static string make(string $value, array $options = []) + * @method static bool check(string $value, string $hashedValue, array $options = []) + * @method static bool needsRehash(string $hashedValue, array $options = []) + * @method static bool isHashed(string $value) + * @method static string getDefaultDriver() + * @method static mixed driver(string|null $driver = null) + * @method static \Illuminate\Hashing\HashManager extend(string $driver, \Closure $callback) + * @method static array getDrivers() + * @method static \Illuminate\Contracts\Container\Container getContainer() + * @method static \Illuminate\Hashing\HashManager setContainer(\Illuminate\Contracts\Container\Container $container) + * @method static \Illuminate\Hashing\HashManager forgetDrivers() + * * @see \Illuminate\Hashing\HashManager * @see \Illuminate\Hashing\AbstractHasher */ diff --git a/src/Illuminate/Support/Facades/Http.php b/src/Illuminate/Support/Facades/Http.php index a243a249b677..47d7e3355188 100644 --- a/src/Illuminate/Support/Facades/Http.php +++ b/src/Illuminate/Support/Facades/Http.php @@ -5,6 +5,92 @@ use Illuminate\Http\Client\Factory; /** + * @method static \Illuminate\Http\Client\Factory globalMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\Factory globalRequestMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\Factory globalResponseMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\Factory globalOptions(\Closure|array $options) + * @method static \GuzzleHttp\Promise\PromiseInterface response(array|string|null $body = null, int $status = 200, array $headers = []) + * @method static \Illuminate\Http\Client\ResponseSequence sequence(array $responses = []) + * @method static \Illuminate\Http\Client\Factory allowStrayRequests() + * @method static void recordRequestResponsePair(\Illuminate\Http\Client\Request $request, \Illuminate\Http\Client\Response $response) + * @method static void assertSent(callable $callback) + * @method static void assertSentInOrder(array $callbacks) + * @method static void assertNotSent(callable $callback) + * @method static void assertNothingSent() + * @method static void assertSentCount(int $count) + * @method static void assertSequencesAreEmpty() + * @method static \Illuminate\Support\Collection recorded(callable $callback = null) + * @method static \Illuminate\Http\Client\PendingRequest createPendingRequest() + * @method static \Illuminate\Contracts\Events\Dispatcher|null getDispatcher() + * @method static array getGlobalMiddleware() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) + * @method static \Illuminate\Http\Client\PendingRequest withBody(\Psr\Http\Message\StreamInterface|string $content, string $contentType = 'application/json') + * @method static \Illuminate\Http\Client\PendingRequest asJson() + * @method static \Illuminate\Http\Client\PendingRequest asForm() + * @method static \Illuminate\Http\Client\PendingRequest attach(string|array $name, string|resource $contents = '', string|null $filename = null, array $headers = []) + * @method static \Illuminate\Http\Client\PendingRequest asMultipart() + * @method static \Illuminate\Http\Client\PendingRequest bodyFormat(string $format) + * @method static \Illuminate\Http\Client\PendingRequest withQueryParameters(array $parameters) + * @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType) + * @method static \Illuminate\Http\Client\PendingRequest acceptJson() + * @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType) + * @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers) + * @method static \Illuminate\Http\Client\PendingRequest withHeader(string $name, mixed $value) + * @method static \Illuminate\Http\Client\PendingRequest replaceHeaders(array $headers) + * @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password) + * @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password) + * @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer') + * @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string|bool $userAgent) + * @method static \Illuminate\Http\Client\PendingRequest withUrlParameters(array $parameters = []) + * @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain) + * @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max) + * @method static \Illuminate\Http\Client\PendingRequest withoutRedirecting() + * @method static \Illuminate\Http\Client\PendingRequest withoutVerifying() + * @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to) + * @method static \Illuminate\Http\Client\PendingRequest timeout(int $seconds) + * @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int $seconds) + * @method static \Illuminate\Http\Client\PendingRequest retry(array|int $times, \Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) + * @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options) + * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest withRequestMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest withResponseMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null) + * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition) + * @method static \Illuminate\Http\Client\PendingRequest throwUnless(bool $condition) + * @method static \Illuminate\Http\Client\PendingRequest dump() + * @method static \Illuminate\Http\Client\PendingRequest dd() + * @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response head(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response post(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response patch(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response put(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response delete(string $url, array $data = []) + * @method static array pool(callable $callback) + * @method static \Illuminate\Http\Client\Response send(string $method, string $url, array $options = []) + * @method static \GuzzleHttp\Client buildClient() + * @method static \GuzzleHttp\Client createClient(\GuzzleHttp\HandlerStack $handlerStack) + * @method static \GuzzleHttp\HandlerStack buildHandlerStack() + * @method static \GuzzleHttp\HandlerStack pushHandlers(\GuzzleHttp\HandlerStack $handlerStack) + * @method static \Closure buildBeforeSendingHandler() + * @method static \Closure buildRecorderHandler() + * @method static \Closure buildStubHandler() + * @method static \GuzzleHttp\Psr7\RequestInterface runBeforeSendingCallbacks(\GuzzleHttp\Psr7\RequestInterface $request, array $options) + * @method static array mergeOptions(array ...$options) + * @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest async(bool $async = true) + * @method static \GuzzleHttp\Promise\PromiseInterface|null getPromise() + * @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client) + * @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler) + * @method static array getOptions() + * @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * * @see \Illuminate\Http\Client\Factory */ class Http extends Facade diff --git a/src/Illuminate/Support/Facades/Lang.php b/src/Illuminate/Support/Facades/Lang.php index e5862b993689..c2a52c48d933 100755 --- a/src/Illuminate/Support/Facades/Lang.php +++ b/src/Illuminate/Support/Facades/Lang.php @@ -3,6 +3,34 @@ namespace Illuminate\Support\Facades; /** + * @method static bool hasForLocale(string $key, string|null $locale = null) + * @method static bool has(string $key, string|null $locale = null, bool $fallback = true) + * @method static string|array get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true) + * @method static string choice(string $key, \Countable|int|float|array $number, array $replace = [], string|null $locale = null) + * @method static void addLines(array $lines, string $locale, string $namespace = '*') + * @method static void load(string $namespace, string $group, string $locale) + * @method static \Illuminate\Translation\Translator handleMissingKeysUsing(callable|null $callback) + * @method static void addNamespace(string $namespace, string $hint) + * @method static void addJsonPath(string $path) + * @method static array parseKey(string $key) + * @method static void determineLocalesUsing(callable $callback) + * @method static \Illuminate\Translation\MessageSelector getSelector() + * @method static void setSelector(\Illuminate\Translation\MessageSelector $selector) + * @method static \Illuminate\Contracts\Translation\Loader getLoader() + * @method static string locale() + * @method static string getLocale() + * @method static void setLocale(string $locale) + * @method static string getFallback() + * @method static void setFallback(string $fallback) + * @method static void setLoaded(array $loaded) + * @method static void stringable(callable|string $class, callable|null $handler = null) + * @method static void setParsedKey(string $key, array $parsed) + * @method static void flushParsedKeys() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Translation\Translator */ class Lang extends Facade diff --git a/src/Illuminate/Support/Facades/Log.php b/src/Illuminate/Support/Facades/Log.php index fd8c8ff322ce..88c04028dc0c 100755 --- a/src/Illuminate/Support/Facades/Log.php +++ b/src/Illuminate/Support/Facades/Log.php @@ -3,6 +3,38 @@ namespace Illuminate\Support\Facades; /** + * @method static \Psr\Log\LoggerInterface build(array $config) + * @method static \Psr\Log\LoggerInterface stack(array $channels, string|null $channel = null) + * @method static \Psr\Log\LoggerInterface channel(string|null $channel = null) + * @method static \Psr\Log\LoggerInterface driver(string|null $driver = null) + * @method static \Illuminate\Log\LogManager shareContext(array $context) + * @method static array sharedContext() + * @method static \Illuminate\Log\LogManager withoutContext() + * @method static \Illuminate\Log\LogManager flushSharedContext() + * @method static string|null getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static \Illuminate\Log\LogManager extend(string $driver, \Closure $callback) + * @method static void forgetChannel(string|null $driver = null) + * @method static array getChannels() + * @method static void emergency(string|\Stringable $message, array $context = []) + * @method static void alert(string|\Stringable $message, array $context = []) + * @method static void critical(string|\Stringable $message, array $context = []) + * @method static void error(string|\Stringable $message, array $context = []) + * @method static void warning(string|\Stringable $message, array $context = []) + * @method static void notice(string|\Stringable $message, array $context = []) + * @method static void info(string|\Stringable $message, array $context = []) + * @method static void debug(string|\Stringable $message, array $context = []) + * @method static void log(mixed $level, string|\Stringable $message, array $context = []) + * @method static \Illuminate\Log\LogManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []) + * @method static \Illuminate\Log\Logger withContext(array $context = []) + * @method static void listen(\Closure $callback) + * @method static \Psr\Log\LoggerInterface getLogger() + * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher) + * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * * @see \Illuminate\Log\LogManager */ class Log extends Facade diff --git a/src/Illuminate/Support/Facades/Mail.php b/src/Illuminate/Support/Facades/Mail.php index 1c4aaa7b6c97..af245fab23b6 100755 --- a/src/Illuminate/Support/Facades/Mail.php +++ b/src/Illuminate/Support/Facades/Mail.php @@ -5,6 +5,58 @@ use Illuminate\Support\Testing\Fakes\MailFake; /** + * @method static \Illuminate\Contracts\Mail\Mailer mailer(string|null $name = null) + * @method static \Illuminate\Mail\Mailer driver(string|null $driver = null) + * @method static \Symfony\Component\Mailer\Transport\TransportInterface createSymfonyTransport(array $config) + * @method static string getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static void purge(string|null $name = null) + * @method static \Illuminate\Mail\MailManager extend(string $driver, \Closure $callback) + * @method static \Illuminate\Contracts\Foundation\Application getApplication() + * @method static \Illuminate\Mail\MailManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static \Illuminate\Mail\MailManager forgetMailers() + * @method static void alwaysFrom(string $address, string|null $name = null) + * @method static void alwaysReplyTo(string $address, string|null $name = null) + * @method static void alwaysReturnPath(string $address) + * @method static void alwaysTo(string $address, string|null $name = null) + * @method static \Illuminate\Mail\PendingMail to(mixed $users, string|null $name = null) + * @method static \Illuminate\Mail\PendingMail cc(mixed $users, string|null $name = null) + * @method static \Illuminate\Mail\PendingMail bcc(mixed $users, string|null $name = null) + * @method static \Illuminate\Mail\SentMessage|null html(string $html, mixed $callback) + * @method static \Illuminate\Mail\SentMessage|null raw(string $text, mixed $callback) + * @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, mixed $callback) + * @method static string render(string|array $view, array $data = []) + * @method static \Illuminate\Mail\SentMessage|null send(\Illuminate\Contracts\Mail\Mailable|string|array $view, array $data = [], \Closure|string|null $callback = null) + * @method static \Illuminate\Mail\SentMessage|null sendNow(\Illuminate\Contracts\Mail\Mailable|string|array $mailable, array $data = [], \Closure|string|null $callback = null) + * @method static mixed queue(\Illuminate\Contracts\Mail\Mailable|string|array $view, string|null $queue = null) + * @method static mixed onQueue(string $queue, \Illuminate\Contracts\Mail\Mailable $view) + * @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable $view) + * @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view, string|null $queue = null) + * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view) + * @method static \Symfony\Component\Mailer\Transport\TransportInterface getSymfonyTransport() + * @method static \Illuminate\Contracts\View\Factory getViewFactory() + * @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport) + * @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static void assertSent(string|\Closure $mailable, callable|array|string|int|null $callback = null) + * @method static void assertNotOutgoing(string|\Closure $mailable, callable|null $callback = null) + * @method static void assertNotSent(string|\Closure $mailable, callable|array|string|null $callback = null) + * @method static void assertNothingOutgoing() + * @method static void assertNothingSent() + * @method static void assertQueued(string|\Closure $mailable, callable|array|string|int|null $callback = null) + * @method static void assertNotQueued(string|\Closure $mailable, callable|array|string|null $callback = null) + * @method static void assertNothingQueued() + * @method static void assertSentCount(int $count) + * @method static void assertQueuedCount(int $count) + * @method static void assertOutgoingCount(int $count) + * @method static \Illuminate\Support\Collection sent(string|\Closure $mailable, callable|null $callback = null) + * @method static bool hasSent(string $mailable) + * @method static \Illuminate\Support\Collection queued(string|\Closure $mailable, callable|null $callback = null) + * @method static bool hasQueued(string $mailable) + * * @see \Illuminate\Mail\MailManager * @see \Illuminate\Support\Testing\Fakes\MailFake */ diff --git a/src/Illuminate/Support/Facades/Notification.php b/src/Illuminate/Support/Facades/Notification.php index 5a758aa13e53..e1440d523f4d 100644 --- a/src/Illuminate/Support/Facades/Notification.php +++ b/src/Illuminate/Support/Facades/Notification.php @@ -7,6 +7,37 @@ use Illuminate\Support\Testing\Fakes\NotificationFake; /** + * @method static void send(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification) + * @method static void sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification, array|null $channels = null) + * @method static mixed channel(string|null $name = null) + * @method static string getDefaultDriver() + * @method static string deliversVia() + * @method static void deliverVia(string $channel) + * @method static \Illuminate\Notifications\ChannelManager locale(string $locale) + * @method static mixed driver(string|null $driver = null) + * @method static \Illuminate\Notifications\ChannelManager extend(string $driver, \Closure $callback) + * @method static array getDrivers() + * @method static \Illuminate\Contracts\Container\Container getContainer() + * @method static \Illuminate\Notifications\ChannelManager setContainer(\Illuminate\Contracts\Container\Container $container) + * @method static \Illuminate\Notifications\ChannelManager forgetDrivers() + * @method static void assertSentOnDemand(string|\Closure $notification, callable|null $callback = null) + * @method static void assertSentTo(mixed $notifiable, string|\Closure $notification, callable|null $callback = null) + * @method static void assertSentOnDemandTimes(string $notification, int $times = 1) + * @method static void assertSentToTimes(mixed $notifiable, string $notification, int $times = 1) + * @method static void assertNotSentTo(mixed $notifiable, string|\Closure $notification, callable|null $callback = null) + * @method static void assertNothingSent() + * @method static void assertNothingSentTo(mixed $notifiable) + * @method static void assertSentTimes(string $notification, int $expectedCount) + * @method static void assertCount(int $expectedCount) + * @method static \Illuminate\Support\Collection sent(mixed $notifiable, string $notification, callable|null $callback = null) + * @method static bool hasSent(mixed $notifiable, string $notification) + * @method static \Illuminate\Support\Testing\Fakes\NotificationFake serializeAndRestore(bool $serializeAndRestore = true) + * @method static array sentNotifications() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Notifications\ChannelManager * @see \Illuminate\Support\Testing\Fakes\NotificationFake */ diff --git a/src/Illuminate/Support/Facades/ParallelTesting.php b/src/Illuminate/Support/Facades/ParallelTesting.php index 22b7d046415c..d91558c1cb80 100644 --- a/src/Illuminate/Support/Facades/ParallelTesting.php +++ b/src/Illuminate/Support/Facades/ParallelTesting.php @@ -3,6 +3,21 @@ namespace Illuminate\Support\Facades; /** + * @method static void resolveOptionsUsing(\Closure|null $resolver) + * @method static void resolveTokenUsing(\Closure|null $resolver) + * @method static void setUpProcess(callable $callback) + * @method static void setUpTestCase(callable $callback) + * @method static void setUpTestDatabase(callable $callback) + * @method static void tearDownProcess(callable $callback) + * @method static void tearDownTestCase(callable $callback) + * @method static void callSetUpProcessCallbacks() + * @method static void callSetUpTestCaseCallbacks(\Illuminate\Foundation\Testing\TestCase $testCase) + * @method static void callSetUpTestDatabaseCallbacks(string $database) + * @method static void callTearDownProcessCallbacks() + * @method static void callTearDownTestCaseCallbacks(\Illuminate\Foundation\Testing\TestCase $testCase) + * @method static mixed option(string $option) + * @method static string|false token() + * * @see \Illuminate\Testing\ParallelTesting */ class ParallelTesting extends Facade diff --git a/src/Illuminate/Support/Facades/Password.php b/src/Illuminate/Support/Facades/Password.php index 2a7bfe8d5d87..87d9daf6fb11 100755 --- a/src/Illuminate/Support/Facades/Password.php +++ b/src/Illuminate/Support/Facades/Password.php @@ -5,6 +5,17 @@ use Illuminate\Contracts\Auth\PasswordBroker; /** + * @method static \Illuminate\Contracts\Auth\PasswordBroker broker(string|null $name = null) + * @method static string getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static string sendResetLink(array $credentials, \Closure|null $callback = null) + * @method static mixed reset(array $credentials, \Closure $callback) + * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials) + * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user) + * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user) + * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token) + * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() + * * @see \Illuminate\Auth\Passwords\PasswordBrokerManager * @see \Illuminate\Auth\Passwords\PasswordBroker */ diff --git a/src/Illuminate/Support/Facades/Pipeline.php b/src/Illuminate/Support/Facades/Pipeline.php index 2ccb024dae70..0874905199ba 100644 --- a/src/Illuminate/Support/Facades/Pipeline.php +++ b/src/Illuminate/Support/Facades/Pipeline.php @@ -3,6 +3,16 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Pipeline\Pipeline send(mixed $passable) + * @method static \Illuminate\Pipeline\Pipeline through(array|mixed $pipes) + * @method static \Illuminate\Pipeline\Pipeline pipe(array|mixed $pipes) + * @method static \Illuminate\Pipeline\Pipeline via(string $method) + * @method static mixed then(\Closure $destination) + * @method static mixed thenReturn() + * @method static \Illuminate\Pipeline\Pipeline setContainer(\Illuminate\Contracts\Container\Container $container) + * @method static \Illuminate\Pipeline\Pipeline|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Pipeline\Pipeline|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * * @see \Illuminate\Pipeline\Pipeline */ class Pipeline extends Facade diff --git a/src/Illuminate/Support/Facades/Process.php b/src/Illuminate/Support/Facades/Process.php index 0f7d9006cc24..3831f9f48964 100644 --- a/src/Illuminate/Support/Facades/Process.php +++ b/src/Illuminate/Support/Facades/Process.php @@ -6,6 +6,44 @@ use Illuminate\Process\Factory; /** + * @method static \Illuminate\Process\PendingProcess command(array|string $command) + * @method static \Illuminate\Process\PendingProcess path(string $path) + * @method static \Illuminate\Process\PendingProcess timeout(int $timeout) + * @method static \Illuminate\Process\PendingProcess idleTimeout(int $timeout) + * @method static \Illuminate\Process\PendingProcess forever() + * @method static \Illuminate\Process\PendingProcess env(array $environment) + * @method static \Illuminate\Process\PendingProcess input(\Traversable|resource|string|int|float|bool|null $input) + * @method static \Illuminate\Process\PendingProcess quietly() + * @method static \Illuminate\Process\PendingProcess tty(bool $tty = true) + * @method static \Illuminate\Process\PendingProcess options(array $options) + * @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null) + * @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null) + * @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers) + * @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Process\FakeProcessResult result(array|string $output = '', array|string $errorOutput = '', int $exitCode = 0) + * @method static \Illuminate\Process\FakeProcessDescription describe() + * @method static \Illuminate\Process\FakeProcessSequence sequence(array $processes = []) + * @method static bool isRecording() + * @method static \Illuminate\Process\Factory recordIfRecording(\Illuminate\Process\PendingProcess $process, \Illuminate\Contracts\Process\ProcessResult $result) + * @method static \Illuminate\Process\Factory record(\Illuminate\Process\PendingProcess $process, \Illuminate\Contracts\Process\ProcessResult $result) + * @method static \Illuminate\Process\Factory preventStrayProcesses(bool $prevent = true) + * @method static bool preventingStrayProcesses() + * @method static \Illuminate\Process\Factory assertRan(\Closure|string $callback) + * @method static \Illuminate\Process\Factory assertRanTimes(\Closure|string $callback, int $times = 1) + * @method static \Illuminate\Process\Factory assertNotRan(\Closure|string $callback) + * @method static \Illuminate\Process\Factory assertDidntRun(\Closure|string $callback) + * @method static \Illuminate\Process\Factory assertNothingRan() + * @method static \Illuminate\Process\Pool pool(callable $callback) + * @method static \Illuminate\Contracts\Process\ProcessResult pipe(callable|array $callback, callable|null $output = null) + * @method static \Illuminate\Process\ProcessPoolResults concurrently(callable $callback, callable|null $output = null) + * @method static \Illuminate\Process\PendingProcess newPendingProcess() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * * @see \Illuminate\Process\PendingProcess * @see \Illuminate\Process\Factory */ diff --git a/src/Illuminate/Support/Facades/Queue.php b/src/Illuminate/Support/Facades/Queue.php index caa62053ba85..50e2c7b81c2d 100755 --- a/src/Illuminate/Support/Facades/Queue.php +++ b/src/Illuminate/Support/Facades/Queue.php @@ -6,6 +6,53 @@ use Illuminate\Support\Testing\Fakes\QueueFake; /** + * @method static void before(mixed $callback) + * @method static void after(mixed $callback) + * @method static void exceptionOccurred(mixed $callback) + * @method static void looping(mixed $callback) + * @method static void failing(mixed $callback) + * @method static void stopping(mixed $callback) + * @method static bool connected(string|null $name = null) + * @method static \Illuminate\Contracts\Queue\Queue connection(string|null $name = null) + * @method static void extend(string $driver, \Closure $resolver) + * @method static void addConnector(string $driver, \Closure $resolver) + * @method static string getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static string getName(string|null $connection = null) + * @method static \Illuminate\Contracts\Foundation\Application getApplication() + * @method static \Illuminate\Queue\QueueManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static int size(string|null $queue = null) + * @method static mixed push(string|object $job, mixed $data = '', string|null $queue = null) + * @method static mixed pushOn(string $queue, string|object $job, mixed $data = '') + * @method static mixed pushRaw(string $payload, string|null $queue = null, array $options = []) + * @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '', string|null $queue = null) + * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '') + * @method static mixed bulk(array $jobs, mixed $data = '', string|null $queue = null) + * @method static \Illuminate\Contracts\Queue\Job|null pop(string|null $queue = null) + * @method static string getConnectionName() + * @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $name) + * @method static mixed getJobTries(mixed $job) + * @method static mixed getJobBackoff(mixed $job) + * @method static mixed getJobExpiration(mixed $job) + * @method static void createPayloadUsing(callable|null $callback) + * @method static \Illuminate\Container\Container getContainer() + * @method static void setContainer(\Illuminate\Container\Container $container) + * @method static \Illuminate\Support\Testing\Fakes\QueueFake except(array|string $jobsToBeQueued) + * @method static void assertPushed(string|\Closure $job, callable|int|null $callback = null) + * @method static void assertPushedOn(string $queue, string|\Closure $job, callable|null $callback = null) + * @method static void assertPushedWithChain(string $job, array $expectedChain = [], callable|null $callback = null) + * @method static void assertPushedWithoutChain(string $job, callable|null $callback = null) + * @method static void assertClosurePushed(callable|int|null $callback = null) + * @method static void assertClosureNotPushed(callable|null $callback = null) + * @method static void assertNotPushed(string|\Closure $job, callable|null $callback = null) + * @method static void assertCount(int $expectedCount) + * @method static void assertNothingPushed() + * @method static \Illuminate\Support\Collection pushed(string $job, callable|null $callback = null) + * @method static bool hasPushed(string $job) + * @method static bool shouldFakeJob(object $job) + * @method static array pushedJobs() + * @method static \Illuminate\Support\Testing\Fakes\QueueFake serializeAndRestore(bool $serializeAndRestore = true) + * * @see \Illuminate\Queue\QueueManager * @see \Illuminate\Queue\Queue * @see \Illuminate\Support\Testing\Fakes\QueueFake diff --git a/src/Illuminate/Support/Facades/RateLimiter.php b/src/Illuminate/Support/Facades/RateLimiter.php index 162fd5e62ecc..cab2d444e26e 100644 --- a/src/Illuminate/Support/Facades/RateLimiter.php +++ b/src/Illuminate/Support/Facades/RateLimiter.php @@ -3,6 +3,21 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Cache\RateLimiter for(string $name, \Closure $callback) + * @method static \Closure|null limiter(string $name) + * @method static mixed attempt(string $key, int $maxAttempts, \Closure $callback, int $decaySeconds = 60) + * @method static bool tooManyAttempts(string $key, int $maxAttempts) + * @method static int hit(string $key, int $decaySeconds = 60) + * @method static int increment(string $key, int $decaySeconds = 60, int $amount = 1) + * @method static int decrement(string $key, int $decaySeconds = 60, int $amount = 1) + * @method static mixed attempts(string $key) + * @method static mixed resetAttempts(string $key) + * @method static int remaining(string $key, int $maxAttempts) + * @method static int retriesLeft(string $key, int $maxAttempts) + * @method static void clear(string $key) + * @method static int availableIn(string $key) + * @method static string cleanRateLimiterKey(string $key) + * * @see \Illuminate\Cache\RateLimiter */ class RateLimiter extends Facade diff --git a/src/Illuminate/Support/Facades/Redirect.php b/src/Illuminate/Support/Facades/Redirect.php index 647a7c316a37..c7490f4ae819 100755 --- a/src/Illuminate/Support/Facades/Redirect.php +++ b/src/Illuminate/Support/Facades/Redirect.php @@ -3,6 +3,26 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Http\RedirectResponse back(int $status = 302, array $headers = [], mixed $fallback = false) + * @method static \Illuminate\Http\RedirectResponse refresh(int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse guest(string $path, int $status = 302, array $headers = [], bool|null $secure = null) + * @method static \Illuminate\Http\RedirectResponse intended(mixed $default = '/', int $status = 302, array $headers = [], bool|null $secure = null) + * @method static \Illuminate\Http\RedirectResponse to(string $path, int $status = 302, array $headers = [], bool|null $secure = null) + * @method static \Illuminate\Http\RedirectResponse away(string $path, int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse secure(string $path, int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse route(string $route, mixed $parameters = [], int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse signedRoute(string $route, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse temporarySignedRoute(string $route, \DateTimeInterface|\DateInterval|int|null $expiration, mixed $parameters = [], int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse action(string|array $action, mixed $parameters = [], int $status = 302, array $headers = []) + * @method static \Illuminate\Routing\UrlGenerator getUrlGenerator() + * @method static void setSession(\Illuminate\Session\Store $session) + * @method static string|null getIntendedUrl() + * @method static \Illuminate\Routing\Redirector setIntendedUrl(string $url) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Routing\Redirector */ class Redirect extends Facade diff --git a/src/Illuminate/Support/Facades/Redis.php b/src/Illuminate/Support/Facades/Redis.php index 64bcf9991f79..1579b867cd1d 100755 --- a/src/Illuminate/Support/Facades/Redis.php +++ b/src/Illuminate/Support/Facades/Redis.php @@ -3,6 +3,33 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Redis\Connections\Connection connection(string|null $name = null) + * @method static \Illuminate\Redis\Connections\Connection resolve(string|null $name = null) + * @method static array connections() + * @method static void enableEvents() + * @method static void disableEvents() + * @method static void setDriver(string $driver) + * @method static void purge(string|null $name = null) + * @method static \Illuminate\Redis\RedisManager extend(string $driver, \Closure $callback) + * @method static void createSubscription(array|string $channels, \Closure $callback, string $method = 'subscribe') + * @method static \Illuminate\Redis\Limiters\ConcurrencyLimiterBuilder funnel(string $name) + * @method static \Illuminate\Redis\Limiters\DurationLimiterBuilder throttle(string $name) + * @method static mixed client() + * @method static void subscribe(array|string $channels, \Closure $callback) + * @method static void psubscribe(array|string $channels, \Closure $callback) + * @method static mixed command(string $method, array $parameters = []) + * @method static void listen(\Closure $callback) + * @method static string|null getName() + * @method static \Illuminate\Redis\Connections\Connection setName(string $name) + * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) + * @method static void unsetEventDispatcher() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * * @see \Illuminate\Redis\RedisManager */ class Redis extends Facade diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index 5cb12f4e71ec..5410b4f21c11 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -3,6 +3,183 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Http\Request capture() + * @method static \Illuminate\Http\Request instance() + * @method static string method() + * @method static string root() + * @method static string url() + * @method static string fullUrl() + * @method static string fullUrlWithQuery(array $query) + * @method static string fullUrlWithoutQuery(array|string $keys) + * @method static string path() + * @method static string decodedPath() + * @method static string|null segment(int $index, string|null $default = null) + * @method static array segments() + * @method static bool is(mixed ...$patterns) + * @method static bool routeIs(mixed ...$patterns) + * @method static bool fullUrlIs(mixed ...$patterns) + * @method static string host() + * @method static string httpHost() + * @method static string schemeAndHttpHost() + * @method static bool ajax() + * @method static bool pjax() + * @method static bool prefetch() + * @method static bool secure() + * @method static string|null ip() + * @method static array ips() + * @method static string|null userAgent() + * @method static \Illuminate\Http\Request merge(array $input) + * @method static \Illuminate\Http\Request mergeIfMissing(array $input) + * @method static \Illuminate\Http\Request replace(array $input) + * @method static mixed get(string $key, mixed $default = null) + * @method static \Symfony\Component\HttpFoundation\InputBag|mixed json(string|null $key = null, mixed $default = null) + * @method static \Illuminate\Http\Request createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null) + * @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request) + * @method static \Illuminate\Http\Request duplicate(array|null $query = null, array|null $request = null, array|null $attributes = null, array|null $cookies = null, array|null $files = null, array|null $server = null) + * @method static bool hasSession(bool $skipIfUninitialized = false) + * @method static \Symfony\Component\HttpFoundation\Session\SessionInterface getSession() + * @method static \Illuminate\Contracts\Session\Session session() + * @method static void setLaravelSession(\Illuminate\Contracts\Session\Session $session) + * @method static void setRequestLocale(string $locale) + * @method static void setDefaultRequestLocale(string $locale) + * @method static mixed user(string|null $guard = null) + * @method static \Illuminate\Routing\Route|object|string|null route(string|null $param = null, mixed $default = null) + * @method static string fingerprint() + * @method static \Illuminate\Http\Request setJson(\Symfony\Component\HttpFoundation\InputBag $json) + * @method static \Closure getUserResolver() + * @method static \Illuminate\Http\Request setUserResolver(\Closure $callback) + * @method static \Closure getRouteResolver() + * @method static \Illuminate\Http\Request setRouteResolver(\Closure $callback) + * @method static array toArray() + * @method static void initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null) + * @method static \Illuminate\Http\Request createFromGlobals() + * @method static \Illuminate\Http\Request create(string $uri, string $method = 'GET', array $parameters = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null) + * @method static void setFactory(callable|null $callable) + * @method static void overrideGlobals() + * @method static void setTrustedProxies(array $proxies, int $trustedHeaderSet) + * @method static string[] getTrustedProxies() + * @method static int getTrustedHeaderSet() + * @method static void setTrustedHosts(array $hostPatterns) + * @method static string[] getTrustedHosts() + * @method static string normalizeQueryString(string|null $qs) + * @method static void enableHttpMethodParameterOverride() + * @method static bool getHttpMethodParameterOverride() + * @method static bool hasPreviousSession() + * @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session) + * @method static array getClientIps() + * @method static string|null getClientIp() + * @method static string getScriptName() + * @method static string getPathInfo() + * @method static string getBasePath() + * @method static string getBaseUrl() + * @method static string getScheme() + * @method static int|string|null getPort() + * @method static string|null getUser() + * @method static string|null getPassword() + * @method static string|null getUserInfo() + * @method static string getHttpHost() + * @method static string getRequestUri() + * @method static string getSchemeAndHttpHost() + * @method static string getUri() + * @method static string getUriForPath(string $path) + * @method static string getRelativeUriForPath(string $path) + * @method static string|null getQueryString() + * @method static bool isSecure() + * @method static string getHost() + * @method static void setMethod(string $method) + * @method static string getMethod() + * @method static string getRealMethod() + * @method static string|null getMimeType(string $format) + * @method static string[] getMimeTypes(string $format) + * @method static string|null getFormat(string|null $mimeType) + * @method static void setFormat(string|null $format, string|string[] $mimeTypes) + * @method static string|null getRequestFormat(string|null $default = 'html') + * @method static void setRequestFormat(string|null $format) + * @method static string|null getContentTypeFormat() + * @method static void setDefaultLocale(string $locale) + * @method static string getDefaultLocale() + * @method static void setLocale(string $locale) + * @method static string getLocale() + * @method static bool isMethod(string $method) + * @method static bool isMethodSafe() + * @method static bool isMethodIdempotent() + * @method static bool isMethodCacheable() + * @method static string|null getProtocolVersion() + * @method static string|resource getContent(bool $asResource = false) + * @method static \Symfony\Component\HttpFoundation\InputBag getPayload() + * @method static array getETags() + * @method static bool isNoCache() + * @method static string|null getPreferredFormat(string|null $default = 'html') + * @method static string|null getPreferredLanguage(string[] $locales = null) + * @method static string[] getLanguages() + * @method static string[] getCharsets() + * @method static string[] getEncodings() + * @method static string[] getAcceptableContentTypes() + * @method static bool isXmlHttpRequest() + * @method static bool preferSafeContent() + * @method static bool isFromTrustedProxy() + * @method static array filterPrecognitiveRules(array $rules) + * @method static bool isAttemptingPrecognition() + * @method static bool isPrecognitive() + * @method static bool isJson() + * @method static bool expectsJson() + * @method static bool wantsJson() + * @method static bool accepts(string|array $contentTypes) + * @method static string|null prefers(string|array $contentTypes) + * @method static bool acceptsAnyContentType() + * @method static bool acceptsJson() + * @method static bool acceptsHtml() + * @method static bool matchesType(string $actual, string $type) + * @method static string format(string $default = 'html') + * @method static string|array|null old(string|null $key = null, \Illuminate\Database\Eloquent\Model|string|array|null $default = null) + * @method static void flash() + * @method static void flashOnly(array|mixed $keys) + * @method static void flashExcept(array|mixed $keys) + * @method static void flush() + * @method static string|array|null server(string|null $key = null, string|array|null $default = null) + * @method static bool hasHeader(string $key) + * @method static string|array|null header(string|null $key = null, string|array|null $default = null) + * @method static string|null bearerToken() + * @method static bool exists(string|array $key) + * @method static bool has(string|array $key) + * @method static bool hasAny(string|array $keys) + * @method static \Illuminate\Http\Request|mixed whenHas(string $key, callable $callback, callable|null $default = null) + * @method static bool filled(string|array $key) + * @method static bool isNotFilled(string|array $key) + * @method static bool anyFilled(string|array $keys) + * @method static \Illuminate\Http\Request|mixed whenFilled(string $key, callable $callback, callable|null $default = null) + * @method static bool missing(string|array $key) + * @method static \Illuminate\Http\Request|mixed whenMissing(string $key, callable $callback, callable|null $default = null) + * @method static array keys() + * @method static array all(array|mixed|null $keys = null) + * @method static mixed input(string|null $key = null, mixed $default = null) + * @method static \Illuminate\Support\Stringable str(string $key, mixed $default = null) + * @method static \Illuminate\Support\Stringable string(string $key, mixed $default = null) + * @method static bool boolean(string|null $key = null, bool $default = false) + * @method static int integer(string $key, int $default = 0) + * @method static float float(string $key, float $default = 0) + * @method static \Illuminate\Support\Carbon|null date(string $key, string|null $format = null, string|null $tz = null) + * @method static object|null enum(string $key, string $enumClass) + * @method static \Illuminate\Support\Collection collect(array|string|null $key = null) + * @method static array only(array|mixed $keys) + * @method static array except(array|mixed $keys) + * @method static string|array|null query(string|null $key = null, string|array|null $default = null) + * @method static string|array|null post(string|null $key = null, string|array|null $default = null) + * @method static bool hasCookie(string $key) + * @method static string|array|null cookie(string|null $key = null, string|array|null $default = null) + * @method static array allFiles() + * @method static bool hasFile(string $key) + * @method static \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null file(string|null $key = null, mixed $default = null) + * @method static \Illuminate\Http\Request dump(mixed $keys = []) + * @method static never dd(mixed ...$args) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static array validate(array $rules, ...$params) + * @method static array validateWithBag(string $errorBag, array $rules, ...$params) + * @method static bool hasValidSignature(bool $absolute = true) + * * @see \Illuminate\Http\Request */ class Request extends Facade diff --git a/src/Illuminate/Support/Facades/Response.php b/src/Illuminate/Support/Facades/Response.php index 009c0fad9e95..7d18d69aaf97 100755 --- a/src/Illuminate/Support/Facades/Response.php +++ b/src/Illuminate/Support/Facades/Response.php @@ -5,6 +5,26 @@ use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; /** + * @method static \Illuminate\Http\Response make(mixed $content = '', int $status = 200, array $headers = []) + * @method static \Illuminate\Http\Response noContent(int $status = 204, array $headers = []) + * @method static \Illuminate\Http\Response view(string|array $view, array $data = [], int $status = 200, array $headers = []) + * @method static \Illuminate\Http\JsonResponse json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0) + * @method static \Illuminate\Http\JsonResponse jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0) + * @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable $callback, int $status = 200, array $headers = []) + * @method static \Symfony\Component\HttpFoundation\StreamedJsonResponse streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15) + * @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment') + * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment') + * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string $file, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null) + * @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = []) + * @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null) + * @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Routing\ResponseFactory */ class Response extends Facade diff --git a/src/Illuminate/Support/Facades/Route.php b/src/Illuminate/Support/Facades/Route.php index 7445e29b5caa..52644d388e7c 100755 --- a/src/Illuminate/Support/Facades/Route.php +++ b/src/Illuminate/Support/Facades/Route.php @@ -3,6 +3,104 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Routing\Route get(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route post(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route put(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route patch(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route delete(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route options(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route any(string $uri, array|string|callable|null $action = null) + * @method static \Illuminate\Routing\Route fallback(array|string|callable|null $action) + * @method static \Illuminate\Routing\Route redirect(string $uri, string $destination, int $status = 302) + * @method static \Illuminate\Routing\Route permanentRedirect(string $uri, string $destination) + * @method static \Illuminate\Routing\Route view(string $uri, string $view, array $data = [], int|array $status = 200, array $headers = []) + * @method static \Illuminate\Routing\Route match(array|string $methods, string $uri, array|string|callable|null $action = null) + * @method static void resources(array $resources, array $options = []) + * @method static \Illuminate\Routing\PendingResourceRegistration resource(string $name, string $controller, array $options = []) + * @method static void apiResources(array $resources, array $options = []) + * @method static \Illuminate\Routing\PendingResourceRegistration apiResource(string $name, string $controller, array $options = []) + * @method static void singletons(array $singletons, array $options = []) + * @method static \Illuminate\Routing\PendingSingletonResourceRegistration singleton(string $name, string $controller, array $options = []) + * @method static void apiSingletons(array $singletons, array $options = []) + * @method static \Illuminate\Routing\PendingSingletonResourceRegistration apiSingleton(string $name, string $controller, array $options = []) + * @method static \Illuminate\Routing\Router group(array $attributes, \Closure|array|string $routes) + * @method static array mergeWithLastGroup(array $new, bool $prependExistingPrefix = true) + * @method static string getLastGroupPrefix() + * @method static \Illuminate\Routing\Route addRoute(array|string $methods, string $uri, array|string|callable|null $action) + * @method static \Illuminate\Routing\Route newRoute(array|string $methods, string $uri, mixed $action) + * @method static \Symfony\Component\HttpFoundation\Response respondWithRoute(string $name) + * @method static \Symfony\Component\HttpFoundation\Response dispatch(\Illuminate\Http\Request $request) + * @method static \Symfony\Component\HttpFoundation\Response dispatchToRoute(\Illuminate\Http\Request $request) + * @method static array gatherRouteMiddleware(\Illuminate\Routing\Route $route) + * @method static array resolveMiddleware(array $middleware, array $excluded = []) + * @method static \Symfony\Component\HttpFoundation\Response prepareResponse(\Symfony\Component\HttpFoundation\Request $request, mixed $response) + * @method static \Symfony\Component\HttpFoundation\Response toResponse(\Symfony\Component\HttpFoundation\Request $request, mixed $response) + * @method static \Illuminate\Routing\Route substituteBindings(\Illuminate\Routing\Route $route) + * @method static void substituteImplicitBindings(\Illuminate\Routing\Route $route) + * @method static \Illuminate\Routing\Router substituteImplicitBindingsUsing(callable $callback) + * @method static void matched(string|callable $callback) + * @method static array getMiddleware() + * @method static \Illuminate\Routing\Router aliasMiddleware(string $name, string $class) + * @method static bool hasMiddlewareGroup(string $name) + * @method static array getMiddlewareGroups() + * @method static \Illuminate\Routing\Router middlewareGroup(string $name, array $middleware) + * @method static \Illuminate\Routing\Router prependMiddlewareToGroup(string $group, string $middleware) + * @method static \Illuminate\Routing\Router pushMiddlewareToGroup(string $group, string $middleware) + * @method static \Illuminate\Routing\Router removeMiddlewareFromGroup(string $group, string $middleware) + * @method static \Illuminate\Routing\Router flushMiddlewareGroups() + * @method static void bind(string $key, string|callable $binder) + * @method static void model(string $key, string $class, \Closure|null $callback = null) + * @method static \Closure|null getBindingCallback(string $key) + * @method static array getPatterns() + * @method static void pattern(string $key, string $pattern) + * @method static void patterns(array $patterns) + * @method static bool hasGroupStack() + * @method static array getGroupStack() + * @method static mixed input(string $key, string|null $default = null) + * @method static \Illuminate\Http\Request getCurrentRequest() + * @method static \Illuminate\Routing\Route|null getCurrentRoute() + * @method static \Illuminate\Routing\Route|null current() + * @method static bool has(string|array $name) + * @method static string|null currentRouteName() + * @method static bool is(mixed ...$patterns) + * @method static bool currentRouteNamed(mixed ...$patterns) + * @method static string|null currentRouteAction() + * @method static bool uses(array ...$patterns) + * @method static bool currentRouteUses(string $action) + * @method static void singularResourceParameters(bool $singular = true) + * @method static void resourceParameters(array $parameters = []) + * @method static array|null resourceVerbs(array $verbs = []) + * @method static \Illuminate\Routing\RouteCollectionInterface getRoutes() + * @method static void setRoutes(\Illuminate\Routing\RouteCollection $routes) + * @method static void setCompiledRoutes(array $routes) + * @method static array uniqueMiddleware(array $middleware) + * @method static \Illuminate\Routing\Router setContainer(\Illuminate\Container\Container $container) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * @method static void tap(callable|null $callback = null) + * @method static \Illuminate\Routing\RouteRegistrar attribute(string $key, mixed $value) + * @method static \Illuminate\Routing\RouteRegistrar whereAlpha(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereAlphaNumeric(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereNumber(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereUlid(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values) + * @method static \Illuminate\Routing\RouteRegistrar as(string $value) + * @method static \Illuminate\Routing\RouteRegistrar controller(string $controller) + * @method static \Illuminate\Routing\RouteRegistrar domain(string $value) + * @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware) + * @method static \Illuminate\Routing\RouteRegistrar missing(\Closure $missing) + * @method static \Illuminate\Routing\RouteRegistrar name(string $value) + * @method static \Illuminate\Routing\RouteRegistrar namespace(string|null $value) + * @method static \Illuminate\Routing\RouteRegistrar prefix(string $prefix) + * @method static \Illuminate\Routing\RouteRegistrar scopeBindings() + * @method static \Illuminate\Routing\RouteRegistrar where(array $where) + * @method static \Illuminate\Routing\RouteRegistrar withoutMiddleware(array|string $middleware) + * @method static \Illuminate\Routing\RouteRegistrar withoutScopedBindings() + * * @see \Illuminate\Routing\Router */ class Route extends Facade diff --git a/src/Illuminate/Support/Facades/Schema.php b/src/Illuminate/Support/Facades/Schema.php index 206b1eacdb28..d4d39f9f0521 100755 --- a/src/Illuminate/Support/Facades/Schema.php +++ b/src/Illuminate/Support/Facades/Schema.php @@ -3,6 +3,49 @@ namespace Illuminate\Support\Facades; /** + * @method static void defaultStringLength(int $length) + * @method static void defaultMorphKeyType(string $type) + * @method static void morphUsingUuids() + * @method static void morphUsingUlids() + * @method static bool createDatabase(string $name) + * @method static bool dropDatabaseIfExists(string $name) + * @method static bool hasTable(string $table) + * @method static bool hasView(string $view) + * @method static array getTables() + * @method static array getTableListing() + * @method static array getViews() + * @method static array getTypes() + * @method static bool hasColumn(string $table, string $column) + * @method static bool hasColumns(string $table, array $columns) + * @method static void whenTableHasColumn(string $table, string $column, \Closure $callback) + * @method static void whenTableDoesntHaveColumn(string $table, string $column, \Closure $callback) + * @method static string getColumnType(string $table, string $column, bool $fullDefinition = false) + * @method static array getColumnListing(string $table) + * @method static array getColumns(string $table) + * @method static array getIndexes(string $table) + * @method static array getIndexListing(string $table) + * @method static bool hasIndex(string $table, string|array $index, string|null $type = null) + * @method static array getForeignKeys(string $table) + * @method static void table(string $table, \Closure $callback) + * @method static void create(string $table, \Closure $callback) + * @method static void drop(string $table) + * @method static void dropIfExists(string $table) + * @method static void dropColumns(string $table, string|array $columns) + * @method static void dropAllTables() + * @method static void dropAllViews() + * @method static void dropAllTypes() + * @method static void rename(string $from, string $to) + * @method static bool enableForeignKeyConstraints() + * @method static bool disableForeignKeyConstraints() + * @method static mixed withoutForeignKeyConstraints(\Closure $callback) + * @method static \Illuminate\Database\Connection getConnection() + * @method static \Illuminate\Database\Schema\Builder setConnection(\Illuminate\Database\Connection $connection) + * @method static void blueprintResolver(\Closure $resolver) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Database\Schema\Builder */ class Schema extends Facade diff --git a/src/Illuminate/Support/Facades/Session.php b/src/Illuminate/Support/Facades/Session.php index de601385934f..f51fe423c7ce 100755 --- a/src/Illuminate/Support/Facades/Session.php +++ b/src/Illuminate/Support/Facades/Session.php @@ -3,6 +3,72 @@ namespace Illuminate\Support\Facades; /** + * @method static bool shouldBlock() + * @method static string|null blockDriver() + * @method static int defaultRouteBlockLockSeconds() + * @method static int defaultRouteBlockWaitSeconds() + * @method static array getSessionConfig() + * @method static string getDefaultDriver() + * @method static void setDefaultDriver(string $name) + * @method static mixed driver(string|null $driver = null) + * @method static \Illuminate\Session\SessionManager extend(string $driver, \Closure $callback) + * @method static array getDrivers() + * @method static \Illuminate\Contracts\Container\Container getContainer() + * @method static \Illuminate\Session\SessionManager setContainer(\Illuminate\Contracts\Container\Container $container) + * @method static \Illuminate\Session\SessionManager forgetDrivers() + * @method static bool start() + * @method static void save() + * @method static void ageFlashData() + * @method static array all() + * @method static array only(array $keys) + * @method static array except(array $keys) + * @method static bool exists(string|array $key) + * @method static bool missing(string|array $key) + * @method static bool has(string|array $key) + * @method static bool hasAny(string|array $key) + * @method static mixed get(string $key, mixed $default = null) + * @method static mixed pull(string $key, mixed $default = null) + * @method static bool hasOldInput(string|null $key = null) + * @method static mixed getOldInput(string|null $key = null, mixed $default = null) + * @method static void replace(array $attributes) + * @method static void put(string|array $key, mixed $value = null) + * @method static mixed remember(string $key, \Closure $callback) + * @method static void push(string $key, mixed $value) + * @method static mixed increment(string $key, int $amount = 1) + * @method static int decrement(string $key, int $amount = 1) + * @method static void flash(string $key, mixed $value = true) + * @method static void now(string $key, mixed $value) + * @method static void reflash() + * @method static void keep(array|mixed $keys = null) + * @method static void flashInput(array $value) + * @method static mixed remove(string $key) + * @method static void forget(string|array $keys) + * @method static void flush() + * @method static bool invalidate() + * @method static bool regenerate(bool $destroy = false) + * @method static bool migrate(bool $destroy = false) + * @method static bool isStarted() + * @method static string getName() + * @method static void setName(string $name) + * @method static string id() + * @method static string getId() + * @method static void setId(string|null $id) + * @method static bool isValidId(string|null $id) + * @method static void setExists(bool $value) + * @method static string token() + * @method static void regenerateToken() + * @method static string|null previousUrl() + * @method static void setPreviousUrl(string $url) + * @method static void passwordConfirmed() + * @method static \SessionHandlerInterface getHandler() + * @method static \SessionHandlerInterface setHandler(\SessionHandlerInterface $handler) + * @method static bool handlerNeedsRequest() + * @method static void setRequestOnHandler(\Illuminate\Http\Request $request) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Session\SessionManager */ class Session extends Facade diff --git a/src/Illuminate/Support/Facades/Storage.php b/src/Illuminate/Support/Facades/Storage.php index 609fde3061a0..b6391eaf14a0 100644 --- a/src/Illuminate/Support/Facades/Storage.php +++ b/src/Illuminate/Support/Facades/Storage.php @@ -5,6 +5,81 @@ use Illuminate\Filesystem\Filesystem; /** + * @method static \Illuminate\Contracts\Filesystem\Filesystem drive(string|null $name = null) + * @method static \Illuminate\Contracts\Filesystem\Filesystem disk(string|null $name = null) + * @method static \Illuminate\Contracts\Filesystem\Cloud cloud() + * @method static \Illuminate\Contracts\Filesystem\Filesystem build(string|array $config) + * @method static \Illuminate\Contracts\Filesystem\Filesystem createLocalDriver(array $config) + * @method static \Illuminate\Contracts\Filesystem\Filesystem createFtpDriver(array $config) + * @method static \Illuminate\Contracts\Filesystem\Filesystem createSftpDriver(array $config) + * @method static \Illuminate\Contracts\Filesystem\Cloud createS3Driver(array $config) + * @method static \Illuminate\Contracts\Filesystem\Filesystem createScopedDriver(array $config) + * @method static \Illuminate\Filesystem\FilesystemManager set(string $name, mixed $disk) + * @method static string getDefaultDriver() + * @method static string getDefaultCloudDriver() + * @method static \Illuminate\Filesystem\FilesystemManager forgetDisk(array|string $disk) + * @method static void purge(string|null $name = null) + * @method static \Illuminate\Filesystem\FilesystemManager extend(string $driver, \Closure $callback) + * @method static \Illuminate\Filesystem\FilesystemManager setApplication(\Illuminate\Contracts\Foundation\Application $app) + * @method static string path(string $path) + * @method static bool exists(string $path) + * @method static string|null get(string $path) + * @method static resource|null readStream(string $path) + * @method static bool put(string $path, \Psr\Http\Message\StreamInterface|\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|resource $contents, mixed $options = []) + * @method static string|false putFile(\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file = null, mixed $options = []) + * @method static string|false putFileAs(\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file, string|array|null $name = null, mixed $options = []) + * @method static bool writeStream(string $path, resource $resource, array $options = []) + * @method static string getVisibility(string $path) + * @method static bool setVisibility(string $path, string $visibility) + * @method static bool prepend(string $path, string $data) + * @method static bool append(string $path, string $data) + * @method static bool delete(string|array $paths) + * @method static bool copy(string $from, string $to) + * @method static bool move(string $from, string $to) + * @method static int size(string $path) + * @method static int lastModified(string $path) + * @method static array files(string|null $directory = null, bool $recursive = false) + * @method static array allFiles(string|null $directory = null) + * @method static array directories(string|null $directory = null, bool $recursive = false) + * @method static array allDirectories(string|null $directory = null) + * @method static bool makeDirectory(string $path) + * @method static bool deleteDirectory(string $directory) + * @method static \Illuminate\Filesystem\FilesystemAdapter assertExists(string|array $path, string|null $content = null) + * @method static \Illuminate\Filesystem\FilesystemAdapter assertMissing(string|array $path) + * @method static \Illuminate\Filesystem\FilesystemAdapter assertDirectoryEmpty(string $path) + * @method static bool missing(string $path) + * @method static bool fileExists(string $path) + * @method static bool fileMissing(string $path) + * @method static bool directoryExists(string $path) + * @method static bool directoryMissing(string $path) + * @method static array|null json(string $path, int $flags = 0) + * @method static \Symfony\Component\HttpFoundation\StreamedResponse response(string $path, string|null $name = null, array $headers = [], string|null $disposition = 'inline') + * @method static \Symfony\Component\HttpFoundation\StreamedResponse download(string $path, string|null $name = null, array $headers = []) + * @method static string|false checksum(string $path, array $options = []) + * @method static string|false mimeType(string $path) + * @method static string url(string $path) + * @method static bool providesTemporaryUrls() + * @method static string temporaryUrl(string $path, \DateTimeInterface $expiration, array $options = []) + * @method static array temporaryUploadUrl(string $path, \DateTimeInterface $expiration, array $options = []) + * @method static \League\Flysystem\FilesystemOperator getDriver() + * @method static \League\Flysystem\FilesystemAdapter getAdapter() + * @method static array getConfig() + * @method static void buildTemporaryUrlsUsing(\Closure $callback) + * @method static \Illuminate\Filesystem\FilesystemAdapter|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static \Illuminate\Filesystem\FilesystemAdapter|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static mixed macroCall(string $method, array $parameters) + * @method static bool has(string $location) + * @method static string read(string $location) + * @method static \League\Flysystem\DirectoryListing listContents(string $location, bool $deep = false) + * @method static int fileSize(string $path) + * @method static string visibility(string $path) + * @method static void write(string $location, string $contents, array $config = []) + * @method static void createDirectory(string $location, array $config = []) + * * @see \Illuminate\Filesystem\FilesystemManager */ class Storage extends Facade diff --git a/src/Illuminate/Support/Facades/URL.php b/src/Illuminate/Support/Facades/URL.php index e17414bc0612..4e239f399207 100755 --- a/src/Illuminate/Support/Facades/URL.php +++ b/src/Illuminate/Support/Facades/URL.php @@ -3,6 +3,51 @@ namespace Illuminate\Support\Facades; /** + * @method static string full() + * @method static string current() + * @method static string previous(mixed $fallback = false) + * @method static string previousPath(mixed $fallback = false) + * @method static string to(string $path, mixed $extra = [], bool|null $secure = null) + * @method static string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null) + * @method static string secure(string $path, array $parameters = []) + * @method static string asset(string $path, bool|null $secure = null) + * @method static string secureAsset(string $path) + * @method static string assetFrom(string $root, string $path, bool|null $secure = null) + * @method static string formatScheme(bool|null $secure = null) + * @method static string signedRoute(string $name, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, bool $absolute = true) + * @method static string temporarySignedRoute(string $name, \DateTimeInterface|\DateInterval|int $expiration, array $parameters = [], bool $absolute = true) + * @method static bool hasValidSignature(\Illuminate\Http\Request $request, bool $absolute = true, array $ignoreQuery = []) + * @method static bool hasValidRelativeSignature(\Illuminate\Http\Request $request, array $ignoreQuery = []) + * @method static bool hasCorrectSignature(\Illuminate\Http\Request $request, bool $absolute = true, array $ignoreQuery = []) + * @method static bool signatureHasNotExpired(\Illuminate\Http\Request $request) + * @method static string route(string $name, mixed $parameters = [], bool $absolute = true) + * @method static string toRoute(\Illuminate\Routing\Route $route, mixed $parameters, bool $absolute) + * @method static string action(string|array $action, mixed $parameters = [], bool $absolute = true) + * @method static array formatParameters(mixed|array $parameters) + * @method static string formatRoot(string $scheme, string|null $root = null) + * @method static string format(string $root, string $path, \Illuminate\Routing\Route|null $route = null) + * @method static bool isValidUrl(string $path) + * @method static void defaults(array $defaults) + * @method static array getDefaultParameters() + * @method static void forceScheme(string|null $scheme) + * @method static void forceRootUrl(string|null $root) + * @method static \Illuminate\Routing\UrlGenerator formatHostUsing(\Closure $callback) + * @method static \Illuminate\Routing\UrlGenerator formatPathUsing(\Closure $callback) + * @method static \Closure pathFormatter() + * @method static \Illuminate\Http\Request getRequest() + * @method static void setRequest(\Illuminate\Http\Request $request) + * @method static \Illuminate\Routing\UrlGenerator setRoutes(\Illuminate\Routing\RouteCollectionInterface $routes) + * @method static \Illuminate\Routing\UrlGenerator setSessionResolver(callable $sessionResolver) + * @method static \Illuminate\Routing\UrlGenerator setKeyResolver(callable $keyResolver) + * @method static \Illuminate\Routing\UrlGenerator withKeyResolver(callable $keyResolver) + * @method static \Illuminate\Routing\UrlGenerator resolveMissingNamedRoutesUsing(callable $missingNamedRouteResolver) + * @method static string getRootControllerNamespace() + * @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace(string $rootNamespace) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Routing\UrlGenerator */ class URL extends Facade diff --git a/src/Illuminate/Support/Facades/Validator.php b/src/Illuminate/Support/Facades/Validator.php index e3e1ba4dc4ea..a032cc53ef4c 100755 --- a/src/Illuminate/Support/Facades/Validator.php +++ b/src/Illuminate/Support/Facades/Validator.php @@ -3,6 +3,21 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Validation\Validator make(array $data, array $rules, array $messages = [], array $attributes = []) + * @method static array validate(array $data, array $rules, array $messages = [], array $attributes = []) + * @method static void extend(string $rule, \Closure|string $extension, string|null $message = null) + * @method static void extendImplicit(string $rule, \Closure|string $extension, string|null $message = null) + * @method static void extendDependent(string $rule, \Closure|string $extension, string|null $message = null) + * @method static void replacer(string $rule, \Closure|string $replacer) + * @method static void includeUnvalidatedArrayKeys() + * @method static void excludeUnvalidatedArrayKeys() + * @method static void resolver(\Closure $resolver) + * @method static \Illuminate\Contracts\Translation\Translator getTranslator() + * @method static \Illuminate\Validation\PresenceVerifierInterface getPresenceVerifier() + * @method static void setPresenceVerifier(\Illuminate\Validation\PresenceVerifierInterface $presenceVerifier) + * @method static \Illuminate\Contracts\Container\Container|null getContainer() + * @method static \Illuminate\Validation\Factory setContainer(\Illuminate\Contracts\Container\Container $container) + * * @see \Illuminate\Validation\Factory */ class Validator extends Facade diff --git a/src/Illuminate/Support/Facades/View.php b/src/Illuminate/Support/Facades/View.php index 9de57c328dca..787dc80b3654 100755 --- a/src/Illuminate/Support/Facades/View.php +++ b/src/Illuminate/Support/Facades/View.php @@ -3,6 +3,84 @@ namespace Illuminate\Support\Facades; /** + * @method static \Illuminate\Contracts\View\View file(string $path, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) + * @method static \Illuminate\Contracts\View\View make(string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) + * @method static \Illuminate\Contracts\View\View first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) + * @method static string renderWhen(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) + * @method static string renderUnless(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) + * @method static string renderEach(string $view, array $data, string $iterator, string $empty = 'raw|') + * @method static bool exists(string $view) + * @method static \Illuminate\Contracts\View\Engine getEngineFromPath(string $path) + * @method static mixed share(array|string $key, mixed|null $value = null) + * @method static void incrementRender() + * @method static void decrementRender() + * @method static bool doneRendering() + * @method static bool hasRenderedOnce(string $id) + * @method static void markAsRenderedOnce(string $id) + * @method static void addLocation(string $location) + * @method static \Illuminate\View\Factory addNamespace(string $namespace, string|array $hints) + * @method static \Illuminate\View\Factory prependNamespace(string $namespace, string|array $hints) + * @method static \Illuminate\View\Factory replaceNamespace(string $namespace, string|array $hints) + * @method static void addExtension(string $extension, string $engine, \Closure|null $resolver = null) + * @method static void flushState() + * @method static void flushStateIfDoneRendering() + * @method static array getExtensions() + * @method static \Illuminate\View\Engines\EngineResolver getEngineResolver() + * @method static \Illuminate\View\ViewFinderInterface getFinder() + * @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder) + * @method static void flushFinderCache() + * @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher() + * @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) + * @method static \Illuminate\Contracts\Container\Container getContainer() + * @method static void setContainer(\Illuminate\Contracts\Container\Container $container) + * @method static mixed shared(string $key, mixed $default = null) + * @method static array getShared() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @method static void startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = []) + * @method static void startComponentFirst(array $names, array $data = []) + * @method static string renderComponent() + * @method static mixed|null getConsumableComponentData(string $key, mixed $default = null) + * @method static void slot(string $name, string|null $content = null, array $attributes = []) + * @method static void endSlot() + * @method static array creator(array|string $views, \Closure|string $callback) + * @method static array composers(array $composers) + * @method static array composer(array|string $views, \Closure|string $callback) + * @method static void callComposer(\Illuminate\Contracts\View\View $view) + * @method static void callCreator(\Illuminate\Contracts\View\View $view) + * @method static void startFragment(string $fragment) + * @method static string stopFragment() + * @method static mixed getFragment(string $name, string|null $default = null) + * @method static array getFragments() + * @method static void flushFragments() + * @method static void startSection(string $section, string|null $content = null) + * @method static void inject(string $section, string $content) + * @method static string yieldSection() + * @method static string stopSection(bool $overwrite = false) + * @method static string appendSection() + * @method static string yieldContent(string $section, string $default = '') + * @method static string parentPlaceholder(string $section = '') + * @method static bool hasSection(string $name) + * @method static bool sectionMissing(string $name) + * @method static mixed getSection(string $name, string|null $default = null) + * @method static array getSections() + * @method static void flushSections() + * @method static void addLoop(\Countable|array $data) + * @method static void incrementLoopIndices() + * @method static void popLoop() + * @method static \stdClass|null getLastLoop() + * @method static array getLoopStack() + * @method static void startPush(string $section, string $content = '') + * @method static string stopPush() + * @method static void startPrepend(string $section, string $content = '') + * @method static string stopPrepend() + * @method static string yieldPushContent(string $section, string $default = '') + * @method static void flushStacks() + * @method static void startTranslation(array $replacements = []) + * @method static string renderTranslation() + * * @see \Illuminate\View\Factory */ class View extends Facade diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 1277c73d797f..ba5cd4e8d961 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -3,6 +3,30 @@ namespace Illuminate\Support\Facades; /** + * @method static array preloadedAssets() + * @method static string|null cspNonce() + * @method static string useCspNonce(string|null $nonce = null) + * @method static \Illuminate\Foundation\Vite useIntegrityKey(string|false $key) + * @method static \Illuminate\Foundation\Vite withEntryPoints(array $entryPoints) + * @method static \Illuminate\Foundation\Vite useManifestFilename(string $filename) + * @method static \Illuminate\Foundation\Vite createAssetPathsUsing(callable|null $resolver) + * @method static string hotFile() + * @method static \Illuminate\Foundation\Vite useHotFile(string $path) + * @method static \Illuminate\Foundation\Vite useBuildDirectory(string $path) + * @method static \Illuminate\Foundation\Vite useScriptTagAttributes(callable|array $attributes) + * @method static \Illuminate\Foundation\Vite useStyleTagAttributes(callable|array $attributes) + * @method static \Illuminate\Foundation\Vite usePreloadTagAttributes(callable|array|false $attributes) + * @method static \Illuminate\Support\HtmlString|void reactRefresh() + * @method static string asset(string $asset, string|null $buildDirectory = null) + * @method static string content(string $asset, string|null $buildDirectory = null) + * @method static string|null manifestHash(string|null $buildDirectory = null) + * @method static bool isRunningHot() + * @method static string toHtml() + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * * @see \Illuminate\Foundation\Vite */ class Vite extends Facade From 49805766ab42c6b466712d00920e42f32026bc09 Mon Sep 17 00:00:00 2001 From: Wessel Date: Thu, 1 Aug 2024 22:35:09 +0200 Subject: [PATCH 309/707] [11.x] Add `in()` and `inHidden()` functions to Context Stacks (#52346) * Add tests for in & inHidden functions * Implement logic for new functions * Add to Facade PHPDoc * Style fix * Add optional passing of strictness * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Log/Context/Repository.php | 53 ++++++++++++++++++++++ src/Illuminate/Support/Facades/Context.php | 2 + tests/Log/ContextTest.php | 33 +++++++++++++- 3 files changed, 87 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Log/Context/Repository.php b/src/Illuminate/Log/Context/Repository.php index 1533dc6a9cfb..eca3b8d29f67 100644 --- a/src/Illuminate/Log/Context/Repository.php +++ b/src/Illuminate/Log/Context/Repository.php @@ -3,6 +3,7 @@ namespace Illuminate\Log\Context; use __PHP_Incomplete_Class; +use Closure; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Log\Context\Events\ContextDehydrating as Dehydrating; @@ -311,6 +312,58 @@ public function pushHidden($key, ...$values) return $this; } + /** + * Determine if the given value is in the given stack. + * + * @param string $key + * @param mixed $value + * @return bool + * + * @throws \RuntimeException + */ + public function stackContains(string $key, mixed $value): bool + { + if (! $this->isStackable($key)) { + throw new RuntimeException("Given key [{$key}] is not a stack."); + } + + if (! array_key_exists($key, $this->data)) { + return false; + } + + if ($value instanceof Closure) { + return $value($this->data[$key]); + } + + return in_array($value, $this->data[$key]); + } + + /** + * Determine if the given value is in the given hidden stack. + * + * @param string $key + * @param mixed $value + * @return bool + * + * @throws \RuntimeException + */ + public function hiddenStackContains(string $key, mixed $value): bool + { + if (! $this->isHiddenStackable($key)) { + throw new RuntimeException("Given key [{$key}] is not a stack."); + } + + if (! array_key_exists($key, $this->hidden)) { + return false; + } + + if ($value instanceof Closure) { + return $value($this->data[$key]); + } + + return in_array($value, $this->hidden[$key]); + } + /** * Determine if a given key can be used as a stack. * diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 65a3f837d5f8..3571a019c7e0 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -21,6 +21,8 @@ * @method static \Illuminate\Log\Context\Repository addHiddenIf(string $key, mixed $value) * @method static \Illuminate\Log\Context\Repository push(string $key, mixed ...$values) * @method static \Illuminate\Log\Context\Repository pushHidden(string $key, mixed ...$values) + * @method static bool stackContains(string $key, mixed $value) + * @method static bool hiddenStackContains(string $key, mixed $value) * @method static bool isEmpty() * @method static \Illuminate\Log\Context\Repository dehydrating(callable $callback) * @method static \Illuminate\Log\Context\Repository hydrated(callable $callback) diff --git a/tests/Log/ContextTest.php b/tests/Log/ContextTest.php index b9c647e596fb..bec5df63a7ae 100644 --- a/tests/Log/ContextTest.php +++ b/tests/Log/ContextTest.php @@ -136,7 +136,6 @@ public function test_it_can_serialize_values() 'data' => [ 'string' => 's:6:"string";', 'bool' => 'b:0;', - 'bool' => 'b:0;', 'int' => 'i:5;', 'float' => 'd:5.5;', 'null' => 'N;', @@ -206,6 +205,38 @@ public function test_it_can_check_if_context_has_been_set() $this->assertFalse(Context::has('unset')); } + public function test_it_can_check_if_value_is_in_context_stack() + { + Context::push('foo', 'bar', 'lorem'); + + $this->assertTrue(Context::stackContains('foo', 'bar')); + $this->assertTrue(Context::stackContains('foo', 'lorem')); + $this->assertFalse(Context::stackContains('foo', 'doesNotExist')); + } + + public function test_it_can_check_if_value_is_in_context_stack_with_closures() + { + Context::push('foo', 'bar', ['lorem'], 123); + + $this->assertTrue(Context::stackContains('foo', fn ($stack) => in_array('bar', $stack, true))); + } + + public function test_it_can_check_if_value_is_in_hidden_context_stack() + { + Context::pushHidden('foo', 'bar', 'lorem'); + + $this->assertTrue(Context::hiddenStackContains('foo', 'bar')); + $this->assertTrue(Context::hiddenStackContains('foo', 'lorem')); + $this->assertFalse(Context::hiddenStackContains('foo', 'doesNotExist')); + } + + public function test_it_cannot_check_if_hidden_value_is_in_non_hidden_context_stack() + { + Context::pushHidden('foo', 'bar', 'lorem'); + + $this->assertFalse(Context::stackContains('foo', 'bar')); + } + public function test_it_can_get_all_values() { Context::add('foo', 'bar'); From f1e28c56725750bd4ea31e7aa0dddde7dfc79de8 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 1 Aug 2024 15:36:22 -0500 Subject: [PATCH 310/707] wip --- src/Illuminate/Log/Context/Repository.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Illuminate/Log/Context/Repository.php b/src/Illuminate/Log/Context/Repository.php index eca3b8d29f67..445fa470bb83 100644 --- a/src/Illuminate/Log/Context/Repository.php +++ b/src/Illuminate/Log/Context/Repository.php @@ -317,11 +317,12 @@ public function pushHidden($key, ...$values) * * @param string $key * @param mixed $value + * @param bool $strict * @return bool * * @throws \RuntimeException */ - public function stackContains(string $key, mixed $value): bool + public function stackContains(string $key, mixed $value, bool $strict = false): bool { if (! $this->isStackable($key)) { throw new RuntimeException("Given key [{$key}] is not a stack."); @@ -335,7 +336,7 @@ public function stackContains(string $key, mixed $value): bool return $value($this->data[$key]); } - return in_array($value, $this->data[$key]); + return in_array($value, $this->data[$key], $strict); } /** @@ -343,11 +344,12 @@ public function stackContains(string $key, mixed $value): bool * * @param string $key * @param mixed $value + * @param bool $strict * @return bool * * @throws \RuntimeException */ - public function hiddenStackContains(string $key, mixed $value): bool + public function hiddenStackContains(string $key, mixed $value, bool $strict = false): bool { if (! $this->isHiddenStackable($key)) { throw new RuntimeException("Given key [{$key}] is not a stack."); @@ -361,7 +363,7 @@ public function hiddenStackContains(string $key, mixed $value): bool return $value($this->data[$key]); } - return in_array($value, $this->hidden[$key]); + return in_array($value, $this->hidden[$key], $strict); } /** From 8fd4e65cf7eb5ee0edc68f0527699bfc2e4d292a Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 1 Aug 2024 20:36:49 +0000 Subject: [PATCH 311/707] Update facade docblocks --- src/Illuminate/Support/Facades/Context.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Support/Facades/Context.php b/src/Illuminate/Support/Facades/Context.php index 3571a019c7e0..52290f6aa376 100644 --- a/src/Illuminate/Support/Facades/Context.php +++ b/src/Illuminate/Support/Facades/Context.php @@ -21,8 +21,8 @@ * @method static \Illuminate\Log\Context\Repository addHiddenIf(string $key, mixed $value) * @method static \Illuminate\Log\Context\Repository push(string $key, mixed ...$values) * @method static \Illuminate\Log\Context\Repository pushHidden(string $key, mixed ...$values) - * @method static bool stackContains(string $key, mixed $value) - * @method static bool hiddenStackContains(string $key, mixed $value) + * @method static bool stackContains(string $key, mixed $value, bool $strict = false) + * @method static bool hiddenStackContains(string $key, mixed $value, bool $strict = false) * @method static bool isEmpty() * @method static \Illuminate\Log\Context\Repository dehydrating(callable $callback) * @method static \Illuminate\Log\Context\Repository hydrated(callable $callback) From c24fb240add6451009c4b19ff280ff3c5b121a49 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 2 Aug 2024 13:40:53 +0200 Subject: [PATCH 312/707] Fixed static analysis --- types/Support/Facades/Cache.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/types/Support/Facades/Cache.php b/types/Support/Facades/Cache.php index 2fefe7448ba4..68906ef19877 100644 --- a/types/Support/Facades/Cache.php +++ b/types/Support/Facades/Cache.php @@ -5,22 +5,22 @@ use function PHPStan\Testing\assertType; assertType('mixed', Cache::get('key')); -assertType('int', Cache::get('cache', 27)); -assertType('int', Cache::get('cache', function (): int { +assertType('mixed', Cache::get('cache', 27)); +assertType('mixed', Cache::get('cache', function (): int { return 26; })); assertType('mixed', Cache::pull('key')); -assertType('int', Cache::pull('cache', 28)); -assertType('int', Cache::pull('cache', function (): int { +assertType('mixed', Cache::pull('cache', 28)); +assertType('mixed', Cache::pull('cache', function (): int { return 30; })); -assertType('int', Cache::sear('cache', function (): int { +assertType('mixed', Cache::sear('cache', function (): int { return 33; })); -assertType('int', Cache::remember('cache', now(), function (): int { +assertType('mixed', Cache::remember('cache', now(), function (): int { return 36; })); -assertType('int', Cache::rememberForever('cache', function (): int { +assertType('mixed', Cache::rememberForever('cache', function (): int { return 36; })); From 2267834471e8f5558d3f5a6825ef9edd1e69d3f7 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 2 Aug 2024 13:53:21 +0200 Subject: [PATCH 313/707] Fixed static analysis --- src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php | 1 + src/Illuminate/Hashing/HashManager.php | 3 +++ src/Illuminate/Log/Context/ContextServiceProvider.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php index 3a534a419749..4e468bb4577b 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php @@ -1396,6 +1396,7 @@ protected function castAttributeAsHashedString($key, #[\SensitiveParameter] $val return Hash::make($value); } + /** @phpstan-ignore-next-line */ if (! Hash::verifyConfiguration($value)) { throw new RuntimeException("Could not verify the hashed value's configuration."); } diff --git a/src/Illuminate/Hashing/HashManager.php b/src/Illuminate/Hashing/HashManager.php index 007a97c80c6c..f4c5b9f38e40 100644 --- a/src/Illuminate/Hashing/HashManager.php +++ b/src/Illuminate/Hashing/HashManager.php @@ -112,6 +112,9 @@ public function getDefaultDriver() /** * Verifies that the configuration is less than or equal to what is configured. * + * @param array $value + * @return bool + * * @internal */ public function verifyConfiguration($value) diff --git a/src/Illuminate/Log/Context/ContextServiceProvider.php b/src/Illuminate/Log/Context/ContextServiceProvider.php index d7f9a107ad06..4e65515ca4c7 100644 --- a/src/Illuminate/Log/Context/ContextServiceProvider.php +++ b/src/Illuminate/Log/Context/ContextServiceProvider.php @@ -27,6 +27,7 @@ public function register() public function boot() { Queue::createPayloadUsing(function ($connection, $queue, $payload) { + /** @phpstan-ignore-next-line */ $context = Context::dehydrate(); return $context === null ? $payload : [ @@ -36,6 +37,7 @@ public function boot() }); $this->app['events']->listen(function (JobProcessing $event) { + /** @phpstan-ignore-next-line */ Context::hydrate($event->job->payload()['illuminate:log:context'] ?? null); }); } From cfe5f84ba23b5a47f1232a3f2bc1ea8cd23ca572 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 2 Aug 2024 11:53:41 +0000 Subject: [PATCH 314/707] Apply fixes from StyleCI --- src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php index 4e468bb4577b..bbeabcf22e7d 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php @@ -1396,7 +1396,7 @@ protected function castAttributeAsHashedString($key, #[\SensitiveParameter] $val return Hash::make($value); } - /** @phpstan-ignore-next-line */ + /** @phpstan-ignore-next-line */ if (! Hash::verifyConfiguration($value)) { throw new RuntimeException("Could not verify the hashed value's configuration."); } From 53b2ee6151085c34f92bb9dc38d9d8033c7e72e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=B3nh=20Nguy=E1=BB=85n?= Date: Mon, 5 Aug 2024 20:38:27 +0700 Subject: [PATCH 315/707] Use Command::fail() method for single error messages (#52387) --- .../Foundation/Console/ConfigShowCommand.php | 4 +--- .../Console/EnvironmentDecryptCommand.php | 20 +++++-------------- .../Console/EnvironmentEncryptCommand.php | 12 +++-------- 3 files changed, 9 insertions(+), 27 deletions(-) diff --git a/src/Illuminate/Foundation/Console/ConfigShowCommand.php b/src/Illuminate/Foundation/Console/ConfigShowCommand.php index 2c5712145e55..d3dd580e130b 100644 --- a/src/Illuminate/Foundation/Console/ConfigShowCommand.php +++ b/src/Illuminate/Foundation/Console/ConfigShowCommand.php @@ -33,9 +33,7 @@ public function handle() $config = $this->argument('config'); if (! config()->has($config)) { - $this->components->error("Configuration file or key {$config} does not exist."); - - return Command::FAILURE; + $this->fail("Configuration file or key {$config} does not exist."); } $this->newLine(); diff --git a/src/Illuminate/Foundation/Console/EnvironmentDecryptCommand.php b/src/Illuminate/Foundation/Console/EnvironmentDecryptCommand.php index a173388f4bc5..d09d97d9d6b3 100644 --- a/src/Illuminate/Foundation/Console/EnvironmentDecryptCommand.php +++ b/src/Illuminate/Foundation/Console/EnvironmentDecryptCommand.php @@ -63,9 +63,7 @@ public function handle() $key = $this->option('key') ?: Env::get('LARAVEL_ENV_ENCRYPTION_KEY'); if (! $key) { - $this->components->error('A decryption key is required.'); - - return Command::FAILURE; + $this->fail('A decryption key is required.'); } $cipher = $this->option('cipher') ?: 'AES-256-CBC'; @@ -79,21 +77,15 @@ public function handle() $outputFile = $this->outputFilePath(); if (Str::endsWith($outputFile, '.encrypted')) { - $this->components->error('Invalid filename.'); - - return Command::FAILURE; + $this->fail('Invalid filename.'); } if (! $this->files->exists($encryptedFile)) { - $this->components->error('Encrypted environment file not found.'); - - return Command::FAILURE; + $this->fail('Encrypted environment file not found.'); } if ($this->files->exists($outputFile) && ! $this->option('force')) { - $this->components->error('Environment file already exists.'); - - return Command::FAILURE; + $this->fail('Environment file already exists.'); } try { @@ -104,9 +96,7 @@ public function handle() $encrypter->decrypt($this->files->get($encryptedFile)) ); } catch (Exception $e) { - $this->components->error($e->getMessage()); - - return Command::FAILURE; + $this->fail($e->getMessage()); } $this->components->info('Environment successfully decrypted.'); diff --git a/src/Illuminate/Foundation/Console/EnvironmentEncryptCommand.php b/src/Illuminate/Foundation/Console/EnvironmentEncryptCommand.php index d4e7f6aafc18..df0c038a2315 100644 --- a/src/Illuminate/Foundation/Console/EnvironmentEncryptCommand.php +++ b/src/Illuminate/Foundation/Console/EnvironmentEncryptCommand.php @@ -75,15 +75,11 @@ public function handle() } if (! $this->files->exists($environmentFile)) { - $this->components->error('Environment file not found.'); - - return Command::FAILURE; + $this->fail('Environment file not found.'); } if ($this->files->exists($encryptedFile) && ! $this->option('force')) { - $this->components->error('Encrypted environment file already exists.'); - - return Command::FAILURE; + $this->fail('Encrypted environment file already exists.'); } try { @@ -94,9 +90,7 @@ public function handle() $encrypter->encrypt($this->files->get($environmentFile)) ); } catch (Exception $e) { - $this->components->error($e->getMessage()); - - return Command::FAILURE; + $this->fail($e->getMessage()); } if ($this->option('prune')) { From c03c29805a4642dd83c9ce82491d20404ad52939 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Mon, 5 Aug 2024 23:40:54 +1000 Subject: [PATCH 316/707] Rework `Context::stackContains` (#52381) --- src/Illuminate/Log/Context/Repository.php | 4 ++-- tests/Log/ContextTest.php | 13 ++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Log/Context/Repository.php b/src/Illuminate/Log/Context/Repository.php index 445fa470bb83..0bd2ca684285 100644 --- a/src/Illuminate/Log/Context/Repository.php +++ b/src/Illuminate/Log/Context/Repository.php @@ -333,7 +333,7 @@ public function stackContains(string $key, mixed $value, bool $strict = false): } if ($value instanceof Closure) { - return $value($this->data[$key]); + return collect($this->data[$key])->contains($value); } return in_array($value, $this->data[$key], $strict); @@ -360,7 +360,7 @@ public function hiddenStackContains(string $key, mixed $value, bool $strict = fa } if ($value instanceof Closure) { - return $value($this->data[$key]); + return collect($this->hidden[$key])->contains($value); } return in_array($value, $this->hidden[$key], $strict); diff --git a/tests/Log/ContextTest.php b/tests/Log/ContextTest.php index bec5df63a7ae..f0eb661e55b6 100644 --- a/tests/Log/ContextTest.php +++ b/tests/Log/ContextTest.php @@ -217,8 +217,10 @@ public function test_it_can_check_if_value_is_in_context_stack() public function test_it_can_check_if_value_is_in_context_stack_with_closures() { Context::push('foo', 'bar', ['lorem'], 123); + Context::pushHidden('baz'); - $this->assertTrue(Context::stackContains('foo', fn ($stack) => in_array('bar', $stack, true))); + $this->assertTrue(Context::stackContains('foo', fn ($value) => $value === 'bar')); + $this->assertFalse(Context::stackContains('foo', fn ($value) => $value === 'baz')); } public function test_it_can_check_if_value_is_in_hidden_context_stack() @@ -230,6 +232,15 @@ public function test_it_can_check_if_value_is_in_hidden_context_stack() $this->assertFalse(Context::hiddenStackContains('foo', 'doesNotExist')); } + public function test_it_can_check_if_value_is_in_hidden_context_stack_with_closures() + { + Context::pushHidden('foo', 'baz'); + Context::push('foo', 'bar', ['lorem'], 123); + + $this->assertTrue(Context::hiddenStackContains('foo', fn ($value) => $value === 'baz')); + $this->assertFalse(Context::hiddenStackContains('foo', fn ($value) => $value === 'bar')); + } + public function test_it_cannot_check_if_hidden_value_is_in_non_hidden_context_stack() { Context::pushHidden('foo', 'bar', 'lorem'); From fd8e150e6de48535ea3adb5b8dd0f3fff6ab2c64 Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Mon, 5 Aug 2024 23:43:52 +1000 Subject: [PATCH 317/707] Allow enums to be passed to AssertableJson where methods (#52360) where, whereNot and whereContains --- .../Testing/Fluent/Concerns/Matching.php | 23 ++-- tests/Testing/Fluent/AssertTest.php | 100 ++++++++++++++++++ tests/Testing/Fluent/BackedEnum.php | 9 ++ 3 files changed, 126 insertions(+), 6 deletions(-) create mode 100644 tests/Testing/Fluent/BackedEnum.php diff --git a/src/Illuminate/Testing/Fluent/Concerns/Matching.php b/src/Illuminate/Testing/Fluent/Concerns/Matching.php index cab4cb11dd70..7f44027bccee 100644 --- a/src/Illuminate/Testing/Fluent/Concerns/Matching.php +++ b/src/Illuminate/Testing/Fluent/Concerns/Matching.php @@ -2,6 +2,7 @@ namespace Illuminate\Testing\Fluent\Concerns; +use BackedEnum; use Closure; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Support\Collection; @@ -35,6 +36,10 @@ public function where(string $key, $expected): self $expected = $expected->toArray(); } + if ($expected instanceof BackedEnum) { + $expected = $expected->value; + } + $this->ensureSorted($expected); $this->ensureSorted($actual); @@ -73,6 +78,10 @@ public function whereNot(string $key, $expected): self $expected = $expected->toArray(); } + if ($expected instanceof BackedEnum) { + $expected = $expected->value; + } + $this->ensureSorted($expected); $this->ensureSorted($actual); @@ -159,13 +168,15 @@ public function whereContains(string $key, $expected) $this->prop($key) ?? $this->prop() ); - $missing = Collection::make($expected)->reject(function ($search) use ($key, $actual) { - if ($actual->containsStrict($key, $search)) { - return true; - } + $missing = Collection::make($expected) + ->map(fn ($search) => $search instanceof BackedEnum ? $search->value : $search) + ->reject(function ($search) use ($key, $actual) { + if ($actual->containsStrict($key, $search)) { + return true; + } - return $actual->containsStrict($search); - }); + return $actual->containsStrict($search); + }); if ($missing->whereInstanceOf('Closure')->isNotEmpty()) { PHPUnit::assertEmpty( diff --git a/tests/Testing/Fluent/AssertTest.php b/tests/Testing/Fluent/AssertTest.php index 843de39860d0..c96b4bf21218 100644 --- a/tests/Testing/Fluent/AssertTest.php +++ b/tests/Testing/Fluent/AssertTest.php @@ -496,6 +496,33 @@ public function testAssertWhereFailsWhenDoesNotMatchValueUsingArrayable() ]); } + public function testAssertWhereUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'bar' => BackedEnum::test->value, + ]); + + $assert->where('bar', BackedEnum::test); + + $assert = AssertableJson::fromArray([ + 'bar' => BackedEnum::test_empty->value, + ]); + + $assert->where('bar', BackedEnum::test_empty); + } + + public function testAssertWhereFailsUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'bar' => BackedEnum::test->value, + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Property [bar] does not match the expected value.'); + + $assert->where('bar', BackedEnum::test_empty); + } + public function testAssertWhereContainsFailsWithEmptyValue() { $assert = AssertableJson::fromArray([]); @@ -690,6 +717,33 @@ public function testAssertWhereContainsWithNullExpectation() $assert->whereContains('foo', null); } + public function testAssertWhereContainsUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'bar' => [BackedEnum::test->value], + ]); + + $assert->whereContains('bar', BackedEnum::test); + + $assert = AssertableJson::fromArray([ + 'bar' => [BackedEnum::test_empty->value], + ]); + + $assert->whereContains('bar', BackedEnum::test_empty); + } + + public function testAssertWhereContainsFailsUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'bar' => [BackedEnum::test_empty->value], + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Property [bar] does not contain [test].'); + + $assert->whereContains('bar', BackedEnum::test); + } + public function testAssertNestedWhereMatchesValue() { $assert = AssertableJson::fromArray([ @@ -715,6 +769,31 @@ public function testAssertNestedWhereFailsWhenDoesNotMatchValue() $assert->where('example.nested', 'another-value'); } + public function testAssertNestedWhereUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'example' => [ + 'nested' => BackedEnum::test->value, + ], + ]); + + $assert->where('example.nested', BackedEnum::test); + } + + public function testAssertNestedWhereFailsUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'example' => [ + 'nested' => BackedEnum::test_empty->value, + ], + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Property [example.nested] does not match the expected value.'); + + $assert->where('example.nested', BackedEnum::test); + } + public function testAssertWhereDoesNotMatchValue() { $assert = AssertableJson::fromArray([ @@ -773,6 +852,27 @@ public function testAssertWhereNotFailsWhenMatchesValueUsingClosure() }); } + public function testAssertWhereNotUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'bar' => BackedEnum::test->value, + ]); + + $assert->whereNot('bar', BackedEnum::test_empty); + } + + public function testAssertWhereNotFailsUsingBackedEnum() + { + $assert = AssertableJson::fromArray([ + 'bar' => BackedEnum::test->value, + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Property [bar] contains a value that should be missing: [bar, test]'); + + $assert->whereNot('bar', BackedEnum::test); + } + public function testScope() { $assert = AssertableJson::fromArray([ diff --git a/tests/Testing/Fluent/BackedEnum.php b/tests/Testing/Fluent/BackedEnum.php new file mode 100644 index 000000000000..aba9d14ad0e0 --- /dev/null +++ b/tests/Testing/Fluent/BackedEnum.php @@ -0,0 +1,9 @@ + Date: Mon, 5 Aug 2024 16:45:12 +0300 Subject: [PATCH 318/707] [11.x] Made `list` validation rule as array for "size" rules in validation message (#52385) Right now it's detected as "string" and it's not correct --- src/Illuminate/Validation/Concerns/FormatsMessages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Validation/Concerns/FormatsMessages.php b/src/Illuminate/Validation/Concerns/FormatsMessages.php index 4fc6c1fa4807..7f810d751bfd 100644 --- a/src/Illuminate/Validation/Concerns/FormatsMessages.php +++ b/src/Illuminate/Validation/Concerns/FormatsMessages.php @@ -221,7 +221,7 @@ protected function getAttributeType($attribute) // list doesn't have it we'll just consider it a string by elimination. return match (true) { $this->hasRule($attribute, $this->numericRules) => 'numeric', - $this->hasRule($attribute, ['Array']) => 'array', + $this->hasRule($attribute, ['Array', 'List']) => 'array', $this->getValue($attribute) instanceof UploadedFile, $this->getValue($attribute) instanceof File => 'file', default => 'string', From b8a6d7c4a92d56cf7c515a228cd7bf6aa64772d3 Mon Sep 17 00:00:00 2001 From: Jamie York Date: Mon, 5 Aug 2024 16:04:01 +0100 Subject: [PATCH 319/707] [11.x] Add contextual attributes to resolve drivers (#52265) * storage attribute * test storage attribute * test config attribute * correct return type * cache, db, log attrs * guard attr * authed attr * fix cs * fix tests * rename files * add db --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Container/Attributes/Auth.php | 30 +++ .../Container/Attributes/Authenticated.php | 30 +++ src/Illuminate/Container/Attributes/Cache.php | 30 +++ .../Container/Attributes/CurrentUser.php | 11 ++ src/Illuminate/Container/Attributes/DB.php | 11 ++ .../Container/Attributes/Database.php | 30 +++ src/Illuminate/Container/Attributes/Log.php | 30 +++ .../Container/Attributes/Storage.php | 30 +++ .../ContextualAttributeBindingTest.php | 182 ++++++++++++++++++ 9 files changed, 384 insertions(+) create mode 100644 src/Illuminate/Container/Attributes/Auth.php create mode 100644 src/Illuminate/Container/Attributes/Authenticated.php create mode 100644 src/Illuminate/Container/Attributes/Cache.php create mode 100644 src/Illuminate/Container/Attributes/CurrentUser.php create mode 100644 src/Illuminate/Container/Attributes/DB.php create mode 100644 src/Illuminate/Container/Attributes/Database.php create mode 100644 src/Illuminate/Container/Attributes/Log.php create mode 100644 src/Illuminate/Container/Attributes/Storage.php diff --git a/src/Illuminate/Container/Attributes/Auth.php b/src/Illuminate/Container/Attributes/Auth.php new file mode 100644 index 000000000000..4cf0c1a4cc68 --- /dev/null +++ b/src/Illuminate/Container/Attributes/Auth.php @@ -0,0 +1,30 @@ +make('auth')->guard($attribute->guard); + } +} diff --git a/src/Illuminate/Container/Attributes/Authenticated.php b/src/Illuminate/Container/Attributes/Authenticated.php new file mode 100644 index 000000000000..67cdd53cc3cf --- /dev/null +++ b/src/Illuminate/Container/Attributes/Authenticated.php @@ -0,0 +1,30 @@ +make('auth')->guard($attribute->guard)->user(); + } +} diff --git a/src/Illuminate/Container/Attributes/Cache.php b/src/Illuminate/Container/Attributes/Cache.php new file mode 100644 index 000000000000..2b7b1f78e038 --- /dev/null +++ b/src/Illuminate/Container/Attributes/Cache.php @@ -0,0 +1,30 @@ +make('cache')->store($attribute->store); + } +} diff --git a/src/Illuminate/Container/Attributes/CurrentUser.php b/src/Illuminate/Container/Attributes/CurrentUser.php new file mode 100644 index 000000000000..7c13b4efee58 --- /dev/null +++ b/src/Illuminate/Container/Attributes/CurrentUser.php @@ -0,0 +1,11 @@ +make('db')->connection($attribute->connection); + } +} diff --git a/src/Illuminate/Container/Attributes/Log.php b/src/Illuminate/Container/Attributes/Log.php new file mode 100644 index 000000000000..07673e703704 --- /dev/null +++ b/src/Illuminate/Container/Attributes/Log.php @@ -0,0 +1,30 @@ +make('log')->channel($attribute->channel); + } +} diff --git a/src/Illuminate/Container/Attributes/Storage.php b/src/Illuminate/Container/Attributes/Storage.php new file mode 100644 index 000000000000..b9a16d19817a --- /dev/null +++ b/src/Illuminate/Container/Attributes/Storage.php @@ -0,0 +1,30 @@ +make('filesystem')->disk($attribute->disk); + } +} diff --git a/tests/Container/ContextualAttributeBindingTest.php b/tests/Container/ContextualAttributeBindingTest.php index a474cbbba531..b7360da204aa 100644 --- a/tests/Container/ContextualAttributeBindingTest.php +++ b/tests/Container/ContextualAttributeBindingTest.php @@ -3,13 +3,38 @@ namespace Illuminate\Tests\Container; use Attribute; +use Illuminate\Auth\AuthManager; +use Illuminate\Cache\CacheManager; +use Illuminate\Cache\Repository as CacheRepository; use Illuminate\Config\Repository; +use Illuminate\Container\Attributes\Auth; +use Illuminate\Container\Attributes\Authenticated; +use Illuminate\Container\Attributes\Cache; +use Illuminate\Container\Attributes\Config; +use Illuminate\Container\Attributes\CurrentUser; +use Illuminate\Container\Attributes\Database; +use Illuminate\Container\Attributes\Log; +use Illuminate\Container\Attributes\Storage; use Illuminate\Container\Container; +use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; +use Illuminate\Contracts\Auth\Guard as GuardContract; use Illuminate\Contracts\Container\ContextualAttribute; +use Illuminate\Contracts\Filesystem\Filesystem; +use Illuminate\Database\Connection; +use Illuminate\Database\DatabaseManager; +use Illuminate\Filesystem\FilesystemManager; +use Illuminate\Log\LogManager; +use Mockery as m; use PHPUnit\Framework\TestCase; +use Psr\Log\LoggerInterface; class ContextualAttributeBindingTest extends TestCase { + protected function tearDown(): void + { + m::close(); + } + public function testDependencyCanBeResolvedFromAttributeBinding() { $container = new Container; @@ -75,6 +100,114 @@ public function testDependencyWithAfterCallbackAttributeCanBeResolved() $this->assertEquals('Developer', $class->person->role); } + + public function testAuthedAttribute() + { + $container = new Container; + $container->singleton('auth', function () { + $manager = m::mock(AuthManager::class); + $manager->shouldReceive('guard')->with('foo')->andReturnUsing(function () { + $guard = m::mock(GuardContract::class); + $guard->shouldReceive('user')->andReturn(m:mock(AuthenticatableContract::class)); + + return $guard; + }); + $manager->shouldReceive('guard')->with('bar')->andReturnUsing(function () { + $guard = m::mock(GuardContract::class); + $guard->shouldReceive('user')->andReturn(m:mock(AuthenticatableContract::class)); + + return $guard; + }); + + return $manager; + }); + + $container->make(AuthedTest::class); + } + + public function testCacheAttribute() + { + $container = new Container; + $container->singleton('cache', function () { + $manager = m::mock(CacheManager::class); + $manager->shouldReceive('store')->with('foo')->andReturn(m::mock(CacheRepository::class)); + $manager->shouldReceive('store')->with('bar')->andReturn(m::mock(CacheRepository::class)); + + return $manager; + }); + + $container->make(CacheTest::class); + } + + public function testConfigAttribute() + { + $container = new Container; + $container->singleton('config', function () { + $repository = m::mock(Repository::class); + $repository->shouldReceive('get')->with('foo', null)->andReturn('foo'); + $repository->shouldReceive('get')->with('bar', null)->andReturn('bar'); + + return $repository; + }); + + $container->make(ConfigTest::class); + } + + public function testDatabaseAttribute() + { + $container = new Container; + $container->singleton('db', function () { + $manager = m::mock(DatabaseManager::class); + $manager->shouldReceive('connection')->with('foo')->andReturn(m::mock(Connection::class)); + $manager->shouldReceive('connection')->with('bar')->andReturn(m::mock(Connection::class)); + + return $manager; + }); + + $container->make(DatabaseTest::class); + } + + public function testAuthAttribute() + { + $container = new Container;# + $container->singleton('auth', function () { + $manager = m::mock(AuthManager::class); + $manager->shouldReceive('guard')->with('foo')->andReturn(m::mock(GuardContract::class)); + $manager->shouldReceive('guard')->with('bar')->andReturn(m::mock(GuardContract::class)); + + return $manager; + }); + + $container->make(GuardTest::class); + } + + public function testLogAttribute() + { + $container = new Container; + $container->singleton('log', function () { + $manager = m::mock(LogManager::class); + $manager->shouldReceive('channel')->with('foo')->andReturn(m::mock(LoggerInterface::class)); + $manager->shouldReceive('channel')->with('bar')->andReturn(m::mock(LoggerInterface::class)); + + return $manager; + }); + + $container->make(LogTest::class); + } + + public function testStorageAttribute() + { + $container = new Container; + $container->singleton('filesystem', function () { + $manager = m::mock(FilesystemManager::class); + $manager->shouldReceive('disk')->with('foo')->andReturn(m::mock(Filesystem::class)); + $manager->shouldReceive('disk')->with('bar')->andReturn(m::mock(Filesystem::class)); + + return $manager; + }); + + $container->make(StorageTest::class); + } } #[Attribute(Attribute::TARGET_PARAMETER)] @@ -179,3 +312,52 @@ public function __construct( ) { } } + +final class AuthedTest +{ + public function __construct(#[Authenticated('foo')] AuthenticatableContract $foo, #[CurrentUser('bar')] AuthenticatableContract $bar) + { + } +} + +final class CacheTest +{ + public function __construct(#[Cache('foo')] CacheRepository $foo, #[Cache('bar')] CacheRepository $bar) + { + } +} + +final class ConfigTest +{ + public function __construct(#[Config('foo')] string $foo, #[Config('bar')] string $bar) + { + } +} + +final class DatabaseTest +{ + public function __construct(#[Database('foo')] Connection $foo, #[Database('bar')] Connection $bar) + { + } +} + +final class GuardTest +{ + public function __construct(#[Auth('foo')] GuardContract $foo, #[Auth('bar')] GuardContract $bar) + { + } +} + +final class LogTest +{ + public function __construct(#[Log('foo')] LoggerInterface $foo, #[Log('bar')] LoggerInterface $bar) + { + } +} + +final class StorageTest +{ + public function __construct(#[Storage('foo')] Filesystem $foo, #[Storage('bar')] Filesystem $bar) + { + } +} From cef2ce36054c7fad0d522569c013b4ec8bdf355d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 5 Aug 2024 15:04:23 +0000 Subject: [PATCH 320/707] Apply fixes from StyleCI --- tests/Container/ContextualAttributeBindingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Container/ContextualAttributeBindingTest.php b/tests/Container/ContextualAttributeBindingTest.php index b7360da204aa..88995d20bb3f 100644 --- a/tests/Container/ContextualAttributeBindingTest.php +++ b/tests/Container/ContextualAttributeBindingTest.php @@ -169,7 +169,7 @@ public function testDatabaseAttribute() public function testAuthAttribute() { - $container = new Container;# + $container = new Container; // $container->singleton('auth', function () { $manager = m::mock(AuthManager::class); $manager->shouldReceive('guard')->with('foo')->andReturn(m::mock(GuardContract::class)); From 7e696458c3a90972320305c72e0683162edb8f30 Mon Sep 17 00:00:00 2001 From: Einar Hansen <49709354+einar-hansen@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:04:31 +0200 Subject: [PATCH 321/707] Fix docblocks for where(All|AnyNone) query methods (#52388) --- src/Illuminate/Database/Query/Builder.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 20b18b9025cb..7dde9d31b1b4 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -2238,7 +2238,7 @@ public function orWhereFullText($columns, $value, array $options = []) /** * Add a "where" clause to the query for multiple columns with "and" conditions between them. * - * @param string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns * @param mixed $operator * @param mixed $value * @param string $boolean @@ -2262,8 +2262,8 @@ public function whereAll($columns, $operator = null, $value = null, $boolean = ' /** * Add an "or where" clause to the query for multiple columns with "and" conditions between them. * - * @param string[] $columns - * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param mixed $operator * @param mixed $value * @return $this */ @@ -2275,8 +2275,8 @@ public function orWhereAll($columns, $operator = null, $value = null) /** * Add a "where" clause to the query for multiple columns with "or" conditions between them. * - * @param string[] $columns - * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param mixed $operator * @param mixed $value * @param string $boolean * @return $this @@ -2299,8 +2299,8 @@ public function whereAny($columns, $operator = null, $value = null, $boolean = ' /** * Add an "or where" clause to the query for multiple columns with "or" conditions between them. * - * @param string[] $columns - * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param mixed $operator * @param mixed $value * @return $this */ @@ -2312,8 +2312,8 @@ public function orWhereAny($columns, $operator = null, $value = null) /** * Add a "where not" clause to the query for multiple columns where none of the conditions should be true. * - * @param string[] $columns - * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param mixed $operator * @param mixed $value * @param string $boolean * @return $this @@ -2326,8 +2326,8 @@ public function whereNone($columns, $operator = null, $value = null, $boolean = /** * Add an "or where not" clause to the query for multiple columns where none of the conditions should be true. * - * @param string[] $columns - * @param string $operator + * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param mixed $operator * @param mixed $value * @return $this */ From e1e7cd18a3c3b64c1ac2eb8a1359e173884b081d Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 5 Aug 2024 12:20:47 -0500 Subject: [PATCH 322/707] fix: Request::json() json errors when decoding empty string (#52389) --- src/Illuminate/Http/Request.php | 2 +- tests/Http/HttpRequestTest.php | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Http/Request.php b/src/Illuminate/Http/Request.php index 1a36ec2d0f1e..d7c8745f719b 100644 --- a/src/Illuminate/Http/Request.php +++ b/src/Illuminate/Http/Request.php @@ -404,7 +404,7 @@ public function get(string $key, mixed $default = null): mixed public function json($key = null, $default = null) { if (! isset($this->json)) { - $this->json = new InputBag((array) json_decode($this->getContent(), true)); + $this->json = new InputBag((array) json_decode($this->getContent() ?: '[]', true)); } if (is_null($key)) { diff --git a/tests/Http/HttpRequestTest.php b/tests/Http/HttpRequestTest.php index 75a0cf5571af..b0d3f53e1242 100644 --- a/tests/Http/HttpRequestTest.php +++ b/tests/Http/HttpRequestTest.php @@ -1608,4 +1608,14 @@ public function testItCanHaveObjectsInJsonPayload() $this->assertSame(['name' => 'Laravel'], $request->get('framework')); } + + public function testItDoesNotGenerateJsonErrorsForEmptyContent() + { + // clear any existing errors + json_encode(null); + + Request::create('', 'GET')->json(); + + $this->assertTrue(json_last_error() === JSON_ERROR_NONE); + } } From d984d0ddc14cb7cc62741681518cd9388db9e1f5 Mon Sep 17 00:00:00 2001 From: James Funk Date: Mon, 5 Aug 2024 10:41:40 -0600 Subject: [PATCH 323/707] In MySQL, harvest last insert ID immediately after query is executed --- src/Illuminate/Database/MySqlConnection.php | 41 +++++++++++++++++++ .../Query/Processors/MySqlProcessor.php | 20 +++++++++ .../MySql/DatabaseMySqlConnectionTest.php | 24 +++++++++++ 3 files changed, 85 insertions(+) diff --git a/src/Illuminate/Database/MySqlConnection.php b/src/Illuminate/Database/MySqlConnection.php index 460a4fd375c1..502c6b62782c 100755 --- a/src/Illuminate/Database/MySqlConnection.php +++ b/src/Illuminate/Database/MySqlConnection.php @@ -14,6 +14,47 @@ class MySqlConnection extends Connection { + /** + * The last inserted ID generated by the server + * + * @var string|int|null + */ + protected $lastInsertId; + + /** + * Run an insert statement against the database. + * + * @param string $query + * @param array $bindings + * @param string|null $sequence + * @return bool + */ + public function insert($query, $bindings = [], $sequence = null) + { + return $this->run($query, $bindings, function ($query, $bindings) use ($sequence) { + if ($this->pretending()) { + return true; + } + + $statement = $this->getPdo()->prepare($query); + + $this->bindValues($statement, $this->prepareBindings($bindings)); + + $this->recordsHaveBeenModified(); + + $result = $statement->execute(); + + $this->lastInsertId = $this->getPdo()->lastInsertId($sequence); + + return $result; + }); + } + + public function getLastInsertId() + { + return $this->lastInsertId; + } + /** * Escape a binary value for safe SQL embedding. * diff --git a/src/Illuminate/Database/Query/Processors/MySqlProcessor.php b/src/Illuminate/Database/Query/Processors/MySqlProcessor.php index 07553c39195b..cfbbdc3cec7b 100644 --- a/src/Illuminate/Database/Query/Processors/MySqlProcessor.php +++ b/src/Illuminate/Database/Query/Processors/MySqlProcessor.php @@ -2,6 +2,8 @@ namespace Illuminate\Database\Query\Processors; +use Illuminate\Database\Query\Builder; + class MySqlProcessor extends Processor { /** @@ -19,6 +21,24 @@ public function processColumnListing($results) }, $results); } + /** + * Process an "insert get ID" query. + * + * @param \Illuminate\Database\Query\Builder $query + * @param string $sql + * @param array $values + * @param string|null $sequence + * @return int + */ + public function processInsertGetId(Builder $query, $sql, $values, $sequence = null) + { + $query->getConnection()->insert($sql, $values, $sequence); + + $id = $query->getConnection()->getLastInsertId(); + + return is_numeric($id) ? (int) $id : $id; + } + /** * Process the results of a columns query. * diff --git a/tests/Integration/Database/MySql/DatabaseMySqlConnectionTest.php b/tests/Integration/Database/MySql/DatabaseMySqlConnectionTest.php index 16b067eac3ca..4f5df6d24f74 100644 --- a/tests/Integration/Database/MySql/DatabaseMySqlConnectionTest.php +++ b/tests/Integration/Database/MySql/DatabaseMySqlConnectionTest.php @@ -2,6 +2,7 @@ namespace Illuminate\Tests\Integration\Database\MySql; +use Illuminate\Database\Events\QueryExecuted; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; @@ -151,4 +152,27 @@ public static function jsonContainsKeyDataProvider() 'null value' => [1, 'json_col->bar'], ]; } + + public function testLastInsertIdIsPreserved() + { + if (! Schema::hasTable('auto_id_table')) { + Schema::create('auto_id_table', function (Blueprint $table) { + $table->id(); + }); + } + + try { + static $callbackExecuted = false; + DB::listen(function (QueryExecuted $event) use (&$callbackExecuted) { + DB::getPdo()->query('SELECT 1'); + $callbackExecuted = true; + }); + + $id = DB::table('auto_id_table')->insertGetId([]); + $this->assertTrue($callbackExecuted, 'The query listener was not executed.'); + $this->assertEquals(1, $id); + } finally { + Schema::drop('auto_id_table'); + } + } } From 64c45e0c7629f9ac08ffd9a123b797e797f1b283 Mon Sep 17 00:00:00 2001 From: Andrew Broberg Date: Tue, 6 Aug 2024 23:50:51 +1000 Subject: [PATCH 324/707] Fix Http Client Pool requests that have no response (#52393) Fixes an issue when a HTTP Client Pool is used and a request throws a RequestException and there is no response body. Previously this would still return a Response class, with no response code or body. This now considers it a ConnectionException. --- src/Illuminate/Http/Client/PendingRequest.php | 2 +- tests/Http/HttpClientTest.php | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Http/Client/PendingRequest.php b/src/Illuminate/Http/Client/PendingRequest.php index 44aa02e0feec..f43bd3d4d671 100644 --- a/src/Illuminate/Http/Client/PendingRequest.php +++ b/src/Illuminate/Http/Client/PendingRequest.php @@ -1029,7 +1029,7 @@ protected function makePromise(string $method, string $url, array $options = [], }); }) ->otherwise(function (OutOfBoundsException|TransferException $e) { - if ($e instanceof ConnectException) { + if ($e instanceof ConnectException || ($e instanceof RequestException && ! $e->hasResponse())) { $exception = new ConnectionException($e->getMessage(), 0, $e); $this->dispatchConnectionFailedEvent(new Request($e->getRequest()), $exception); diff --git a/tests/Http/HttpClientTest.php b/tests/Http/HttpClientTest.php index 659c9052e2ae..1833fbd4bbe0 100644 --- a/tests/Http/HttpClientTest.php +++ b/tests/Http/HttpClientTest.php @@ -5,11 +5,13 @@ use Exception; use GuzzleHttp\Middleware; use GuzzleHttp\Promise\PromiseInterface; +use GuzzleHttp\Promise\RejectedPromise; use GuzzleHttp\Psr7\Response as Psr7Response; use GuzzleHttp\Psr7\Utils; use GuzzleHttp\TransferStats; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Support\Arrayable; +use Illuminate\Http\Client\ConnectionException; use Illuminate\Http\Client\Events\RequestSending; use Illuminate\Http\Client\Events\ResponseReceived; use Illuminate\Http\Client\Factory; @@ -2118,6 +2120,23 @@ public function testRequestCanBeModifiedInRetryCallbackInPool() }); } + public function testHandleRequestExeptionWithNoResponseInPoolConsideredConnectionException() + { + $requestException = new \GuzzleHttp\Exception\RequestException('Error', new \GuzzleHttp\Psr7\Request('GET', '/')); + $this->factory->fake([ + 'noresponse.com' => new RejectedPromise($requestException), + ]); + + $responses = $this->factory->pool(function (Pool $pool) { + return [ + $pool->get('noresponse.com'), + ]; + }); + + self::assertInstanceOf(ConnectionException::class, $responses[0]); + self::assertSame($requestException, $responses[0]->getPrevious()); + } + public function testExceptionThrownInRetryCallbackIsReturnedWithoutRetryingInPool() { $this->factory->fake([ From 5e5cbc79bb8e48f6ed6e6a89ec6b9dda4ec33514 Mon Sep 17 00:00:00 2001 From: Ihor Vereshchynskyi Date: Tue, 6 Aug 2024 16:55:32 +0300 Subject: [PATCH 325/707] [11.x] Introduce MixFileNotFoundException for handling missing Mix files (#52400) * Add MixFileNotFoundException for better error handling * Update MixFileNotFoundException.php * Update MixFileNotFoundException.php --------- Co-authored-by: Ihor Vereshchynskyi Co-authored-by: Taylor Otwell --- src/Illuminate/Foundation/Mix.php | 5 ++--- src/Illuminate/Foundation/MixFileNotFoundException.php | 10 ++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 src/Illuminate/Foundation/MixFileNotFoundException.php diff --git a/src/Illuminate/Foundation/Mix.php b/src/Illuminate/Foundation/Mix.php index f06deb956e83..c465247a65b1 100644 --- a/src/Illuminate/Foundation/Mix.php +++ b/src/Illuminate/Foundation/Mix.php @@ -2,7 +2,6 @@ namespace Illuminate\Foundation; -use Exception; use Illuminate\Support\HtmlString; use Illuminate\Support\Str; @@ -15,7 +14,7 @@ class Mix * @param string $manifestDirectory * @return \Illuminate\Support\HtmlString|string * - * @throws \Illuminate\Foundation\MixManifestNotFoundException + * @throws \Illuminate\Foundation\MixManifestNotFoundException|\Illuminate\Foundation\MixFileNotFoundException */ public function __invoke($path, $manifestDirectory = '') { @@ -58,7 +57,7 @@ public function __invoke($path, $manifestDirectory = '') $manifest = $manifests[$manifestPath]; if (! isset($manifest[$path])) { - $exception = new Exception("Unable to locate Mix file: {$path}."); + $exception = new MixFileNotFoundException("Unable to locate Mix file: {$path}."); if (! app('config')->get('app.debug')) { report($exception); diff --git a/src/Illuminate/Foundation/MixFileNotFoundException.php b/src/Illuminate/Foundation/MixFileNotFoundException.php new file mode 100644 index 000000000000..4e0ea741b728 --- /dev/null +++ b/src/Illuminate/Foundation/MixFileNotFoundException.php @@ -0,0 +1,10 @@ + Date: Tue, 6 Aug 2024 09:00:46 -0500 Subject: [PATCH 326/707] formatting --- src/Illuminate/Database/MySqlConnection.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Illuminate/Database/MySqlConnection.php b/src/Illuminate/Database/MySqlConnection.php index 502c6b62782c..3a2df883c0b4 100755 --- a/src/Illuminate/Database/MySqlConnection.php +++ b/src/Illuminate/Database/MySqlConnection.php @@ -50,11 +50,6 @@ public function insert($query, $bindings = [], $sequence = null) }); } - public function getLastInsertId() - { - return $this->lastInsertId; - } - /** * Escape a binary value for safe SQL embedding. * @@ -79,6 +74,16 @@ protected function isUniqueConstraintError(Exception $exception) return boolval(preg_match('#Integrity constraint violation: 1062#i', $exception->getMessage())); } + /** + * Get the connection's last insert ID. + * + * @return string|int|null + */ + public function getLastInsertId() + { + return $this->lastInsertId; + } + /** * Determine if the connected database is a MariaDB database. * From d2546d52254abe0f894e0a1658ac779bc6364e99 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 6 Aug 2024 14:01:22 +0000 Subject: [PATCH 327/707] Apply fixes from StyleCI --- src/Illuminate/Database/MySqlConnection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/MySqlConnection.php b/src/Illuminate/Database/MySqlConnection.php index 3a2df883c0b4..9db946ab11e0 100755 --- a/src/Illuminate/Database/MySqlConnection.php +++ b/src/Illuminate/Database/MySqlConnection.php @@ -15,7 +15,7 @@ class MySqlConnection extends Connection { /** - * The last inserted ID generated by the server + * The last inserted ID generated by the server. * * @var string|int|null */ From d816681a99a8fe2ea42fdf793b401dd3b34775a7 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 6 Aug 2024 14:06:43 +0000 Subject: [PATCH 328/707] Update version to v10.48.19 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index a75f1c12d4d6..c2e22a0a7743 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -40,7 +40,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '10.48.18'; + const VERSION = '10.48.19'; /** * The base path for the Laravel installation. From 763b942466f310cb83b711bf9cd243c5b161cd07 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 6 Aug 2024 14:08:33 +0000 Subject: [PATCH 329/707] Update CHANGELOG --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf5f1042bd2a..69942080c4ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Release Notes for 10.x -## [Unreleased](https://github.com/laravel/framework/compare/v10.48.18...10.x) +## [Unreleased](https://github.com/laravel/framework/compare/v10.48.19...10.x) + +## [v10.48.19](https://github.com/laravel/framework/compare/v10.48.18...v10.48.19) - 2024-08-06 + +* Add compatible query type to `Model::resolveRouteBindingQuery` by [@sebj54](https://github.com/sebj54) in https://github.com/laravel/framework/pull/52339 +* [10.x] Fix `Factory::afterCreating` callable argument type by [@villfa](https://github.com/villfa) in https://github.com/laravel/framework/pull/52335 +* [10.x] backport #52204 by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52389 +* [10.x] In MySQL, harvest last insert ID immediately after query is executed by [@piurafunk](https://github.com/piurafunk) in https://github.com/laravel/framework/pull/52390 ## [v10.48.18](https://github.com/laravel/framework/compare/v10.48.17...v10.48.18) - 2024-07-30 From 3be925ccd3d3b6ab2fe2a059b38829fda5ce9dd5 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 6 Aug 2024 16:20:50 +0200 Subject: [PATCH 330/707] wip --- src/Illuminate/Support/ValidatedInput.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 1a04772c5a4d..08b4d96068cf 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -562,17 +562,6 @@ public function getIterator(): Traversable return new ArrayIterator($this->input); } - /** - * Determine if the validated inputs contains a given input item key. - * - * @param string|array $key - * @return bool - */ - public function exists($key) - { - return $this->has($key); - } - /** * Determine if the validated inputs contains any of the given inputs. * From a6e916ea9f5ff8ea56178061f61f6b058f3d084b Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 6 Aug 2024 16:31:19 +0200 Subject: [PATCH 331/707] wip --- src/Illuminate/Support/ValidatedInput.php | 649 ++++++---------------- 1 file changed, 172 insertions(+), 477 deletions(-) diff --git a/src/Illuminate/Support/ValidatedInput.php b/src/Illuminate/Support/ValidatedInput.php index 08b4d96068cf..05d962681287 100644 --- a/src/Illuminate/Support/ValidatedInput.php +++ b/src/Illuminate/Support/ValidatedInput.php @@ -74,118 +74,6 @@ public function hasAny($keys) return Arr::hasAny($input, $keys); } - /** - * Apply the callback if the validated input contains the given input item key. - * - * @param string $key - * @param callable $callback - * @param callable|null $default - * @return $this|mixed - */ - public function whenHas($key, callable $callback, callable $default = null) - { - if ($this->has($key)) { - return $callback(data_get($this->all(), $key)) ?: $this; - } - - if ($default) { - return $default(); - } - - return $this; - } - - /** - * Determine if the validated input contains a non-empty value for an input item. - * - * @param string|array $key - * @return bool - */ - public function filled($key) - { - $keys = is_array($key) ? $key : func_get_args(); - - foreach ($keys as $value) { - if ($this->isEmptyString($value)) { - return false; - } - } - - return true; - } - - /** - * Determine if the validated input contains an empty value for an input item. - * - * @param string|array $key - * @return bool - */ - public function isNotFilled($key) - { - $keys = is_array($key) ? $key : func_get_args(); - - foreach ($keys as $value) { - if (! $this->isEmptyString($value)) { - return false; - } - } - - return true; - } - - /** - * Determine if the validated input contains a non-empty value for any of the given input items. - * - * @param string|array $keys - * @return bool - */ - public function anyFilled($keys) - { - $keys = is_array($keys) ? $keys : func_get_args(); - - foreach ($keys as $key) { - if ($this->filled($key)) { - return true; - } - } - - return false; - } - - /** - * Apply the callback if the validated input contains a non-empty value for the given input item key. - * - * @param string $key - * @param callable $callback - * @param callable|null $default - * @return $this|mixed - */ - public function whenFilled($key, callable $callback, callable $default = null) - { - if ($this->filled($key)) { - return $callback(data_get($this->all(), $key)) ?: $this; - } - - if ($default) { - return $default(); - } - - return $this; - } - - /** - * Determine if the given input item is an empty string. - * - * @param string $key - * @return bool - */ - protected function isEmptyString($key) - { - $value = $this->input($key); - - return ! is_bool($value) && ! is_array($value) && trim((string) $value) === ''; - } - /** * Determine if the validated input is missing one or more keys. * @@ -213,368 +101,107 @@ public function whenMissing($key, callable $callback, callable $default = null) if ($default) { return $default(); - } - - return $this; - } - - /** - * Get the keys for all of the input. - * - * @return array - */ - public function keys() - { - return array_keys($this->input()); - } - - /** - * Retrieve an input item from the validated input. - * - * @param string|null $key - * @param mixed $default - * @return mixed - */ - public function input($key = null, $default = null) - { - return data_get( - $this->all(), $key, $default - ); - } - - /** - * Retrieve input from the validated input as a Stringable instance. - * - * @param string $key - * @param mixed $default - * @return \Illuminate\Support\Stringable - */ - public function str($key, $default = null) - { - return $this->string($key, $default); - } - - /** - * Retrieve input from the validated input as a Stringable instance. - * - * @param string $key - * @param mixed $default - * @return \Illuminate\Support\Stringable - */ - public function string($key, $default = null) - { - return str($this->input($key, $default)); - } - - /** - * Retrieve input as a boolean value. - * - * Returns true when value is "1", "true", "on", and "yes". Otherwise, returns false. - * - * @param string|null $key - * @param bool $default - * @return bool - */ - public function boolean($key = null, $default = false) - { - return filter_var($this->input($key, $default), FILTER_VALIDATE_BOOLEAN); - } - - /** - * Retrieve input as an integer value. - * - * @param string $key - * @param int $default - * @return int - */ - public function integer($key, $default = 0) - { - return intval($this->input($key, $default)); - } - - /** - * Retrieve input as a float value. - * - * @param string $key - * @param float $default - * @return float - */ - public function float($key, $default = 0.0) - { - return floatval($this->input($key, $default)); - } - - /** - * Retrieve input from the validated input as a Carbon instance. - * - * @param string $key - * @param string|null $format - * @param string|null $tz - * @return \Illuminate\Support\Carbon|null - * - * @throws \Carbon\Exceptions\InvalidFormatException - */ - public function date($key, $format = null, $tz = null) - { - if ($this->isNotFilled($key)) { - return null; - } - - if (is_null($format)) { - return Date::parse($this->input($key), $tz); - } - - return Date::createFromFormat($format, $this->input($key), $tz); - } - - /** - * Retrieve input from the validated input as an enum. - * - * @template TEnum - * - * @param string $key - * @param class-string $enumClass - * @return TEnum|null - */ - public function enum($key, $enumClass) - { - if ($this->isNotFilled($key) || - ! enum_exists($enumClass) || - ! method_exists($enumClass, 'tryFrom')) { - return null; - } - - return $enumClass::tryFrom($this->input($key)); - } - - /** - * Get a subset containing the provided keys with values from the input data. - * - * @param mixed $keys - * @return array - */ - public function only($keys) - { - $results = []; - - $input = $this->all(); - - $placeholder = new stdClass; - - foreach (is_array($keys) ? $keys : func_get_args() as $key) { - $value = data_get($input, $key, $placeholder); - - if ($value !== $placeholder) { - Arr::set($results, $key, $value); - } - } - - return $results; - } - - /** - * Get all of the input except for a specified array of items. - * - * @param mixed $keys - * @return array - */ - public function except($keys) - { - $keys = is_array($keys) ? $keys : func_get_args(); - - $results = $this->all(); - - Arr::forget($results, $keys); - - return $results; - } - - /** - * Merge the validated input with the given array of additional data. - * - * @param array $items - * @return static - */ - public function merge(array $items) - { - return new static(array_merge($this->all(), $items)); - } - - /** - * Get the input as a collection. - * - * @param array|string|null $key - * @return \Illuminate\Support\Collection - */ - public function collect($key = null) - { - return collect(is_array($key) ? $this->only($key) : $this->input($key)); - } - - /** - * Get the raw, underlying input array. - * - * @return array - */ - public function all() - { - return $this->input; - } - - /** - * Dump the validated input items and end the script. - * - * @param mixed ...$keys - * @return never - */ - public function dd(...$keys) - { - $this->dump(...$keys); - - exit(1); - } - - /** - * Dump the items. - * - * @param mixed $keys - * @return $this - */ - public function dump($keys = []) - { - $keys = is_array($keys) ? $keys : func_get_args(); - - VarDumper::dump(count($keys) > 0 ? $this->only($keys) : $this->all()); - - return $this; - } - - /** - * Get the instance as an array. - * - * @return array - */ - public function toArray() - { - return $this->all(); - } - - /** - * Dynamically access input data. - * - * @param string $name - * @return mixed - */ - public function __get($name) - { - return $this->input($name); - } - - /** - * Dynamically set input data. - * - * @param string $name - * @param mixed $value - * @return mixed - */ - public function __set($name, $value) - { - $this->input[$name] = $value; - } - - /** - * Determine if an input item is set. - * - * @return bool - */ - public function __isset($name) - { - return $this->exists($name); + } + + return $this; } /** - * Remove an input item. + * Retrieve input from the validated input as a Stringable instance. * - * @param string $name - * @return void + * @param string $key + * @param mixed $default + * @return \Illuminate\Support\Stringable */ - public function __unset($name) + public function str($key, $default = null) { - unset($this->input[$name]); + return $this->string($key, $default); } /** - * Determine if an item exists at an offset. + * Retrieve input from the validated input as a Stringable instance. * - * @param mixed $key - * @return bool + * @param string $key + * @param mixed $default + * @return \Illuminate\Support\Stringable */ - public function offsetExists($key): bool + public function string($key, $default = null) { - return $this->exists($key); + return str($this->input($key, $default)); } /** - * Get an item at a given offset. + * Get a subset containing the provided keys with values from the input data. * - * @param mixed $key - * @return mixed + * @param mixed $keys + * @return array */ - public function offsetGet($key): mixed + public function only($keys) { - return $this->input($key); + $results = []; + + $input = $this->all(); + + $placeholder = new stdClass; + + foreach (is_array($keys) ? $keys : func_get_args() as $key) { + $value = data_get($input, $key, $placeholder); + + if ($value !== $placeholder) { + Arr::set($results, $key, $value); + } + } + + return $results; } /** - * Set the item at a given offset. + * Get all of the input except for a specified array of items. * - * @param mixed $key - * @param mixed $value - * @return void + * @param mixed $keys + * @return array */ - public function offsetSet($key, $value): void + public function except($keys) { - if (is_null($key)) { - $this->input[] = $value; - } else { - $this->input[$key] = $value; - } + $keys = is_array($keys) ? $keys : func_get_args(); + + $results = $this->all(); + + Arr::forget($results, $keys); + + return $results; } /** - * Unset the item at a given offset. + * Merge the validated input with the given array of additional data. * - * @param string $key - * @return void + * @param array $items + * @return static */ - public function offsetUnset($key): void + public function merge(array $items) { - unset($this->input[$key]); + return new static(array_merge($this->all(), $items)); } /** - * Get an iterator for the input. + * Get the input as a collection. * - * @return \ArrayIterator + * @param array|string|null $key + * @return \Illuminate\Support\Collection */ - public function getIterator(): Traversable + public function collect($key = null) { - return new ArrayIterator($this->input); + return collect(is_array($key) ? $this->only($key) : $this->input($key)); } /** - * Determine if the validated inputs contains any of the given inputs. + * Get the raw, underlying input array. * - * @param string|array $keys - * @return bool + * @return array */ - public function hasAny($keys) + public function all() { - $keys = is_array($keys) ? $keys : func_get_args(); - - $input = $this->all(); - - return Arr::hasAny($input, $keys); + return $this->input; } /** @@ -676,27 +303,6 @@ public function whenFilled($key, callable $callback, callable $default = null) return $this; } - /** - * Apply the callback if the validated inputs is missing the given input item key. - * - * @param string $key - * @param callable $callback - * @param callable|null $default - * @return $this|mixed - */ - public function whenMissing($key, callable $callback, callable $default = null) - { - if ($this->missing($key)) { - return $callback(data_get($this->all(), $key)) ?: $this; - } - - if ($default) { - return $default(); - } - - return $this; - } - /** * Determine if the given input key is an empty string for "filled". * @@ -734,30 +340,6 @@ public function input($key = null, $default = null) ); } - /** - * Retrieve input from the validated inputs as a Stringable instance. - * - * @param string $key - * @param mixed $default - * @return \Illuminate\Support\Stringable - */ - public function str($key, $default = null) - { - return $this->string($key, $default); - } - - /** - * Retrieve input from the validated inputs as a Stringable instance. - * - * @param string $key - * @param mixed $default - * @return \Illuminate\Support\Stringable - */ - public function string($key, $default = null) - { - return str($this->input($key, $default)); - } - /** * Retrieve input as a boolean value. * @@ -866,4 +448,117 @@ public function dump($keys = []) return $this; } + + /** + * Get the instance as an array. + * + * @return array + */ + public function toArray() + { + return $this->all(); + } + + /** + * Dynamically access input data. + * + * @param string $name + * @return mixed + */ + public function __get($name) + { + return $this->input($name); + } + + /** + * Dynamically set input data. + * + * @param string $name + * @param mixed $value + * @return mixed + */ + public function __set($name, $value) + { + $this->input[$name] = $value; + } + + /** + * Determine if an input item is set. + * + * @return bool + */ + public function __isset($name) + { + return $this->exists($name); + } + + /** + * Remove an input item. + * + * @param string $name + * @return void + */ + public function __unset($name) + { + unset($this->input[$name]); + } + + /** + * Determine if an item exists at an offset. + * + * @param mixed $key + * @return bool + */ + public function offsetExists($key): bool + { + return $this->exists($key); + } + + /** + * Get an item at a given offset. + * + * @param mixed $key + * @return mixed + */ + public function offsetGet($key): mixed + { + return $this->input($key); + } + + /** + * Set the item at a given offset. + * + * @param mixed $key + * @param mixed $value + * @return void + */ + public function offsetSet($key, $value): void + { + if (is_null($key)) { + $this->input[] = $value; + } else { + $this->input[$key] = $value; + } + } + + /** + * Unset the item at a given offset. + * + * @param string $key + * @return void + */ + public function offsetUnset($key): void + { + unset($this->input[$key]); + } + + /** + * Get an iterator for the input. + * + * @return \ArrayIterator + */ + public function getIterator(): Traversable + { + return new ArrayIterator($this->input); + } } From 0a31202d8c66973a4ea5d4d1954e0ad2758fc4d9 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 6 Aug 2024 16:34:57 +0200 Subject: [PATCH 332/707] wip --- src/Illuminate/Database/Eloquent/Factories/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Factories/Factory.php b/src/Illuminate/Database/Eloquent/Factories/Factory.php index b6439ba51cab..fd9648aa1f4b 100644 --- a/src/Illuminate/Database/Eloquent/Factories/Factory.php +++ b/src/Illuminate/Database/Eloquent/Factories/Factory.php @@ -678,7 +678,7 @@ public function afterMaking(Closure $callback) /** * Add a new "after creating" callback to the model definition. * - * @param \Closure(\Illuminate\Database\Eloquent\Model|TModel, \Illuminate\Database\Eloquent\Model|null): mixed $callback + * @param \Closure(TModel): mixed $callback * @return static */ public function afterCreating(Closure $callback) From 3cd7593dd9b67002fc416b46616f4d4d1da3e571 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 6 Aug 2024 14:39:21 +0000 Subject: [PATCH 333/707] Update version to v11.20.0 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index dffca6a63fc2..b0f3e38ae425 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -45,7 +45,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '11.19.0'; + const VERSION = '11.20.0'; /** * The base path for the Laravel installation. From 6c07bcaa0784c8bf751e9f78cf805cbf2a6cdbc3 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 6 Aug 2024 14:41:05 +0000 Subject: [PATCH 334/707] Update CHANGELOG --- CHANGELOG.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac261887f9e1..549408b74fcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,39 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.19.0...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.20.0...11.x) + +## [v11.20.0](https://github.com/laravel/framework/compare/v11.19.0...v11.20.0) - 2024-08-06 + +* Update testcase for `whereNone` method by [@einar-hansen](https://github.com/einar-hansen) in https://github.com/laravel/framework/pull/52351 +* Improve `Lock->block` method by [@RedmarBakker](https://github.com/RedmarBakker) in https://github.com/laravel/framework/pull/52349 +* [11.x] Use correct pluralization rules in trans_choice for fallback strings by [@stefanvdlugt](https://github.com/stefanvdlugt) in https://github.com/laravel/framework/pull/52343 +* [11.x] Replace dead link in Security Policy by [@Jubeki](https://github.com/Jubeki) in https://github.com/laravel/framework/pull/52338 +* Add compatible query type to `Model::resolveRouteBindingQuery` by [@sebj54](https://github.com/sebj54) in https://github.com/laravel/framework/pull/52339 +* [10.x] Fix `Factory::afterCreating` callable argument type by [@villfa](https://github.com/villfa) in https://github.com/laravel/framework/pull/52335 +* [11.x] Remove undefined class PreventRequestsDuringMaintenance by [@seriquynh](https://github.com/seriquynh) in https://github.com/laravel/framework/pull/52322 +* [11.x] Add middleware before sending request and dispatching events by [@eduance](https://github.com/eduance) in https://github.com/laravel/framework/pull/52323 +* Add `collapseWithKeys` to `Collection` by [@jasonmccreary](https://github.com/jasonmccreary) in https://github.com/laravel/framework/pull/52347 +* [11.x] Inverse Fake Queue Interactions: `assertNotDeleted`, `assertNotFailed`, and `assertNotReleased` by [@gdebrauwer](https://github.com/gdebrauwer) in https://github.com/laravel/framework/pull/52320 +* Add `deduplicate` to strings by [@jasonmccreary](https://github.com/jasonmccreary) in https://github.com/laravel/framework/pull/52350 +* [11.x] feat: make `Facade::isFake()` public by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52357 +* [11.x] Ask about markdown template for notification command with no initial input by [@christophrumpel](https://github.com/christophrumpel) in https://github.com/laravel/framework/pull/52355 +* [11.x] allow custom view path when making components by [@browner12](https://github.com/browner12) in https://github.com/laravel/framework/pull/52219 +* [11.x] chore: update to PHPStan Level 1 by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/51956 +* [11.x] Support passing default as named parameter in whenLoaded, whenAggregated, whenCounted by [@hn-seoai](https://github.com/hn-seoai) in https://github.com/laravel/framework/pull/51342 +* Declare exceptions unreportable using the ShouldntReport interface by [@chrispage1](https://github.com/chrispage1) in https://github.com/laravel/framework/pull/52337 +* [11.x] Enable extension of connection inspection methods by [@GromNaN](https://github.com/GromNaN) in https://github.com/laravel/framework/pull/52231 +* [11.x] Add `whenExistsLoaded` method to conditionally include relationship existence attribute by [@CodeWithKyrian](https://github.com/CodeWithKyrian) in https://github.com/laravel/framework/pull/52295 +* [11.x] Add `in()` and `inHidden()` functions to Context Stacks by [@lessevv](https://github.com/lessevv) in https://github.com/laravel/framework/pull/52346 +* [11.x] Use Command::fail() method for single error messages by [@seriquynh](https://github.com/seriquynh) in https://github.com/laravel/framework/pull/52387 +* [11.x] Rework `Context::stackContains` with Closures. by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/framework/pull/52381 +* [11.x] Allow enums to be passed to AssertableJson where methods by [@patrickomeara](https://github.com/patrickomeara) in https://github.com/laravel/framework/pull/52360 +* [11.x] Made `list` validation rule as array for "size rules" in validation messages by [@siarheipashkevich](https://github.com/siarheipashkevich) in https://github.com/laravel/framework/pull/52385 +* [11.x] Add contextual attributes to resolve drivers by [@ziadoz](https://github.com/ziadoz) in https://github.com/laravel/framework/pull/52265 +* [11.x] Fix docblocks for where(All|Any|None) query methods by [@einar-hansen](https://github.com/einar-hansen) in https://github.com/laravel/framework/pull/52388 +* [10.x] backport #52204 by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52389 +* [11.x] Fix Http Client Pool requests that have no response by [@andrewbroberg](https://github.com/andrewbroberg) in https://github.com/laravel/framework/pull/52393 +* [11.x] Introduce MixFileNotFoundException for handling missing Mix files by [@Ex10Dios](https://github.com/Ex10Dios) in https://github.com/laravel/framework/pull/52400 +* [10.x] In MySQL, harvest last insert ID immediately after query is executed by [@piurafunk](https://github.com/piurafunk) in https://github.com/laravel/framework/pull/52390 ## [v11.19.0](https://github.com/laravel/framework/compare/v11.18.1...v11.19.0) - 2024-07-30 From 5ae7da127b8fbcf985a1427dedcb11b3e46071bb Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 7 Aug 2024 22:19:08 +0800 Subject: [PATCH 335/707] [11.x] Test Improvements (#52402) Signed-off-by: Mior Muhammad Zaki --- tests/Integration/Generators/MailMakeCommandTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Integration/Generators/MailMakeCommandTest.php b/tests/Integration/Generators/MailMakeCommandTest.php index 609e9b96738d..53091340aa8d 100644 --- a/tests/Integration/Generators/MailMakeCommandTest.php +++ b/tests/Integration/Generators/MailMakeCommandTest.php @@ -5,9 +5,10 @@ class MailMakeCommandTest extends TestCase { protected $files = [ - 'app/Mail/FooMail.php', + 'app/Mail/*.php', 'resources/views/foo-mail.blade.php', - 'tests/Feature/Mail/FooMailTest.php', + 'resources/views/mail/*.blade.php', + 'tests/Feature/Mail/*.php', ]; public function testItCanGenerateMailFile() @@ -97,12 +98,11 @@ public function testItCanGenerateMailWithViewWithNoInitialInput() public function testItCanGenerateMailWithMarkdownViewWithNoInitialInput() { $this->artisan('make:mail') - ->expectsQuestion('What should the mailable be named?', 'FooMail') ->expectsQuestion('Would you like to create a view?', 'markdown') ->assertExitCode(0); - $this->assertFilenameExists('app/Mail/MyFooMail.php'); - $this->assertFilenameExists('resources/views/mail/my-foo-mail.blade.php'); + $this->assertFilenameExists('app/Mail/FooMail.php'); + $this->assertFilenameExists('resources/views/mail/foo-mail.blade.php'); } } From b5e1a9ff30921e4fa876ba05ab61ec76ed6a8797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=B3nh=20Nguy=E1=BB=85n?= Date: Wed, 7 Aug 2024 21:43:54 +0700 Subject: [PATCH 336/707] Fix docblock for the event dispatcher (#52411) --- src/Illuminate/Events/Dispatcher.php | 4 ++-- src/Illuminate/Support/Facades/Event.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Events/Dispatcher.php b/src/Illuminate/Events/Dispatcher.php index c418fc4d06b8..30860a39d1bc 100755 --- a/src/Illuminate/Events/Dispatcher.php +++ b/src/Illuminate/Events/Dispatcher.php @@ -80,8 +80,8 @@ public function __construct(?ContainerContract $container = null) /** * Register an event listener with the dispatcher. * - * @param \Closure|string|array $events - * @param \Closure|string|array|null $listener + * @param \Illuminate\Events\QueuedClosure|\Closure|string|array $events + * @param \Illuminate\Events\QueuedClosure|\Closure|string|array|null $listener * @return void */ public function listen($events, $listener = null) diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index 14efbae42748..76031ce9d6fd 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -6,7 +6,7 @@ use Illuminate\Support\Testing\Fakes\EventFake; /** - * @method static void listen(\Closure|string|array $events, \Closure|string|array|null $listener = null) + * @method static void listen(\Illuminate\Events\QueuedClosure|\Closure|string|array $events, \Illuminate\Events\QueuedClosure|\Closure|string|array|null $listener = null) * @method static bool hasListeners(string $eventName) * @method static bool hasWildcardListeners(string $eventName) * @method static void push(string $event, object|array $payload = []) From ef9cf47124ad049c21607ee4484077b87630efea Mon Sep 17 00:00:00 2001 From: tranvanhieu01012002 <88688442+tranvanhieu01012002@users.noreply.github.com> Date: Thu, 8 Aug 2024 04:02:26 +0700 Subject: [PATCH 337/707] update text email template (#52417) --- src/Illuminate/Notifications/resources/views/email.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Notifications/resources/views/email.blade.php b/src/Illuminate/Notifications/resources/views/email.blade.php index 678e25913d9e..79c24083ca93 100644 --- a/src/Illuminate/Notifications/resources/views/email.blade.php +++ b/src/Illuminate/Notifications/resources/views/email.blade.php @@ -39,7 +39,7 @@ @if (! empty($salutation)) {{ $salutation }} @else -@lang('Regards'),
    +@lang('Regards,')
    {{ config('app.name') }} @endif From 5a9d85bd8f7e6f132335236f5ea701dc2fbf6473 Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Thu, 8 Aug 2024 07:02:56 +1000 Subject: [PATCH 338/707] [11.x] Make `expectsChoice` assertion more intuitive with associative arrays. (#52408) * Add failing test for `expectsChoice` with associative array * Fix `expectsChoice` with associative array * Add failing test for `expectsChoice` with `suggest` prompt * Fix `expectsChoice` with `suggest` prompt * Add failing test for existing `expectsChoice` behaviour * Fix existing behaviour of `expectsChoice` command --- src/Illuminate/Testing/PendingCommand.php | 5 +- .../Console/PromptsAssertionTest.php | 75 ++++++++++++++++++- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Testing/PendingCommand.php b/src/Illuminate/Testing/PendingCommand.php index 723895b7ef85..1d71cf578674 100644 --- a/src/Illuminate/Testing/PendingCommand.php +++ b/src/Illuminate/Testing/PendingCommand.php @@ -17,6 +17,7 @@ use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\BufferedOutput; +use Symfony\Component\Console\Question\ChoiceQuestion; class PendingCommand { @@ -397,7 +398,9 @@ protected function mockConsoleOutput() ->ordered() ->with(Mockery::on(function ($argument) use ($question) { if (isset($this->test->expectedChoices[$question[0]])) { - $this->test->expectedChoices[$question[0]]['actual'] = $argument->getAutocompleterValues(); + $this->test->expectedChoices[$question[0]]['actual'] = $argument instanceof ChoiceQuestion && ! array_is_list($this->test->expectedChoices[$question[0]]['expected']) + ? $argument->getChoices() + : $argument->getAutocompleterValues(); } return $argument->getQuestion() == $question[0]; diff --git a/tests/Integration/Console/PromptsAssertionTest.php b/tests/Integration/Console/PromptsAssertionTest.php index 2bec3a2340e7..6822be83fc0d 100644 --- a/tests/Integration/Console/PromptsAssertionTest.php +++ b/tests/Integration/Console/PromptsAssertionTest.php @@ -10,6 +10,7 @@ use function Laravel\Prompts\multiselect; use function Laravel\Prompts\password; use function Laravel\Prompts\select; +use function Laravel\Prompts\suggest; use function Laravel\Prompts\text; use function Laravel\Prompts\textarea; @@ -59,6 +60,28 @@ public function handle() ->expectsOutput('Jane'); } + public function testAssertionForSuggestPrompt() + { + $this->app[Kernel::class]->registerCommand( + new class extends Command + { + protected $signature = 'test:suggest'; + + public function handle() + { + $name = suggest('What is your name?', ['John', 'Jane']); + + $this->line($name); + } + } + ); + + $this + ->artisan('test:suggest') + ->expectsChoice('What is your name?', 'Joe', ['John', 'Jane']) + ->expectsOutput('Joe'); + } + public function testAssertionForPasswordPrompt() { $this->app[Kernel::class]->registerCommand( @@ -112,7 +135,7 @@ public function handle() ->expectsOutput('Your name is John.'); } - public function testAssertionForSelectPrompt() + public function testAssertionForSelectPromptWithAList() { $this->app[Kernel::class]->registerCommand( new class extends Command @@ -137,6 +160,56 @@ public function handle() ->expectsOutput('Your name is Jane.'); } + public function testAssertionForSelectPromptWithAnAssociativeArray() + { + $this->app[Kernel::class]->registerCommand( + new class extends Command + { + protected $signature = 'test:select'; + + public function handle() + { + $name = select( + label: 'What is your name?', + options: ['john' => 'John', 'jane' => 'Jane'] + ); + + $this->line("Your name is $name."); + } + } + ); + + $this + ->artisan('test:select') + ->expectsChoice('What is your name?', 'jane', ['john' => 'John', 'jane' => 'Jane']) + ->expectsOutput('Your name is jane.'); + } + + public function testAlternativeAssertionForSelectPromptWithAnAssociativeArray() + { + $this->app[Kernel::class]->registerCommand( + new class extends Command + { + protected $signature = 'test:select'; + + public function handle() + { + $name = select( + label: 'What is your name?', + options: ['john' => 'John', 'jane' => 'Jane'] + ); + + $this->line("Your name is $name."); + } + } + ); + + $this + ->artisan('test:select') + ->expectsChoice('What is your name?', 'jane', ['john', 'jane', 'John', 'Jane']) + ->expectsOutput('Your name is jane.'); + } + public function testAssertionForRequiredMultiselectPrompt() { $this->app[Kernel::class]->registerCommand( From 56200cbbe1140e288b311ddc19acd3975432a294 Mon Sep 17 00:00:00 2001 From: Einar Hansen <49709354+einar-hansen@users.noreply.github.com> Date: Wed, 7 Aug 2024 23:04:39 +0200 Subject: [PATCH 339/707] [11.x] Add `resource()` method to Illuminate\Http\Client\Response (#52412) * Add resource method to Illuminate\Http\Client\Response * Update Response.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Http/Client/Response.php | 13 +++++++++++++ tests/Http/HttpClientTest.php | 12 ++++++++++++ 2 files changed, 25 insertions(+) diff --git a/src/Illuminate/Http/Client/Response.php b/src/Illuminate/Http/Client/Response.php index 79f4d8a439fa..03effc8005db 100644 --- a/src/Illuminate/Http/Client/Response.php +++ b/src/Illuminate/Http/Client/Response.php @@ -3,6 +3,7 @@ namespace Illuminate\Http\Client; use ArrayAccess; +use GuzzleHttp\Psr7\StreamWrapper; use Illuminate\Support\Collection; use Illuminate\Support\Traits\Macroable; use LogicException; @@ -104,6 +105,18 @@ public function collect($key = null) return Collection::make($this->json($key)); } + /** + * Get the body of the response as a PHP resource. + * + * @return resource + * + * @throws \InvalidArgumentException + */ + public function resource() + { + return StreamWrapper::getResource($this->response->getBody()); + } + /** * Get a header from the response. * diff --git a/tests/Http/HttpClientTest.php b/tests/Http/HttpClientTest.php index 1833fbd4bbe0..cac007d72473 100644 --- a/tests/Http/HttpClientTest.php +++ b/tests/Http/HttpClientTest.php @@ -327,6 +327,18 @@ public function testResponseObjectAsObject() $this->assertSame('bar', $response->object()->result->foo); } + public function testResponseCanBeReturnedAsResource() + { + $this->factory->fake([ + '*' => ['result' => ['foo' => 'bar']], + ]); + + $response = $this->factory->get('http://foo.com/api'); + + $this->assertIsResource($response->resource()); + $this->assertSame('{"result":{"foo":"bar"}}', stream_get_contents($response->resource())); + } + public function testResponseCanBeReturnedAsCollection() { $this->factory->fake([ From 0138d780cb6ba829ab6e312b593a31d1d091736c Mon Sep 17 00:00:00 2001 From: Caleb White Date: Wed, 7 Aug 2024 16:07:46 -0500 Subject: [PATCH 340/707] fix: prevent casting empty string to array from triggering json error (#52415) --- .../Eloquent/Concerns/HasAttributes.php | 6 +++- .../DatabaseConcernsHasAttributesTest.php | 28 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php index 991f06434a5b..c2c478d1cb59 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php @@ -1271,7 +1271,11 @@ protected function asJson($value) */ public function fromJson($value, $asObject = false) { - return Json::decode($value ?? '', ! $asObject); + if ($value === null || $value === '') { + return null; + } + + return Json::decode($value, ! $asObject); } /** diff --git a/tests/Database/DatabaseConcernsHasAttributesTest.php b/tests/Database/DatabaseConcernsHasAttributesTest.php index 2e2159c4c102..f4e31d4122a4 100644 --- a/tests/Database/DatabaseConcernsHasAttributesTest.php +++ b/tests/Database/DatabaseConcernsHasAttributesTest.php @@ -21,6 +21,14 @@ public function testWithConstructorArguments() $attributes = $instance->getMutatedAttributes(); $this->assertEquals(['some_attribute'], $attributes); } + + public function testCastingEmptyStringToArrayDoesNotError() + { + $instance = new HasAttributesWithArrayCast(); + $this->assertEquals(['foo' => null], $instance->attributesToArray()); + + $this->assertTrue(json_last_error() === JSON_ERROR_NONE); + } } class HasAttributesWithoutConstructor @@ -40,3 +48,23 @@ public function __construct($someValue) { } } + +class HasAttributesWithArrayCast +{ + use HasAttributes; + + public function getArrayableAttributes(): array + { + return ['foo' => '']; + } + + public function getCasts(): array + { + return ['foo' => 'array']; + } + + public function usesTimestamps(): bool + { + return false; + } +} From fd0f38104b405401da1119c42dcfbb281804d699 Mon Sep 17 00:00:00 2001 From: Einar Hansen <49709354+einar-hansen@users.noreply.github.com> Date: Wed, 7 Aug 2024 23:08:03 +0200 Subject: [PATCH 341/707] Add mixing to Http/Client/Response class (#52410) --- src/Illuminate/Http/Client/Response.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Illuminate/Http/Client/Response.php b/src/Illuminate/Http/Client/Response.php index 03effc8005db..a146eb0a835d 100644 --- a/src/Illuminate/Http/Client/Response.php +++ b/src/Illuminate/Http/Client/Response.php @@ -9,6 +9,9 @@ use LogicException; use Stringable; +/** + * @mixin \Psr\Http\Message\ResponseInterface + */ class Response implements ArrayAccess, Stringable { use Concerns\DeterminesStatusCode, Macroable { From dd649c60cc106fb0703f0ef99d812b834fb11e78 Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Thu, 8 Aug 2024 07:17:55 +1000 Subject: [PATCH 342/707] [11.x] Don't touch BelongsTo relationship when it doesn't exist (#52407) * [11.x] Don't touch BelongsTo relationship when it doesn't exist Currently, MorphTo and BelongsToMany check for relation existence before sending the update query to the database. This adds that check to the BelongsTo relationship. `getParentKey()` can be used to find the child foreign key value * Update BelongsTo.php --------- Co-authored-by: Taylor Otwell --- .../Database/Eloquent/Relations/BelongsTo.php | 12 ++++++++++++ .../Database/Eloquent/Relations/MorphTo.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php b/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php index b893e7d1b49a..353103614466 100755 --- a/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php +++ b/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php @@ -219,6 +219,18 @@ public function disassociate() return $this->dissociate(); } + /** + * Touch all of the related models for the relationship. + * + * @return void + */ + public function touch() + { + if (! is_null($this->getParentKey())) { + parent::touch(); + } + } + /** @inheritDoc */ public function getRelationExistenceQuery(Builder $query, Builder $parentQuery, $columns = ['*']) { diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphTo.php b/src/Illuminate/Database/Eloquent/Relations/MorphTo.php index d9c60aa6affa..ecda194d0b8b 100644 --- a/src/Illuminate/Database/Eloquent/Relations/MorphTo.php +++ b/src/Illuminate/Database/Eloquent/Relations/MorphTo.php @@ -263,7 +263,7 @@ public function dissociate() */ public function touch() { - if (! is_null($this->child->{$this->foreignKey})) { + if (! is_null($this->getParentKey())) { parent::touch(); } } From 5317d4007e60c23991de000dc3d9f587f86ec5a8 Mon Sep 17 00:00:00 2001 From: Fabien Villepinte Date: Thu, 8 Aug 2024 10:12:25 +0200 Subject: [PATCH 343/707] [11.x] Fix Factory::afterCreating callable argument type (#52424) --- src/Illuminate/Database/Eloquent/Factories/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Eloquent/Factories/Factory.php b/src/Illuminate/Database/Eloquent/Factories/Factory.php index fd9648aa1f4b..64d641617478 100644 --- a/src/Illuminate/Database/Eloquent/Factories/Factory.php +++ b/src/Illuminate/Database/Eloquent/Factories/Factory.php @@ -678,7 +678,7 @@ public function afterMaking(Closure $callback) /** * Add a new "after creating" callback to the model definition. * - * @param \Closure(TModel): mixed $callback + * @param \Closure(TModel, \Illuminate\Database\Eloquent\Model|null): mixed $callback * @return static */ public function afterCreating(Closure $callback) From 6ae8c9a3742c64773c08aab11610075f0d63ff61 Mon Sep 17 00:00:00 2001 From: Fabrice Locher Date: Thu, 8 Aug 2024 15:30:23 +0200 Subject: [PATCH 344/707] [11.x] Auto-secure cookies (#52422) * [11.x] Auto-secure cookies * Add tests --- .../Session/Middleware/StartSession.php | 2 +- tests/Http/HttpResponseTest.php | 18 ++++++++++++++++++ .../Session/CookieSessionHandlerTest.php | 19 +++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Session/Middleware/StartSession.php b/src/Illuminate/Session/Middleware/StartSession.php index f4671adef07a..c6310984673f 100644 --- a/src/Illuminate/Session/Middleware/StartSession.php +++ b/src/Illuminate/Session/Middleware/StartSession.php @@ -224,7 +224,7 @@ protected function addCookieToResponse(Response $response, Session $session) $this->getCookieExpirationDate(), $config['path'], $config['domain'], - $config['secure'] ?? false, + $config['secure'], $config['http_only'] ?? true, false, $config['same_site'] ?? null, diff --git a/tests/Http/HttpResponseTest.php b/tests/Http/HttpResponseTest.php index b0d938139560..419b2796a486 100755 --- a/tests/Http/HttpResponseTest.php +++ b/tests/Http/HttpResponseTest.php @@ -90,6 +90,24 @@ public function testWithCookie() $this->assertSame('bar', $cookies[0]->getValue()); } + public function testResponseCookiesInheritRequestSecureState() + { + $cookie = Cookie::create('foo', 'bar'); + + $response = new Response('foo'); + $response->headers->setCookie($cookie); + + $request = Request::create('/', 'GET'); + $response->prepare($request); + + $this->assertFalse($cookie->isSecure()); + + $request = Request::create('https://localhost/', 'GET'); + $response->prepare($request); + + $this->assertTrue($cookie->isSecure()); + } + public function testGetOriginalContent() { $arr = ['foo' => 'bar']; diff --git a/tests/Integration/Session/CookieSessionHandlerTest.php b/tests/Integration/Session/CookieSessionHandlerTest.php index 896cf25cf5c5..a392ebaefb1f 100644 --- a/tests/Integration/Session/CookieSessionHandlerTest.php +++ b/tests/Integration/Session/CookieSessionHandlerTest.php @@ -20,6 +20,25 @@ public function testCookieSessionDriverCookiesCanExpireOnClose() $this->assertEquals(0, $sessionValueCookie->getExpiresTime()); } + public function testCookieSessionInheritsRequestSecureState() + { + Route::get('/', fn () => '')->middleware('web'); + + $unsecureResponse = $this->get('/'); + $unsecureSessionIdCookie = $unsecureResponse->getCookie('laravel_session'); + $unsecureSessionValueCookie = $unsecureResponse->getCookie($unsecureSessionIdCookie->getValue()); + + $this->assertFalse($unsecureSessionIdCookie->isSecure()); + $this->assertFalse($unsecureSessionValueCookie->isSecure()); + + $secureResponse = $this->get('https://localhost/'); + $secureSessionIdCookie = $secureResponse->getCookie('laravel_session'); + $secureSessionValueCookie = $secureResponse->getCookie($secureSessionIdCookie->getValue()); + + $this->assertTrue($secureSessionIdCookie->isSecure()); + $this->assertTrue($secureSessionValueCookie->isSecure()); + } + protected function defineEnvironment($app) { $app['config']->set('app.key', Str::random(32)); From e1a9c5dcabb8cd49838648ddc34c5e5272e1a52c Mon Sep 17 00:00:00 2001 From: Takayasu Oyama Date: Thu, 8 Aug 2024 22:30:41 +0900 Subject: [PATCH 345/707] fix: add missing phpdoc types for Eloquent properties (#52425) --- src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php | 2 +- src/Illuminate/Database/Eloquent/Model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php index bbeabcf22e7d..b0c26cbd0630 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php @@ -123,7 +123,7 @@ trait HasAttributes /** * The storage format of the model's date columns. * - * @var string + * @var string|null */ protected $dateFormat; diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 1176dcd776d6..59b81aeed178 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -49,7 +49,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt /** * The table associated with the model. * - * @var string + * @var string|null */ protected $table; From be2be342d4c74db6a8d2bd18469cd6d488ab9c98 Mon Sep 17 00:00:00 2001 From: driesvints Date: Fri, 9 Aug 2024 07:55:45 +0000 Subject: [PATCH 346/707] Update version to v10.48.20 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index c2e22a0a7743..b9bdd713422a 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -40,7 +40,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '10.48.19'; + const VERSION = '10.48.20'; /** * The base path for the Laravel installation. From 05a9554ac0c7361504a54e350787aba84d028ce7 Mon Sep 17 00:00:00 2001 From: driesvints Date: Fri, 9 Aug 2024 07:57:21 +0000 Subject: [PATCH 347/707] Update CHANGELOG --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69942080c4ee..c1721828ee90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Release Notes for 10.x -## [Unreleased](https://github.com/laravel/framework/compare/v10.48.19...10.x) +## [Unreleased](https://github.com/laravel/framework/compare/v10.48.20...10.x) + +## [v10.48.20](https://github.com/laravel/framework/compare/v10.48.19...v10.48.20) - 2024-08-09 + +* [10.x] fix: prevent casting empty string to array from triggering json error by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52415 ## [v10.48.19](https://github.com/laravel/framework/compare/v10.48.18...v10.48.19) - 2024-08-06 From 6ce800fdafdb0ed17ae62c65a78f8ced9b10003d Mon Sep 17 00:00:00 2001 From: Milwad Khosravi <98118400+milwad-dev@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:32:01 +0330 Subject: [PATCH 348/707] [11.x] Add `withoutHeaders` method (#52435) * add `testFromRemoveHeader` * add `withoutHeaders` * add `testFromRemoveHeaders` * Update MakesHttpRequestsTest.php --- .../Testing/Concerns/MakesHttpRequests.php | 15 +++++++++++ .../Concerns/MakesHttpRequestsTest.php | 27 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php b/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php index 85eabee130b6..c24799df0b45 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php +++ b/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php @@ -103,6 +103,21 @@ public function withoutHeader(string $name) return $this; } + /** + * Remove headers from the request. + * + * @param array $headers + * @return $this + */ + public function withoutHeaders(array $headers) + { + foreach ($headers as $name) { + $this->withoutHeader($name); + } + + return $this; + } + /** * Add an authorization token for the request. * diff --git a/tests/Foundation/Testing/Concerns/MakesHttpRequestsTest.php b/tests/Foundation/Testing/Concerns/MakesHttpRequestsTest.php index e848cf378a61..3a5332fdf20e 100644 --- a/tests/Foundation/Testing/Concerns/MakesHttpRequestsTest.php +++ b/tests/Foundation/Testing/Concerns/MakesHttpRequestsTest.php @@ -30,6 +30,33 @@ public function testFromRouteSetsHeaderAndSession() $this->assertSame('http://localhost/previous/url', $this->app['session']->previousUrl()); } + public function testFromRemoveHeader() + { + $this->withHeader('name', 'Milwad')->from('previous/url'); + + $this->assertEquals('Milwad', $this->defaultHeaders['name']); + + $this->withoutHeader('name')->from('previous/url'); + + $this->assertArrayNotHasKey('name', $this->defaultHeaders); + } + + public function testFromRemoveHeaders() + { + $this->withHeaders([ + 'name' => 'Milwad', + 'foo' => 'bar', + ])->from('previous/url'); + + $this->assertEquals('Milwad', $this->defaultHeaders['name']); + $this->assertEquals('bar', $this->defaultHeaders['foo']); + + $this->withoutHeaders(['name', 'foo'])->from('previous/url'); + + $this->assertArrayNotHasKey('name', $this->defaultHeaders); + $this->assertArrayNotHasKey('foo', $this->defaultHeaders); + } + public function testWithTokenSetsAuthorizationHeader() { $this->withToken('foobar'); From b8ca298a5475497d01b194ed5688441454d8ee34 Mon Sep 17 00:00:00 2001 From: Anis uddin Ahmad Date: Tue, 13 Aug 2024 23:07:13 +0600 Subject: [PATCH 349/707] Checking availability before calling Log::flushSharedContext() method (#52470) --- src/Illuminate/Queue/QueueServiceProvider.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Queue/QueueServiceProvider.php b/src/Illuminate/Queue/QueueServiceProvider.php index 478352ae7e76..95154bf980c7 100755 --- a/src/Illuminate/Queue/QueueServiceProvider.php +++ b/src/Illuminate/Queue/QueueServiceProvider.php @@ -198,7 +198,9 @@ protected function registerWorker() }; $resetScope = function () use ($app) { - $app['log']->flushSharedContext(); + if (method_exists($app['log'], 'flushSharedContext')) { + $app['log']->flushSharedContext(); + } if (method_exists($app['log'], 'withoutContext')) { $app['log']->withoutContext(); From 2d899e2f0720013e09a796ebbb6184225b77a88f Mon Sep 17 00:00:00 2001 From: Dante Bradshaw <100642899+DanteB918@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:23:08 -0400 Subject: [PATCH 350/707] [11.x] MessageBag errors out when custom rules are created and the class is left out of the message array (#52451) * Account for anonymous function custom validation in the validator Issue: https://github.com/laravel/framework/issues/52437 * Revert changes in validator, adjust message formatter When the message is an array, but the rule isn't set, it should default to $rule->message() rather than the array of messages * move this test and adjust add the message array * Add styleci recommendations * stylceci also wanted some single quotes --- .../Validation/Concerns/FormatsMessages.php | 4 ++-- tests/Validation/ValidationValidatorTest.php | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Validation/Concerns/FormatsMessages.php b/src/Illuminate/Validation/Concerns/FormatsMessages.php index 7f810d751bfd..ad1352aa767b 100644 --- a/src/Illuminate/Validation/Concerns/FormatsMessages.php +++ b/src/Illuminate/Validation/Concerns/FormatsMessages.php @@ -126,8 +126,8 @@ protected function getFromLocalArray($attribute, $lowerRule, $source = null) if (Str::is($sourceKey, $key)) { $message = $source[$sourceKey]; - if ($sourceKey === $attribute && is_array($message) && isset($message[$lowerRule])) { - return $message[$lowerRule]; + if ($sourceKey === $attribute && is_array($message)) { + return $message[$lowerRule] ?? null; } return $message; diff --git a/tests/Validation/ValidationValidatorTest.php b/tests/Validation/ValidationValidatorTest.php index 2a207bb8813c..a1c49716febf 100755 --- a/tests/Validation/ValidationValidatorTest.php +++ b/tests/Validation/ValidationValidatorTest.php @@ -988,6 +988,22 @@ public function testInlineValidationMessagesAreRespected() $this->assertSame('name should be of length 9', $v->messages()->first('name')); } + public function testCustomValidationIsAppendedToMessages() + { + $trans = $this->getIlluminateArrayTranslator(); + $validator = new Validator($trans, + ['foo' => true], + ['foo' => function (string $attribute, mixed $value, \Closure $fail) { + $fail(':attribute must be false'); + }, + ], ['foo' => ['required' => 'Foo is required']]); + + $this->assertFalse($validator->passes()); + $this->assertEquals($validator->errors()->messages(), [ + 'foo' => ['foo must be false'], + ]); + } + public function testInlineValidationMessagesAreRespectedWithAsterisks() { $trans = $this->getIlluminateArrayTranslator(); From 320269acad8ee5e17c0fa227c6b6b002aa7d38d1 Mon Sep 17 00:00:00 2001 From: Hossein <147417862+hosseinakbari-liefermia@users.noreply.github.com> Date: Tue, 13 Aug 2024 21:01:10 +0330 Subject: [PATCH 351/707] =?UTF-8?q?Create=20Notification=20make=20command?= =?UTF-8?q?=20markdown=20name=20placeholder=20from=20Notif=E2=80=A6=20(#52?= =?UTF-8?q?465)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create Notification make command markdown name placeholder from Notification name * fix code style * formatting --------- Co-authored-by: Taylor Otwell --- .../Foundation/Console/NotificationMakeCommand.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Console/NotificationMakeCommand.php b/src/Illuminate/Foundation/Console/NotificationMakeCommand.php index 2cc6a4d96e18..d6105af9192f 100644 --- a/src/Illuminate/Foundation/Console/NotificationMakeCommand.php +++ b/src/Illuminate/Foundation/Console/NotificationMakeCommand.php @@ -4,6 +4,7 @@ use Illuminate\Console\Concerns\CreatesMatchingTest; use Illuminate\Console\GeneratorCommand; +use Illuminate\Support\Str; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; @@ -143,7 +144,13 @@ protected function afterPromptingForMissingArguments(InputInterface $input, Outp $wantsMarkdownView = confirm('Would you like to create a markdown view?'); if ($wantsMarkdownView) { - $markdownView = text('What should the markdown view be named?', 'E.g. invoice-paid'); + $defaultMarkdownView = collect(explode('/', str_replace('\\', '/', $this->argument('name')))) + ->map(fn ($path) => Str::kebab($path)) + ->prepend('mail') + ->implode('.'); + + $markdownView = text('What should the markdown view be named?', default: $defaultMarkdownView); + $input->setOption('markdown', $markdownView); } } From cc31ca2a580123a9fc7b7d250c970c913fc9589d Mon Sep 17 00:00:00 2001 From: Jason McCreary Date: Tue, 13 Aug 2024 13:44:33 -0400 Subject: [PATCH 352/707] [11.x] Add `forceDestroy` to `SoftDeletes` (#52432) * Add `forceDestroy` to `SoftDeletes` * Update Model.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Database/Eloquent/Model.php | 13 ++++ .../Database/Eloquent/SoftDeletes.php | 41 ++++++++++++ ...baseEloquentSoftDeletesIntegrationTest.php | 62 +++++++++++++++++++ 3 files changed, 116 insertions(+) diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 59b81aeed178..92b8e7d8f324 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -1474,6 +1474,19 @@ public function forceDelete() return $this->delete(); } + /** + * Force a hard destroy on a soft deleted model. + * + * This method protects developers from running forceDestroy when the trait is missing. + * + * @param \Illuminate\Support\Collection|array|int|string $ids + * @return bool|null + */ + public static function forceDestroy($ids) + { + return static::destroy($ids); + } + /** * Perform the actual delete query on this model instance. * diff --git a/src/Illuminate/Database/Eloquent/SoftDeletes.php b/src/Illuminate/Database/Eloquent/SoftDeletes.php index 8cf17d2ddbf4..c31e23e1766f 100644 --- a/src/Illuminate/Database/Eloquent/SoftDeletes.php +++ b/src/Illuminate/Database/Eloquent/SoftDeletes.php @@ -2,6 +2,9 @@ namespace Illuminate\Database\Eloquent; +use Illuminate\Database\Eloquent\Collection as EloquentCollection; +use Illuminate\Support\Collection as BaseCollection; + /** * @method static \Illuminate\Database\Eloquent\Builder withTrashed(bool $withTrashed = true) * @method static \Illuminate\Database\Eloquent\Builder onlyTrashed() @@ -74,6 +77,44 @@ public function forceDeleteQuietly() return static::withoutEvents(fn () => $this->forceDelete()); } + /** + * Destroy the models for the given IDs. + * + * @param \Illuminate\Support\Collection|array|int|string $ids + * @return int + */ + public static function forceDestroy($ids) + { + if ($ids instanceof EloquentCollection) { + $ids = $ids->modelKeys(); + } + + if ($ids instanceof BaseCollection) { + $ids = $ids->all(); + } + + $ids = is_array($ids) ? $ids : func_get_args(); + + if (count($ids) === 0) { + return 0; + } + + // We will actually pull the models from the database table and call delete on + // each of them individually so that their events get fired properly with a + // correct set of attributes in case the developers wants to check these. + $key = ($instance = new static)->getKeyName(); + + $count = 0; + + foreach ($instance->withTrashed()->whereIn($key, $ids)->get() as $model) { + if ($model->forceDelete()) { + $count++; + } + } + + return $count; + } + /** * Perform the actual delete query on this model instance. * diff --git a/tests/Database/DatabaseEloquentSoftDeletesIntegrationTest.php b/tests/Database/DatabaseEloquentSoftDeletesIntegrationTest.php index 8af1eeaf5aed..c4a59964bce0 100644 --- a/tests/Database/DatabaseEloquentSoftDeletesIntegrationTest.php +++ b/tests/Database/DatabaseEloquentSoftDeletesIntegrationTest.php @@ -243,6 +243,68 @@ public function newModelQuery() $this->assertTrue($user->exists); } + public function testForceDestroyFullyDeletesRecord() + { + $this->createUsers(); + $deleted = SoftDeletesTestUser::forceDestroy(2); + + $this->assertSame(1, $deleted); + + $users = SoftDeletesTestUser::withTrashed()->get(); + + $this->assertCount(1, $users); + $this->assertEquals(1, $users->first()->id); + $this->assertNull(SoftDeletesTestUser::find(2)); + } + + public function testForceDestroyDeletesAlreadyDeletedRecord() + { + $this->createUsers(); + $deleted = SoftDeletesTestUser::forceDestroy(1); + + $this->assertSame(1, $deleted); + + $users = SoftDeletesTestUser::withTrashed()->get(); + + $this->assertCount(1, $users); + $this->assertEquals(2, $users->first()->id); + $this->assertNull(SoftDeletesTestUser::find(1)); + } + + public function testForceDestroyDeletesMultipleRecords() + { + $this->createUsers(); + $deleted = SoftDeletesTestUser::forceDestroy([1, 2]); + + $this->assertSame(2, $deleted); + + $this->assertTrue(SoftDeletesTestUser::withTrashed()->get()->isEmpty()); + } + + public function testForceDestroyDeletesRecordsFromCollection() + { + $this->createUsers(); + $deleted = SoftDeletesTestUser::forceDestroy(collect([1, 2])); + + $this->assertSame(2, $deleted); + + $this->assertTrue(SoftDeletesTestUser::withTrashed()->get()->isEmpty()); + } + + public function testForceDestroyDeletesRecordsFromEloquentCollection() + { + $this->createUsers(); + $deleted = SoftDeletesTestUser::forceDestroy(SoftDeletesTestUser::all()); + + $this->assertSame(1, $deleted); + + $users = SoftDeletesTestUser::withTrashed()->get(); + + $this->assertCount(1, $users); + $this->assertEquals(1, $users->first()->id); + $this->assertNull(SoftDeletesTestUser::find(2)); + } + public function testRestoreRestoresRecords() { $this->createUsers(); From 6f7908f341018f7ed4196a93dbdd9e777097b927 Mon Sep 17 00:00:00 2001 From: Pete Frost Date: Wed, 14 Aug 2024 22:54:14 +0100 Subject: [PATCH 353/707] Make SQLiteProcessor cope with '/' in column names (#52490) Add test and fix syntax --- .../Database/Query/Processors/SQLiteProcessor.php | 6 ++++-- tests/Database/DatabaseSQLiteProcessorTest.php | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Query/Processors/SQLiteProcessor.php b/src/Illuminate/Database/Query/Processors/SQLiteProcessor.php index 5ce6ecac48f7..d951f73a01f3 100644 --- a/src/Illuminate/Database/Query/Processors/SQLiteProcessor.php +++ b/src/Illuminate/Database/Query/Processors/SQLiteProcessor.php @@ -20,8 +20,10 @@ public function processColumns($results, $sql = '') $type = strtolower($result->type); + $safeName = preg_quote($result->name, '/'); + $collation = preg_match( - '/\b'.preg_quote($result->name).'\b[^,(]+(?:\([^()]+\)[^,]*)?(?:(?:default|check|as)\s*(?:\(.*?\))?[^,]*)*collate\s+["\'`]?(\w+)/i', + '/\b'.$safeName.'\b[^,(]+(?:\([^()]+\)[^,]*)?(?:(?:default|check|as)\s*(?:\(.*?\))?[^,]*)*collate\s+["\'`]?(\w+)/i', $sql, $matches ) === 1 ? strtolower($matches[1]) : null; @@ -29,7 +31,7 @@ public function processColumns($results, $sql = '') $isGenerated = in_array($result->extra, [2, 3]); $expression = $isGenerated && preg_match( - '/\b'.preg_quote($result->name).'\b[^,]+\s+as\s+\(((?:[^()]+|\((?:[^()]+|\([^()]*\))*\))*)\)/i', + '/\b'.$safeName.'\b[^,]+\s+as\s+\(((?:[^()]+|\((?:[^()]+|\([^()]*\))*\))*)\)/i', $sql, $matches ) === 1 ? $matches[1] : null; diff --git a/tests/Database/DatabaseSQLiteProcessorTest.php b/tests/Database/DatabaseSQLiteProcessorTest.php index 4775d556458f..50d8e7b711f7 100644 --- a/tests/Database/DatabaseSQLiteProcessorTest.php +++ b/tests/Database/DatabaseSQLiteProcessorTest.php @@ -15,11 +15,13 @@ public function testProcessColumns() ['name' => 'id', 'type' => 'INTEGER', 'nullable' => '0', 'default' => '', 'primary' => '1', 'extra' => 1], ['name' => 'name', 'type' => 'varchar', 'nullable' => '1', 'default' => 'foo', 'primary' => '0', 'extra' => 1], ['name' => 'is_active', 'type' => 'tinyint(1)', 'nullable' => '0', 'default' => '1', 'primary' => '0', 'extra' => 1], + ['name' => 'with/slash', 'type' => 'tinyint(1)', 'nullable' => '0', 'default' => '1', 'primary' => '0', 'extra' => 1], ]; $expected = [ ['name' => 'id', 'type_name' => 'integer', 'type' => 'integer', 'collation' => null, 'nullable' => false, 'default' => '', 'auto_increment' => true, 'comment' => null, 'generation' => null], ['name' => 'name', 'type_name' => 'varchar', 'type' => 'varchar', 'collation' => null, 'nullable' => true, 'default' => 'foo', 'auto_increment' => false, 'comment' => null, 'generation' => null], ['name' => 'is_active', 'type_name' => 'tinyint', 'type' => 'tinyint(1)', 'collation' => null, 'nullable' => false, 'default' => '1', 'auto_increment' => false, 'comment' => null, 'generation' => null], + ['name' => 'with/slash', 'type_name' => 'tinyint', 'type' => 'tinyint(1)', 'collation' => null, 'nullable' => false, 'default' => '1', 'auto_increment' => false, 'comment' => null, 'generation' => null], ]; $this->assertEquals($expected, $processor->processColumns($listing)); From 0b85e157ca53d7002aead978d597e4a1ad37c944 Mon Sep 17 00:00:00 2001 From: "S.a Mahmoudzadeh" <36761585+saMahmoudzadeh@users.noreply.github.com> Date: Thu, 15 Aug 2024 01:29:29 +0330 Subject: [PATCH 354/707] improvement test coverage (#52472) --- tests/Cookie/CookieTest.php | 62 +++++++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 3 deletions(-) diff --git a/tests/Cookie/CookieTest.php b/tests/Cookie/CookieTest.php index 6c3a85af909f..ee68be316c18 100755 --- a/tests/Cookie/CookieTest.php +++ b/tests/Cookie/CookieTest.php @@ -2,7 +2,9 @@ namespace Illuminate\Tests\Cookie; +use ArgumentCountError; use Illuminate\Cookie\CookieJar; +use InvalidArgumentException; use PHPUnit\Framework\TestCase; use ReflectionObject; use Symfony\Component\HttpFoundation\Cookie; @@ -34,7 +36,7 @@ public function testCookiesAreCreatedWithProperOptions() $this->assertTrue($c3->getExpiresTime() < time()); } - public function testCookiesAreCreatedWithProperOptionsUsingDefaultPathAndDomain() + public function testCookiesAreCreatedWithProperOptionsUsingDefaultPathAndDomain(): void { $cookie = $this->getCreator(); $cookie->setDefaultPathAndDomain('/path', '/domain', true, 'lax'); @@ -44,6 +46,7 @@ public function testCookiesAreCreatedWithProperOptionsUsingDefaultPathAndDomain( $this->assertSame('/domain', $c->getDomain()); $this->assertSame('/path', $c->getPath()); $this->assertSame('lax', $c->getSameSite()); + $this->assertTrue($c->isHttpOnly()); } public function testCookiesCanSetSecureOptionUsingDefaultPathAndDomain() @@ -58,7 +61,42 @@ public function testCookiesCanSetSecureOptionUsingDefaultPathAndDomain() $this->assertSame('lax', $c->getSameSite()); } - public function testQueuedCookies() + public function testQueuedCookiesWithoutName(): void + { + $this->expectException(InvalidArgumentException::class); + + $cookie = $this->getCreator(); + $cookie->queue($cookie->make('', 'bar')); + } + + public function testQueuedCookiesWithInvalidParameter(): void + { + $this->expectException(ArgumentCountError::class); + + $cookie = $this->getCreator(); + $cookie->queue('invalidCookie'); + } + + public function testQueuedCookiesWithHandlingEmptyValues(): void + { + $cookie = $this->getCreator(); + $cookie->queue($cookie->make('foo', '')); + $this->assertTrue($cookie->hasQueued('foo')); + $this->assertEquals('', $cookie->queued('foo')->getValue()); + } + + public function testQueuedCookiesWithRepeatedValue(): void + { + $cookie = $this->getCreator(); + $cookie->queue($cookie->make('foo', 'newBar')); + $this->assertTrue($cookie->hasQueued('foo')); + $this->assertEquals('newBar', $cookie->queued('foo')->getValue()); + + $this->expectException(ArgumentCountError::class); + $cookie->queue('invalidCookie'); + } + + public function testQueuedCookies(): void { $cookie = $this->getCreator(); $this->assertEmpty($cookie->getQueuedCookies()); @@ -95,9 +133,13 @@ public function testQueuedWithoutPath(): void public function testHasQueued(): void { $cookieJar = $this->getCreator(); + // test empty queue + $this->assertFalse($cookieJar->hasQueued('foo')); + $cookie = $cookieJar->make('foo', 'bar'); $cookieJar->queue($cookie); $this->assertTrue($cookieJar->hasQueued('foo')); + $this->assertFalse($cookieJar->hasQueued('nonexistent')); } public function testHasQueuedWithPath(): void @@ -128,14 +170,28 @@ public function testExpire() $this->assertCount(1, $cookieJar->getQueuedCookies()); } - public function testUnqueue() + public function testUnqueue(): void { $cookie = $this->getCreator(); + + $cookie->unqueue('nonexistent'); + $this->assertEmpty($cookie->getQueuedCookies()); + $cookie->queue($cookie->make('foo', 'bar')); $cookie->unqueue('foo'); $this->assertEmpty($cookie->getQueuedCookies()); } + public function testUnqueueMultipleCookies(): void + { + $cookie = $this->getCreator(); + $cookie->queue($cookie->make('foo', 'bar')); + $cookie->queue($cookie->make('baz', 'qux')); + $cookie->unqueue('foo'); + $this->assertTrue($cookie->hasQueued('baz')); + $this->assertFalse($cookie->hasQueued('foo')); + } + public function testUnqueueWithPath(): void { $cookieJar = $this->getCreator(); From 85165d7b1564571923e96611e85c31d55bb64ae9 Mon Sep 17 00:00:00 2001 From: circle33 <785106927@qq.com> Date: Fri, 16 Aug 2024 02:26:59 +0800 Subject: [PATCH 355/707] [11.x] Fix for #52436 artisan schema:dump infinite recursion (#52492) * feat: Add clear stopping point for recursion * style: fix styleci * Update MySqlSchemaState.php * Update DatabaseMySqlSchemaStateTest.php * Update MySqlSchemaState.php --------- Co-authored-by: Taylor Otwell --- .../Database/Schema/MySqlSchemaState.php | 11 ++++++-- .../Database/DatabaseMySqlSchemaStateTest.php | 28 +++++++++++++++++++ 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Database/Schema/MySqlSchemaState.php b/src/Illuminate/Database/Schema/MySqlSchemaState.php index 8c5607545a81..be5e227359f3 100644 --- a/src/Illuminate/Database/Schema/MySqlSchemaState.php +++ b/src/Illuminate/Database/Schema/MySqlSchemaState.php @@ -145,23 +145,28 @@ protected function baseVariables(array $config) * @param \Symfony\Component\Process\Process $process * @param callable $output * @param array $variables + * @param int $depth * @return \Symfony\Component\Process\Process */ - protected function executeDumpProcess(Process $process, $output, array $variables) + protected function executeDumpProcess(Process $process, $output, array $variables, int $depth = 0) { + if ($depth > 30) { + throw new Exception('Dump execution exceeded maximum depth of 30.'); + } + try { $process->setTimeout(null)->mustRun($output, $variables); } catch (Exception $e) { if (Str::contains($e->getMessage(), ['column-statistics', 'column_statistics'])) { return $this->executeDumpProcess(Process::fromShellCommandLine( str_replace(' --column-statistics=0', '', $process->getCommandLine()) - ), $output, $variables); + ), $output, $variables, $depth + 1); } if (str_contains($e->getMessage(), 'set-gtid-purged')) { return $this->executeDumpProcess(Process::fromShellCommandLine( str_replace(' --set-gtid-purged=OFF', '', $process->getCommandLine()) - ), $output, $variables); + ), $output, $variables, $depth + 1); } throw $e; diff --git a/tests/Database/DatabaseMySqlSchemaStateTest.php b/tests/Database/DatabaseMySqlSchemaStateTest.php index 0468a0d501d5..7d797f9287d4 100644 --- a/tests/Database/DatabaseMySqlSchemaStateTest.php +++ b/tests/Database/DatabaseMySqlSchemaStateTest.php @@ -2,12 +2,14 @@ namespace Illuminate\Tests\Database; +use Exception; use Generator; use Illuminate\Database\MySqlConnection; use Illuminate\Database\Schema\MySqlSchemaState; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; use ReflectionMethod; +use Symfony\Component\Process\Process; class DatabaseMySqlSchemaStateTest extends TestCase { @@ -84,4 +86,30 @@ public static function provider(): Generator ], ]; } + + public function testExecuteDumpProcessForDepth() + { + $mockProcess = $this->createMock(Process::class); + $mockProcess->method('setTimeout')->willReturnSelf(); + $mockProcess->method('mustRun')->will( + $this->throwException(new Exception('column-statistics')) + ); + + $mockOutput = $this->createMock(\stdClass::class); + $mockVariables = []; + + $schemaState = $this->getMockBuilder(MySqlSchemaState::class) + ->disableOriginalConstructor() + ->onlyMethods(['makeProcess']) + ->getMock(); + + $schemaState->method('makeProcess')->willReturn($mockProcess); + + $this->expectException(Exception::class); + $this->expectExceptionMessage('Dump execution exceeded maximum depth of 30.'); + + // test executeDumpProcess + $method = new ReflectionMethod(get_class($schemaState), 'executeDumpProcess'); + $method->invoke($schemaState, $mockProcess, $mockOutput, $mockVariables, 31); + } } From 0b3d2aabd5861c98831d5b45b9a3e6f6f57efdb2 Mon Sep 17 00:00:00 2001 From: Sabatino Masala Date: Thu, 15 Aug 2024 20:31:38 +0200 Subject: [PATCH 356/707] Run prepareNestedBatches on append/prependToChain & chain (#52486) * Run prepareNestedBatches on append/prependToChain * Cleanup leftover import * Update chain method * Update Queueable.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Bus/Queueable.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Bus/Queueable.php b/src/Illuminate/Bus/Queueable.php index 78dcac289b96..f4de59d6b7d2 100644 --- a/src/Illuminate/Bus/Queueable.php +++ b/src/Illuminate/Bus/Queueable.php @@ -197,7 +197,9 @@ public function through($middleware) */ public function chain($chain) { - $this->chained = collect($chain)->map(function ($job) { + $jobs = ChainedBatch::prepareNestedBatches(collect($chain)); + + $this->chained = $jobs->map(function ($job) { return $this->serializeJob($job); })->all(); @@ -212,7 +214,9 @@ public function chain($chain) */ public function prependToChain($job) { - $this->chained = Arr::prepend($this->chained, $this->serializeJob($job)); + $jobs = ChainedBatch::prepareNestedBatches(collect([$job])); + + $this->chained = Arr::prepend($this->chained, $this->serializeJob($jobs->first())); return $this; } @@ -225,7 +229,9 @@ public function prependToChain($job) */ public function appendToChain($job) { - $this->chained = array_merge($this->chained, [$this->serializeJob($job)]); + $jobs = ChainedBatch::prepareNestedBatches(collect([$job])); + + $this->chained = array_merge($this->chained, [$this->serializeJob($jobs->first())]); return $this; } From f0de069d2c40e77cae9d669bb712a21f9bdee1cb Mon Sep 17 00:00:00 2001 From: Hafez Divandari Date: Thu, 15 Aug 2024 22:12:07 +0330 Subject: [PATCH 357/707] [11.x] Enhance DB inspection commands (#52501) * fix db:show with counts option * fix db:table * add more info * formatting * fix connection name and table size * Update ShowCommand.php --------- Co-authored-by: Taylor Otwell --- .../Database/Console/ShowCommand.php | 14 ++++----- .../Database/Console/TableCommand.php | 29 ++++++++++++++----- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/src/Illuminate/Database/Console/ShowCommand.php b/src/Illuminate/Database/Console/ShowCommand.php index 4431c363fe6c..acb7470e6742 100644 --- a/src/Illuminate/Database/Console/ShowCommand.php +++ b/src/Illuminate/Database/Console/ShowCommand.php @@ -79,7 +79,9 @@ protected function tables(ConnectionInterface $connection, Builder $schema) 'table' => $table['name'], 'schema' => $table['schema'], 'size' => $table['size'], - 'rows' => $this->option('counts') ? $connection->table($table['name'])->count() : null, + 'rows' => $this->option('counts') + ? ($connection->table($table['schema'] ? $table['schema'].'.'.$table['name'] : $table['name'])->count()) + : null, 'engine' => $table['engine'], 'collation' => $table['collation'], 'comment' => $table['comment'], @@ -100,7 +102,7 @@ protected function views(ConnectionInterface $connection, Builder $schema) ->map(fn ($view) => [ 'view' => $view['name'], 'schema' => $view['schema'], - 'rows' => $connection->table($view->getName())->count(), + 'rows' => $connection->table($view['schema'] ? $view['schema'].'.'.$view['name'] : $view['name'])->count(), ]); } @@ -160,7 +162,7 @@ protected function displayForCli(array $data) $this->newLine(); $this->components->twoColumnDetail(''.$platform['name'].'', $platform['version']); - $this->components->twoColumnDetail('Connection', Arr::get($platform['config'], 'connection')); + $this->components->twoColumnDetail('Connection', $platform['connection']); $this->components->twoColumnDetail('Database', Arr::get($platform['config'], 'database')); $this->components->twoColumnDetail('Host', Arr::get($platform['config'], 'host')); $this->components->twoColumnDetail('Port', Arr::get($platform['config'], 'port')); @@ -184,13 +186,11 @@ protected function displayForCli(array $data) ); $tables->each(function ($table) { - if ($tableSize = $table['size']) { - $tableSize = Number::fileSize($tableSize, 2); - } + $tableSize = is_null($table['size']) ? null : Number::fileSize($table['size'], 2); $this->components->twoColumnDetail( ($table['schema'] ? $table['schema'].' / ' : '').$table['table'].($this->output->isVerbose() ? ' '.$table['engine'].'' : null), - ($tableSize ?: '—').($this->option('counts') ? ' / '.Number::format($table['rows']).'' : '') + ($tableSize ?? '—').($this->option('counts') ? ' / '.Number::format($table['rows']).'' : '') ); if ($this->output->isVerbose()) { diff --git a/src/Illuminate/Database/Console/TableCommand.php b/src/Illuminate/Database/Console/TableCommand.php index 2a485ab39c9e..4362ca82d29c 100644 --- a/src/Illuminate/Database/Console/TableCommand.php +++ b/src/Illuminate/Database/Console/TableCommand.php @@ -39,14 +39,16 @@ public function handle(ConnectionResolverInterface $connections) { $connection = $connections->connection($this->input->getOption('database')); $schema = $connection->getSchemaBuilder(); - $tables = $schema->getTables(); + $tables = collect($schema->getTables()) + ->keyBy(fn ($table) => $table['schema'] ? $table['schema'].'.'.$table['name'] : $table['name']) + ->all(); $tableName = $this->argument('table') ?: select( 'Which table would you like to inspect?', - array_column($tables, 'name') + array_keys($tables) ); - $table = Arr::first($tables, fn ($table) => $table['name'] === $tableName); + $table = $tables[$tableName] ?? Arr::first($tables, fn ($table) => $table['name'] === $tableName); if (! $table) { $this->components->warn("Table [{$tableName}] doesn't exist."); @@ -54,7 +56,7 @@ public function handle(ConnectionResolverInterface $connections) return 1; } - $tableName = $this->withoutTablePrefix($connection, $table['name']); + $tableName = ($table['schema'] ? $table['schema'].'.' : '').$this->withoutTablePrefix($connection, $table['name']); $columns = $this->columns($schema, $tableName); $indexes = $this->indexes($schema, $tableName); @@ -62,9 +64,13 @@ public function handle(ConnectionResolverInterface $connections) $data = [ 'table' => [ + 'schema' => $table['schema'], 'name' => $table['name'], 'columns' => count($columns), 'size' => $table['size'], + 'comment' => $table['comment'], + 'collation' => $table['collation'], + 'engine' => $table['engine'], ], 'columns' => $columns, 'indexes' => $indexes, @@ -103,6 +109,7 @@ protected function getAttributesForColumn($column) { return collect([ $column['type_name'], + $column['generation'] ? $column['generation']['type'] : null, $column['auto_increment'] ? 'autoincrement' : null, $column['nullable'] ? 'nullable' : null, $column['collation'], @@ -197,11 +204,19 @@ protected function displayForCli(array $data) $this->newLine(); - $this->components->twoColumnDetail(''.$table['name'].''); + $this->components->twoColumnDetail(''.($table['schema'] ? $table['schema'].'.'.$table['name'] : $table['name']).'', $table['comment'] ? ''.$table['comment'].'' : null); $this->components->twoColumnDetail('Columns', $table['columns']); - if ($size = $table['size']) { - $this->components->twoColumnDetail('Size', Number::fileSize($size, 2)); + if (! is_null($table['size'])) { + $this->components->twoColumnDetail('Size', Number::fileSize($table['size'], 2)); + } + + if ($table['engine']) { + $this->components->twoColumnDetail('Engine', $table['engine']); + } + + if ($table['collation']) { + $this->components->twoColumnDetail('Collation', $table['collation']); } $this->newLine(); From 451bc215b9d8eb93f0328f6cdfb4e38647d0bd53 Mon Sep 17 00:00:00 2001 From: Patrick O'Meara Date: Sat, 17 Aug 2024 04:21:33 +1000 Subject: [PATCH 358/707] [11.x] Constrain key when asserting database has a model (#52464) * Constrain key when asserting database has against a model * Use already constrained database has methods * Using a model instance that isn't saved to the database should fail --- .../Concerns/InteractsWithDatabase.php | 30 +++++++++------- .../FoundationInteractsWithDatabaseTest.php | 34 ++++++++++++++++--- 2 files changed, 48 insertions(+), 16 deletions(-) diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php index 2378f815094d..517796c1d893 100644 --- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php +++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php @@ -24,8 +24,15 @@ trait InteractsWithDatabase * @param string|null $connection * @return $this */ - protected function assertDatabaseHas($table, array $data, $connection = null) + protected function assertDatabaseHas($table, array $data = [], $connection = null) { + if ($table instanceof Model) { + $data = [ + $table->getKeyName() => $table->getKey(), + ...$data, + ]; + } + $this->assertThat( $this->getTable($table), new HasInDatabase($this->getConnection($connection, $table), $data) ); @@ -41,8 +48,15 @@ protected function assertDatabaseHas($table, array $data, $connection = null) * @param string|null $connection * @return $this */ - protected function assertDatabaseMissing($table, array $data, $connection = null) + protected function assertDatabaseMissing($table, array $data = [], $connection = null) { + if ($table instanceof Model) { + $data = [ + $table->getKeyName() => $table->getKey(), + ...$data, + ]; + } + $constraint = new ReverseConstraint( new HasInDatabase($this->getConnection($connection, $table), $data) ); @@ -157,11 +171,7 @@ protected function assertNotSoftDeleted($table, array $data = [], $connection = */ protected function assertModelExists($model) { - return $this->assertDatabaseHas( - $model->getTable(), - [$model->getKeyName() => $model->getKey()], - $model->getConnectionName() - ); + return $this->assertDatabaseHas($model); } /** @@ -172,11 +182,7 @@ protected function assertModelExists($model) */ protected function assertModelMissing($model) { - return $this->assertDatabaseMissing( - $model->getTable(), - [$model->getKeyName() => $model->getKey()], - $model->getConnectionName() - ); + return $this->assertDatabaseMissing($model); } /** diff --git a/tests/Foundation/FoundationInteractsWithDatabaseTest.php b/tests/Foundation/FoundationInteractsWithDatabaseTest.php index 34047e1a7db7..2ebb6a99118d 100644 --- a/tests/Foundation/FoundationInteractsWithDatabaseTest.php +++ b/tests/Foundation/FoundationInteractsWithDatabaseTest.php @@ -44,12 +44,25 @@ public function testSeeInDatabaseFindsResults() $this->assertDatabaseHas($this->table, $this->data); } - public function testAssertDatabaseHasSupportModels() + public function testAssertDatabaseHasSupportsModelClass() { $this->mockCountBuilder(1); $this->assertDatabaseHas(ProductStub::class, $this->data); - $this->assertDatabaseHas(new ProductStub, $this->data); + } + + public function testAssertDatabaseHasConstrainsToModel() + { + $data = $this->data; + + $this->data = [ + 'id' => 1, + ...$this->data, + ]; + + $this->mockCountBuilder(1); + + $this->assertDatabaseHas(new ProductStub(['id' => 1]), $data); } public function testSeeInDatabaseDoesNotFindResults() @@ -102,12 +115,25 @@ public function testDontSeeInDatabaseDoesNotFindResults() $this->assertDatabaseMissing($this->table, $this->data); } - public function testAssertDatabaseMissingSupportModels() + public function testAssertDatabaseMissingSupportsModelClass() { $this->mockCountBuilder(0); $this->assertDatabaseMissing(ProductStub::class, $this->data); - $this->assertDatabaseMissing(new ProductStub, $this->data); + } + + public function testAssertDatabaseMissingConstrainsToModel() + { + $data = $this->data; + + $this->data = [ + 'id' => 1, + ...$this->data, + ]; + + $this->mockCountBuilder(0); + + $this->assertDatabaseMissing(new ProductStub(['id' => 1]), $data); } public function testDontSeeInDatabaseFindsResults() From 58718c6bdd8de618a35697b70de3d541d7a4a0c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borys=20=C5=BBmuda?= Date: Fri, 16 Aug 2024 20:29:52 +0200 Subject: [PATCH 359/707] Add `between` to `AssertableJson` (#52479) * Added `between` tests * Added `between` assertion * pint * pint * formatting * min max --------- Co-authored-by: Taylor Otwell --- .../Testing/Fluent/Concerns/Has.php | 32 +++++++++++ tests/Testing/Fluent/AssertTest.php | 57 +++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/src/Illuminate/Testing/Fluent/Concerns/Has.php b/src/Illuminate/Testing/Fluent/Concerns/Has.php index 20bfe9d189e3..23f6b308db37 100644 --- a/src/Illuminate/Testing/Fluent/Concerns/Has.php +++ b/src/Illuminate/Testing/Fluent/Concerns/Has.php @@ -40,6 +40,38 @@ public function count($key, ?int $length = null): self return $this; } + /** + * Assert that the prop size is between a given minimum and maximum. + * + * @param int|string $min + * @param int|string $max + * @return $this + */ + public function countBetween(int|string $min, int|string $max): self + { + $path = $this->dotPath(); + + $prop = $this->prop(); + + PHPUnit::assertGreaterThanOrEqual( + $min, + count($prop), + $path + ? sprintf('Property [%s] size is not greater than or equal to [%s].', $path, $min) + : sprintf('Root level size is not greater than or equal to [%s].', $min) + ); + + PHPUnit::assertLessThanOrEqual( + $max, + count($prop), + $path + ? sprintf('Property [%s] size is not less than or equal to [%s].', $path, $max) + : sprintf('Root level size is not less than or equal to [%s].', $max) + ); + + return $this; + } + /** * Ensure that the given prop exists. * diff --git a/tests/Testing/Fluent/AssertTest.php b/tests/Testing/Fluent/AssertTest.php index c96b4bf21218..c4771c583285 100644 --- a/tests/Testing/Fluent/AssertTest.php +++ b/tests/Testing/Fluent/AssertTest.php @@ -285,6 +285,63 @@ public function testAssertCountFailsScoped() }); } + public function testAssertBetween() + { + $assert = AssertableJson::fromArray([ + 'foo', + 'bar', + 'baz', + ]); + + $assert->countBetween(1, 3); + } + + public function testAssertBetweenFails() + { + $assert = AssertableJson::fromArray([ + 'foo', + 'bar', + 'baz', + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Root level size is not less than or equal to [2].'); + + $assert->countBetween(1, 2); + } + + public function testAssertBetweenLowestValueFails() + { + $assert = AssertableJson::fromArray([ + 'foo', + 'bar', + 'baz', + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Root level size is not greater than or equal to [4].'); + + $assert->countBetween(4, 3); + } + + public function testAssertBetweenFailsScoped() + { + $assert = AssertableJson::fromArray([ + 'bar' => [ + 'baz' => 'example', + 'prop' => 'value', + 'foo' => 'value', + ], + ]); + + $this->expectException(AssertionFailedError::class); + $this->expectExceptionMessage('Property [bar] size is not less than or equal to [2].'); + + $assert->has('bar', function (AssertableJson $bar) { + $bar->countBetween(1, 2); + }); + } + public function testAssertMissing() { $assert = AssertableJson::fromArray([ From 9c481ac8eaa6f06c313b1ba53d91022aa3b055c7 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Sat, 17 Aug 2024 04:46:47 +1000 Subject: [PATCH 360/707] [11.x] Eager asset prefetching strategies for Vite (#52462) * Adds asset prefetching strategies * Formatting * Rename config * Use low fetch priority * formatting * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Foundation/Vite.php | 173 ++++++++- tests/Foundation/FoundationViteTest.php | 355 ++++++++++++++++++ .../fixtures/prefetching-manifest.json | 284 ++++++++++++++ 3 files changed, 811 insertions(+), 1 deletion(-) create mode 100644 tests/Foundation/fixtures/prefetching-manifest.json diff --git a/src/Illuminate/Foundation/Vite.php b/src/Illuminate/Foundation/Vite.php index 46deeb8f0041..380fa74ed192 100644 --- a/src/Illuminate/Foundation/Vite.php +++ b/src/Illuminate/Foundation/Vite.php @@ -5,6 +5,7 @@ use Illuminate\Contracts\Support\Htmlable; use Illuminate\Support\Collection; use Illuminate\Support\HtmlString; +use Illuminate\Support\Js; use Illuminate\Support\Str; use Illuminate\Support\Traits\Macroable; @@ -96,6 +97,20 @@ class Vite implements Htmlable */ protected static $manifests = []; + /** + * The prefetching strategy to use. + * + * @var null|'waterfall'|'aggressive' + */ + protected $prefetchStrategy = null; + + /** + * The number of assets to load concurrently when using the "waterfall" strategy. + * + * @var int + */ + protected $prefetchConcurrently = 3; + /** * Get the preloaded assets. * @@ -266,6 +281,47 @@ public function usePreloadTagAttributes($attributes) return $this; } + /** + * Use the "waterfall" prefetching strategy. + * + * @param int|null $concurrency + * @return $this + */ + public function useWaterfallPrefetching(?int $concurrency = null) + { + return $this->usePrefetchStrategy('waterfall', [ + 'concurrency' => $concurrency ?? $this->prefetchConcurrently + ]); + } + + /** + * Use the "aggressive" prefetching strategy. + * + * @return $this + */ + public function useAggressivePrefetching() + { + return $this->usePrefetchStrategy('aggressive'); + } + + /** + * Set the prefetching strategy. + * + * @param 'waterfall'|'aggressive'|null $strategy + * @param array $config + * @return $this + */ + public function usePrefetchStrategy($strategy, $config = []) + { + $this->prefetchStrategy = $strategy; + + if ($strategy === 'waterfall') { + $this->prefetchConcurrently = $config['concurrency'] ?? $this->prefetchConcurrently; + } + + return $this; + } + /** * Generate Vite tags for an entrypoint. * @@ -363,7 +419,122 @@ public function __invoke($entrypoints, $buildDirectory = null) ->sortByDesc(fn ($args) => $this->isCssPath($args[1])) ->map(fn ($args) => $this->makePreloadTagForChunk(...$args)); - return new HtmlString($preloads->join('').$stylesheets->join('').$scripts->join('')); + $base = $preloads->join('').$stylesheets->join('').$scripts->join(''); + + if ($this->prefetchStrategy === null || $this->isRunningHot()) { + return new HtmlString($base); + } + + $discoveredImports = []; + + return collect($entrypoints) + ->flatMap(fn ($entrypoint) => collect($manifest[$entrypoint]['dynamicImports'] ?? []) + ->map(fn ($import) => $manifest[$import]) + ->filter(fn ($chunk) => str_ends_with($chunk['file'], '.js') || str_ends_with($chunk['file'], '.css')) + ->flatMap($f = function ($chunk) use (&$f, $manifest, &$discoveredImports) { + return collect([...$chunk['imports'] ?? [], ...$chunk['dynamicImports'] ?? []]) + ->reject(function ($import) use (&$discoveredImports) { + if (isset($discoveredImports[$import])) { + return true; + } + + return ! $discoveredImports[$import] = true; + }) + ->reduce( + fn ($chunks, $import) => $chunks->merge( + $f($manifest[$import]) + ), collect([$chunk])) + ->merge(collect($chunk['css'] ?? [])->map( + fn ($css) => collect($manifest)->first(fn ($chunk) => $chunk['file'] === $css) ?? [ + 'file' => $css, + ], + )); + }) + ->map(function ($chunk) use ($buildDirectory, $manifest) { + return collect([ + ...$this->resolvePreloadTagAttributes( + $chunk['src'] ?? null, + $url = $this->assetPath("{$buildDirectory}/{$chunk['file']}"), + $chunk, + $manifest, + ), + 'rel' => 'prefetch', + 'fetchpriority' => 'low', + 'href' => $url, + ])->reject( + fn ($value) => in_array($value, [null, false], true) + )->mapWithKeys(fn ($value, $key) => [ + $key = (is_int($key) ? $value : $key) => $value === true ? $key : $value, + ])->all(); + }) + ->reject(fn ($attributes) => isset($this->preloadedAssets[$attributes['href']]))) + ->unique('href') + ->values() + ->pipe(fn ($assets) => with(Js::from($assets), fn ($assets) => match ($this->prefetchStrategy) { + 'waterfall' => new HtmlString($base.<< + window.addEventListener('load', () => window.setTimeout(() => { + const makeLink = (asset) => { + const link = document.createElement('link') + + Object.keys(asset).forEach((attribute) => { + link.setAttribute(attribute, asset[attribute]) + }) + + return link + } + + const loadNext = (assets, count) => window.setTimeout(() => { + if (count > assets.length) { + count = assets.length + + if (count === 0) { + return + } + } + + const fragment = new DocumentFragment + + while (count > 0) { + const link = makeLink(assets.shift()) + fragment.append(link) + count-- + + if (assets.length) { + link.onload = () => loadNext(assets, 1) + link.error = () => loadNext(assets, 1) + } + } + + document.head.append(fragment) + }) + + loadNext({$assets}, {$this->prefetchConcurrently}) + })) + + HTML), + 'aggressive' => new HtmlString($base.<< + window.addEventListener('load', () => window.setTimeout(() => { + const makeLink = (asset) => { + const link = document.createElement('link') + + Object.keys(asset).forEach((attribute) => { + link.setAttribute(attribute, asset[attribute]) + }) + + return link + } + + const fragment = new DocumentFragment + {$assets}.forEach((asset) => fragment.append(makeLink(asset))) + document.head.append(fragment) + })) + + HTML), + })); } /** diff --git a/tests/Foundation/FoundationViteTest.php b/tests/Foundation/FoundationViteTest.php index 950fc2c21495..8f19c8e7d379 100644 --- a/tests/Foundation/FoundationViteTest.php +++ b/tests/Foundation/FoundationViteTest.php @@ -6,6 +6,7 @@ use Illuminate\Foundation\ViteException; use Illuminate\Foundation\ViteManifestNotFoundException; use Illuminate\Support\Facades\Vite as ViteFacade; +use Illuminate\Support\Js; use Illuminate\Support\Str; use Orchestra\Testbench\TestCase; @@ -1297,6 +1298,360 @@ protected function makeViteManifest($contents = null, $path = 'build') file_put_contents(public_path("{$path}/manifest.json"), $manifest); } + public function testItCanPrefetchEntrypoint() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/GuestLayout-BY3LC-73.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/TextInput-C8CCB_U_.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/PrimaryButton-DuXwr-9M.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ApplicationLogo-BhIZH06z.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/_plugin-vue_export-helper-DlAUqK2U.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Login-DAFSdGSW.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'fetchpriority' => 'low'], + ]); + $this->assertSame(<< + + HTML, $html); + + $this->cleanViteManifest($buildDir); + } + + public function testItHandlesSpecifyingPageWithAppJs() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js', 'resources/js/Pages/Auth/Login.vue'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'fetchpriority' => 'low'], + ]); + $this->assertStringContainsString(<<cleanViteManifest($buildDir); + } + + public function testItCanSpecifyWaterfallChunks() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->useWaterfallPrefetching(concurrency: 10)->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/GuestLayout-BY3LC-73.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/TextInput-C8CCB_U_.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/PrimaryButton-DuXwr-9M.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ApplicationLogo-BhIZH06z.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/_plugin-vue_export-helper-DlAUqK2U.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Login-DAFSdGSW.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'fetchpriority' => 'low'], + ]); + $this->assertStringContainsString(<<cleanViteManifest($buildDir); + } + + public function testItCanPrefetchAggressively() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->useAggressivePrefetching()->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/GuestLayout-BY3LC-73.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/TextInput-C8CCB_U_.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/PrimaryButton-DuXwr-9M.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ApplicationLogo-BhIZH06z.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/_plugin-vue_export-helper-DlAUqK2U.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Login-DAFSdGSW.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'fetchpriority' => 'low'], + ]); + + $this->assertSame(<< + + HTML, $html); + + $this->cleanViteManifest($buildDir); + } + + public function testAddsAttributesToPrefetchTags() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall'))->useCspNonce('abc123')->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/GuestLayout-BY3LC-73.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/TextInput-C8CCB_U_.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/PrimaryButton-DuXwr-9M.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ApplicationLogo-BhIZH06z.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/_plugin-vue_export-helper-DlAUqK2U.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Login-DAFSdGSW.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], + ]); + $this->assertStringContainsString(<<cleanViteManifest($buildDir); + } + + public function testItNormalisesAttributes() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js']))->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->usePreloadTagAttributes([ + 'key' => 'value', + 'key-only', + 'true-value' => true, + 'false-value' => false, + 'null-value' => null, + ])->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/GuestLayout-BY3LC-73.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/TextInput-C8CCB_U_.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/PrimaryButton-DuXwr-9M.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ApplicationLogo-BhIZH06z.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/_plugin-vue_export-helper-DlAUqK2U.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Login-DAFSdGSW.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'key' => 'value', 'key-only' => 'key-only', 'true-value' => 'true-value', 'fetchpriority' => 'low'], + ]); + + $this->assertStringContainsString(<<cleanViteManifest($buildDir); + } + + public function testItPrefetchesCss() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) ViteFacade::withEntryPoints(['resources/js/admin.js'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->toHtml(); + + $expectedAssets = Js::from([ + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/GuestLayout-BY3LC-73.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/TextInput-C8CCB_U_.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/PrimaryButton-DuXwr-9M.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ApplicationLogo-BhIZH06z.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/_plugin-vue_export-helper-DlAUqK2U.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ForgotPassword-B0WWE0BO.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Login-DAFSdGSW.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Register-CfYQbTlA.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ResetPassword-BNl7a4X1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/VerifyEmail-CyukB_SZ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Dashboard-DM_LxQy2.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/AuthenticatedLayout-DfWF52N1.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Edit-CYV2sXpe.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/DeleteUserForm-B1oHFaVP.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdatePasswordForm-CaeWqGla.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/UpdateProfileInformationForm-CJwkYwQQ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/Welcome-D_7l79PQ.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/admin-runtime-import-CRvLQy6v.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/admin-runtime-import-import-DKMIaPXC.js", 'fetchpriority' => 'low'], + ['rel' => 'prefetch', 'as' => 'style', 'href' => "https://example.com/{$buildDir}/assets/admin-runtime-import-BlmN0T4U.css", 'fetchpriority' => 'low'], + ]); + $this->assertSame(<< + + HTML, $html); + + $this->cleanViteManifest($buildDir); + } + protected function cleanViteManifest($path = 'build') { if (file_exists(public_path("{$path}/manifest.json"))) { diff --git a/tests/Foundation/fixtures/prefetching-manifest.json b/tests/Foundation/fixtures/prefetching-manifest.json new file mode 100644 index 000000000000..564ee66a4885 --- /dev/null +++ b/tests/Foundation/fixtures/prefetching-manifest.json @@ -0,0 +1,284 @@ +{ + "_ApplicationLogo-BhIZH06z.js": { + "file": "assets/ApplicationLogo-BhIZH06z.js", + "name": "ApplicationLogo", + "imports": [ + "__plugin-vue_export-helper-DlAUqK2U.js", + "_index-BSdK3M0e.js" + ] + }, + "_AuthenticatedLayout-DfWF52N1.js": { + "file": "assets/AuthenticatedLayout-DfWF52N1.js", + "name": "AuthenticatedLayout", + "imports": [ + "_ApplicationLogo-BhIZH06z.js", + "_index-BSdK3M0e.js" + ] + }, + "_GuestLayout-BY3LC-73.js": { + "file": "assets/GuestLayout-BY3LC-73.js", + "name": "GuestLayout", + "imports": [ + "_ApplicationLogo-BhIZH06z.js", + "_index-BSdK3M0e.js" + ] + }, + "_PrimaryButton-DuXwr-9M.js": { + "file": "assets/PrimaryButton-DuXwr-9M.js", + "name": "PrimaryButton", + "imports": [ + "__plugin-vue_export-helper-DlAUqK2U.js", + "_index-BSdK3M0e.js" + ] + }, + "_TextInput-C8CCB_U_.js": { + "file": "assets/TextInput-C8CCB_U_.js", + "name": "TextInput", + "imports": [ + "_index-BSdK3M0e.js" + ] + }, + "__plugin-vue_export-helper-DlAUqK2U.js": { + "file": "assets/_plugin-vue_export-helper-DlAUqK2U.js", + "name": "_plugin-vue_export-helper" + }, + "_index-!~{00f}~.js": { + "file": "assets/index-B3s1tYeC.css", + "src": "_index-!~{00f}~.js" + }, + "_index-BSdK3M0e.js": { + "file": "assets/index-BSdK3M0e.js", + "name": "index", + "css": [ + "assets/index-B3s1tYeC.css" + ] + }, + "resources/js/Pages/Auth/ConfirmPassword.vue": { + "file": "assets/ConfirmPassword-CDwcgU8E.js", + "name": "ConfirmPassword", + "src": "resources/js/Pages/Auth/ConfirmPassword.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_GuestLayout-BY3LC-73.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Auth/ForgotPassword.vue": { + "file": "assets/ForgotPassword-B0WWE0BO.js", + "name": "ForgotPassword", + "src": "resources/js/Pages/Auth/ForgotPassword.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_GuestLayout-BY3LC-73.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Auth/Login.vue": { + "file": "assets/Login-DAFSdGSW.js", + "name": "Login", + "src": "resources/js/Pages/Auth/Login.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_GuestLayout-BY3LC-73.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Auth/Register.vue": { + "file": "assets/Register-CfYQbTlA.js", + "name": "Register", + "src": "resources/js/Pages/Auth/Register.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_GuestLayout-BY3LC-73.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Auth/ResetPassword.vue": { + "file": "assets/ResetPassword-BNl7a4X1.js", + "name": "ResetPassword", + "src": "resources/js/Pages/Auth/ResetPassword.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_GuestLayout-BY3LC-73.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Auth/VerifyEmail.vue": { + "file": "assets/VerifyEmail-CyukB_SZ.js", + "name": "VerifyEmail", + "src": "resources/js/Pages/Auth/VerifyEmail.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_GuestLayout-BY3LC-73.js", + "_PrimaryButton-DuXwr-9M.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Dashboard.vue": { + "file": "assets/Dashboard-DM_LxQy2.js", + "name": "Dashboard", + "src": "resources/js/Pages/Dashboard.vue", + "isDynamicEntry": true, + "imports": [ + "_AuthenticatedLayout-DfWF52N1.js", + "_index-BSdK3M0e.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Profile/Edit.vue": { + "file": "assets/Edit-CYV2sXpe.js", + "name": "Edit", + "src": "resources/js/Pages/Profile/Edit.vue", + "isDynamicEntry": true, + "imports": [ + "_AuthenticatedLayout-DfWF52N1.js", + "resources/js/Pages/Profile/Partials/DeleteUserForm.vue", + "resources/js/Pages/Profile/Partials/UpdatePasswordForm.vue", + "resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.vue", + "_index-BSdK3M0e.js", + "_ApplicationLogo-BhIZH06z.js", + "__plugin-vue_export-helper-DlAUqK2U.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js" + ] + }, + "resources/js/Pages/Profile/Partials/DeleteUserForm.vue": { + "file": "assets/DeleteUserForm-B1oHFaVP.js", + "name": "DeleteUserForm", + "src": "resources/js/Pages/Profile/Partials/DeleteUserForm.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "__plugin-vue_export-helper-DlAUqK2U.js", + "_TextInput-C8CCB_U_.js" + ] + }, + "resources/js/Pages/Profile/Partials/UpdatePasswordForm.vue": { + "file": "assets/UpdatePasswordForm-CaeWqGla.js", + "name": "UpdatePasswordForm", + "src": "resources/js/Pages/Profile/Partials/UpdatePasswordForm.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.vue": { + "file": "assets/UpdateProfileInformationForm-CJwkYwQQ.js", + "name": "UpdateProfileInformationForm", + "src": "resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js", + "_TextInput-C8CCB_U_.js", + "_PrimaryButton-DuXwr-9M.js", + "__plugin-vue_export-helper-DlAUqK2U.js" + ] + }, + "resources/js/Pages/Welcome.vue": { + "file": "assets/Welcome-D_7l79PQ.js", + "name": "Welcome", + "src": "resources/js/Pages/Welcome.vue", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js" + ] + }, + "resources/js/admin-runtime-import-import.js": { + "file": "assets/admin-runtime-import-import-DKMIaPXC.js", + "name": "admin-runtime-import-import", + "src": "resources/js/admin-runtime-import-import.js", + "isDynamicEntry": true + }, + "resources/js/admin-runtime-import.js": { + "file": "assets/admin-runtime-import-CRvLQy6v.js", + "name": "admin-runtime-import", + "src": "resources/js/admin-runtime-import.js", + "isDynamicEntry": true, + "imports": [ + "_index-BSdK3M0e.js" + ], + "dynamicImports": [ + "resources/js/admin-runtime-import-import.js" + ], + "css": [ + "assets/admin-runtime-import-BlmN0T4U.css" + ] + }, + "resources/js/admin.js": { + "file": "assets/admin-Sefg0Q45.js", + "name": "admin", + "src": "resources/js/admin.js", + "isEntry": true, + "imports": [ + "_index-BSdK3M0e.js" + ], + "dynamicImports": [ + "resources/js/Pages/Auth/ConfirmPassword.vue", + "resources/js/Pages/Auth/ForgotPassword.vue", + "resources/js/Pages/Auth/Login.vue", + "resources/js/Pages/Auth/Register.vue", + "resources/js/Pages/Auth/ResetPassword.vue", + "resources/js/Pages/Auth/VerifyEmail.vue", + "resources/js/Pages/Dashboard.vue", + "resources/js/Pages/Profile/Edit.vue", + "resources/js/Pages/Profile/Partials/DeleteUserForm.vue", + "resources/js/Pages/Profile/Partials/UpdatePasswordForm.vue", + "resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.vue", + "resources/js/Pages/Welcome.vue", + "resources/js/admin-runtime-import.js" + ], + "css": [ + "assets/admin-BctAalm_.css" + ] + }, + "resources/js/app.js": { + "file": "assets/app-lliD09ip.js", + "name": "app", + "src": "resources/js/app.js", + "isEntry": true, + "imports": [ + "_index-BSdK3M0e.js" + ], + "dynamicImports": [ + "resources/js/Pages/Auth/ConfirmPassword.vue", + "resources/js/Pages/Auth/ForgotPassword.vue", + "resources/js/Pages/Auth/Login.vue", + "resources/js/Pages/Auth/Register.vue", + "resources/js/Pages/Auth/ResetPassword.vue", + "resources/js/Pages/Auth/VerifyEmail.vue", + "resources/js/Pages/Dashboard.vue", + "resources/js/Pages/Profile/Edit.vue", + "resources/js/Pages/Profile/Partials/DeleteUserForm.vue", + "resources/js/Pages/Profile/Partials/UpdatePasswordForm.vue", + "resources/js/Pages/Profile/Partials/UpdateProfileInformationForm.vue", + "resources/js/Pages/Welcome.vue" + ] + } +} + From 0245430fcd9caf5c75c590d5bcc168af7b24a97d Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 16 Aug 2024 18:47:09 +0000 Subject: [PATCH 361/707] Apply fixes from StyleCI --- src/Illuminate/Foundation/Vite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Vite.php b/src/Illuminate/Foundation/Vite.php index 380fa74ed192..747da7b14d08 100644 --- a/src/Illuminate/Foundation/Vite.php +++ b/src/Illuminate/Foundation/Vite.php @@ -290,7 +290,7 @@ public function usePreloadTagAttributes($attributes) public function useWaterfallPrefetching(?int $concurrency = null) { return $this->usePrefetchStrategy('waterfall', [ - 'concurrency' => $concurrency ?? $this->prefetchConcurrently + 'concurrency' => $concurrency ?? $this->prefetchConcurrently, ]); } From 273b41ad4847ef036c9dc2a0537831bca2de687e Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Fri, 16 Aug 2024 18:47:35 +0000 Subject: [PATCH 362/707] Update facade docblocks --- src/Illuminate/Support/Facades/Vite.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index ba5cd4e8d961..3e9e0299d3c9 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -16,6 +16,9 @@ * @method static \Illuminate\Foundation\Vite useScriptTagAttributes(callable|array $attributes) * @method static \Illuminate\Foundation\Vite useStyleTagAttributes(callable|array $attributes) * @method static \Illuminate\Foundation\Vite usePreloadTagAttributes(callable|array|false $attributes) + * @method static \Illuminate\Foundation\Vite useWaterfallPrefetching(int|null $concurrency = null) + * @method static \Illuminate\Foundation\Vite useAggressivePrefetching() + * @method static \Illuminate\Foundation\Vite usePrefetchStrategy(string|null $strategy, array $config = []) * @method static \Illuminate\Support\HtmlString|void reactRefresh() * @method static string asset(string $asset, string|null $buildDirectory = null) * @method static string content(string $asset, string|null $buildDirectory = null) From 14ee5d48195ce5e062014ab359698f2c5a12694f Mon Sep 17 00:00:00 2001 From: Enzo Innocenzi Date: Sat, 17 Aug 2024 23:07:31 +0200 Subject: [PATCH 363/707] [11.x] Support attributes in `app()->call()` (#52428) * feat: support attributes in `app()->call()` * feat: support attributes in route dependencies resolution * style: apply fixes from style-ci --- src/Illuminate/Container/BoundMethod.php | 33 ++++++--- src/Illuminate/Container/Container.php | 17 +---- src/Illuminate/Container/Util.php | 13 ++++ .../Routing/ResolvesRouteDependencies.php | 7 ++ .../AfterResolvingAttributeCallbackTest.php | 15 ++++ .../ContextualAttributeBindingTest.php | 27 +++++++ tests/Routing/RoutingRouteTest.php | 70 +++++++++++++++++++ 7 files changed, 159 insertions(+), 23 deletions(-) diff --git a/src/Illuminate/Container/BoundMethod.php b/src/Illuminate/Container/BoundMethod.php index 0bac7faef108..d719e918217d 100644 --- a/src/Illuminate/Container/BoundMethod.php +++ b/src/Illuminate/Container/BoundMethod.php @@ -63,7 +63,9 @@ protected static function callClass($container, $target, array $parameters = [], } return static::call( - $container, [$container->make($segments[0]), $method], $parameters + $container, + [$container->make($segments[0]), $method], + $parameters ); } @@ -159,34 +161,47 @@ protected static function getCallReflector($callback) * * @throws \Illuminate\Contracts\Container\BindingResolutionException */ - protected static function addDependencyForCallParameter($container, $parameter, - array &$parameters, &$dependencies) - { + protected static function addDependencyForCallParameter( + $container, + $parameter, + array &$parameters, + &$dependencies + ) { + $pendingDependencies = []; + if (array_key_exists($paramName = $parameter->getName(), $parameters)) { - $dependencies[] = $parameters[$paramName]; + $pendingDependencies[] = $parameters[$paramName]; unset($parameters[$paramName]); + } elseif ($attribute = Util::getContextualAttributeFromDependency($parameter)) { + $pendingDependencies[] = $container->resolveFromAttribute($attribute); } elseif (! is_null($className = Util::getParameterClassName($parameter))) { if (array_key_exists($className, $parameters)) { - $dependencies[] = $parameters[$className]; + $pendingDependencies[] = $parameters[$className]; unset($parameters[$className]); } elseif ($parameter->isVariadic()) { $variadicDependencies = $container->make($className); - $dependencies = array_merge($dependencies, is_array($variadicDependencies) + $pendingDependencies = array_merge($pendingDependencies, is_array($variadicDependencies) ? $variadicDependencies : [$variadicDependencies]); } else { - $dependencies[] = $container->make($className); + $pendingDependencies[] = $container->make($className); } } elseif ($parameter->isDefaultValueAvailable()) { - $dependencies[] = $parameter->getDefaultValue(); + $pendingDependencies[] = $parameter->getDefaultValue(); } elseif (! $parameter->isOptional() && ! array_key_exists($paramName, $parameters)) { $message = "Unable to resolve dependency [{$parameter}] in class {$parameter->getDeclaringClass()->getName()}"; throw new BindingResolutionException($message); } + + foreach ($pendingDependencies as $dependency) { + $container->fireAfterResolvingAttributeCallbacks($parameter->getAttributes(), $dependency); + } + + $dependencies = array_merge($dependencies, $pendingDependencies); } /** diff --git a/src/Illuminate/Container/Container.php b/src/Illuminate/Container/Container.php index 787ecaf69657..9837bc47f991 100755 --- a/src/Illuminate/Container/Container.php +++ b/src/Illuminate/Container/Container.php @@ -1010,7 +1010,7 @@ protected function resolveDependencies(array $dependencies) $result = null; - if (! is_null($attribute = $this->getContextualAttributeFromDependency($dependency))) { + if (! is_null($attribute = Util::getContextualAttributeFromDependency($dependency))) { $result = $this->resolveFromAttribute($attribute); } @@ -1067,17 +1067,6 @@ protected function getLastParameterOverride() return count($this->with) ? end($this->with) : []; } - /** - * Get a contextual attribute from a dependency. - * - * @param ReflectionParameter $dependency - * @return \ReflectionAttribute|null - */ - protected function getContextualAttributeFromDependency($dependency) - { - return $dependency->getAttributes(ContextualAttribute::class, ReflectionAttribute::IS_INSTANCEOF)[0] ?? null; - } - /** * Resolve a non-class hinted primitive dependency. * @@ -1164,7 +1153,7 @@ protected function resolveVariadicClass(ReflectionParameter $parameter) * @param \ReflectionAttribute $attribute * @return mixed */ - protected function resolveFromAttribute(ReflectionAttribute $attribute) + public function resolveFromAttribute(ReflectionAttribute $attribute) { $handler = $this->contextualAttributes[$attribute->getName()] ?? null; @@ -1363,7 +1352,7 @@ protected function fireAfterResolvingCallbacks($abstract, $object) * @param mixed $object * @return void */ - protected function fireAfterResolvingAttributeCallbacks(array $attributes, $object) + public function fireAfterResolvingAttributeCallbacks(array $attributes, $object) { foreach ($attributes as $attribute) { if (is_a($attribute->getName(), ContextualAttribute::class, true)) { diff --git a/src/Illuminate/Container/Util.php b/src/Illuminate/Container/Util.php index 8d5023b4a514..ae1ff41fa1cc 100644 --- a/src/Illuminate/Container/Util.php +++ b/src/Illuminate/Container/Util.php @@ -3,6 +3,8 @@ namespace Illuminate\Container; use Closure; +use Illuminate\Contracts\Container\ContextualAttribute; +use ReflectionAttribute; use ReflectionNamedType; /** @@ -71,4 +73,15 @@ public static function getParameterClassName($parameter) return $name; } + + /** + * Get a contextual attribute from a dependency. + * + * @param ReflectionParameter $dependency + * @return \ReflectionAttribute|null + */ + public static function getContextualAttributeFromDependency($dependency) + { + return $dependency->getAttributes(ContextualAttribute::class, ReflectionAttribute::IS_INSTANCEOF)[0] ?? null; + } } diff --git a/src/Illuminate/Routing/ResolvesRouteDependencies.php b/src/Illuminate/Routing/ResolvesRouteDependencies.php index f5fc2fcb2a31..9bd32a89a965 100644 --- a/src/Illuminate/Routing/ResolvesRouteDependencies.php +++ b/src/Illuminate/Routing/ResolvesRouteDependencies.php @@ -2,6 +2,7 @@ namespace Illuminate\Routing; +use Illuminate\Container\Util; use Illuminate\Support\Arr; use Illuminate\Support\Reflector; use ReflectionClass; @@ -57,6 +58,8 @@ public function resolveMethodDependencies(array $parameters, ReflectionFunctionA $parameter->isDefaultValueAvailable()) { $this->spliceIntoParameters($parameters, $key, $parameter->getDefaultValue()); } + + $this->container->fireAfterResolvingAttributeCallbacks($parameter->getAttributes(), $instance); } return $parameters; @@ -74,6 +77,10 @@ protected function transformDependency(ReflectionParameter $parameter, $paramete { $className = Reflector::getParameterClassName($parameter); + if ($attribute = Util::getContextualAttributeFromDependency($parameter)) { + return $this->container->resolveFromAttribute($attribute); + } + // If the parameter has a type-hinted class, we will check to see if it is already in // the list of parameters. If it is we will just skip it as it is probably a model // binding and we do not want to mess with those; otherwise, we resolve it here. diff --git a/tests/Container/AfterResolvingAttributeCallbackTest.php b/tests/Container/AfterResolvingAttributeCallbackTest.php index 545db091af3b..ea3aa4744413 100644 --- a/tests/Container/AfterResolvingAttributeCallbackTest.php +++ b/tests/Container/AfterResolvingAttributeCallbackTest.php @@ -57,6 +57,21 @@ public function testCallbackIsCalledAfterClassWithConstructorAndAttributeIsResol $this->assertInstanceOf(ContainerTestHasSelfConfiguringAttributeAndConstructor::class, $instance); $this->assertEquals('the-right-value', $instance->value); } + + public function testCallbackIsCalledOnAppCall() + { + $container = new Container(); + + $container->afterResolvingAttribute(ContainerTestOnTenant::class, function (ContainerTestOnTenant $attribute, HasTenantImpl $hasTenantImpl, Container $container) { + $hasTenantImpl->onTenant($attribute->tenant); + }); + + $tenant = $container->call(function (#[ContainerTestOnTenant(Tenant::TenantA)] HasTenantImpl $property) { + return $property->tenant; + }); + + $this->assertEquals(Tenant::TenantA, $tenant); + } } #[Attribute(Attribute::TARGET_PARAMETER)] diff --git a/tests/Container/ContextualAttributeBindingTest.php b/tests/Container/ContextualAttributeBindingTest.php index 88995d20bb3f..4b99e20fe51e 100644 --- a/tests/Container/ContextualAttributeBindingTest.php +++ b/tests/Container/ContextualAttributeBindingTest.php @@ -208,6 +208,33 @@ public function testStorageAttribute() $container->make(StorageTest::class); } + + public function testInjectionWithAttributeOnAppCall() + { + $container = new Container; + + $person = $container->call(function (ContainerTestHasConfigValueWithResolvePropertyAndAfterCallback $hasAttribute) { + return $hasAttribute->person; + }); + + $this->assertEquals('Taylor', $person->name); + } + + public function testAttributeOnAppCall() + { + $container = new Container; + $container->singleton('config', fn () => new Repository([ + 'app' => [ + 'timezone' => 'Europe/Paris', + ], + ])); + + $value = $container->call(function (#[Config('app.timezone')] string $value) { + return $value; + }); + + $this->assertEquals('Europe/Paris', $value); + } } #[Attribute(Attribute::TARGET_PARAMETER)] diff --git a/tests/Routing/RoutingRouteTest.php b/tests/Routing/RoutingRouteTest.php index 519b36b112a4..bb7964a7b07b 100644 --- a/tests/Routing/RoutingRouteTest.php +++ b/tests/Routing/RoutingRouteTest.php @@ -2,11 +2,14 @@ namespace Illuminate\Tests\Routing; +use Attribute; use Closure; use DateTime; use Exception; use Illuminate\Auth\Middleware\Authenticate; use Illuminate\Auth\Middleware\Authorize; +use Illuminate\Config\Repository; +use Illuminate\Container\Attributes\Config; use Illuminate\Container\Container; use Illuminate\Contracts\Routing\Registrar; use Illuminate\Contracts\Support\Responsable; @@ -1107,6 +1110,48 @@ public function testModelBindingThroughIOC() $this->assertSame('TAYLOR', $router->dispatch(Request::create('foo/taylor', 'GET'))->getContent()); } + public function testRouteDependenciesCanBeResolvedThroughAttributes() + { + $container = new Container; + $container->singleton('config', fn () => new Repository([ + 'app' => [ + 'timezone' => 'Europe/Paris', + ], + ])); + $router = new Router(new Dispatcher, $container); + $container->instance(Registrar::class, $router); + $container->bind(CallableDispatcherContract::class, fn ($app) => new CallableDispatcher($app)); + $router->get('foo', [ + 'middleware' => SubstituteBindings::class, + 'uses' => function (#[Config('app.timezone')] string $value) { + return $value; + }, + ]); + + $this->assertSame('Europe/Paris', $router->dispatch(Request::create('foo', 'GET'))->getContent()); + } + + public function testAfterResolvingAttributeCallbackIsCalledOnRouteDependenciesResolution() + { + $container = new Container(); + $router = new Router(new Dispatcher, $container); + $container->instance(Registrar::class, $router); + $container->bind(CallableDispatcherContract::class, fn ($app) => new CallableDispatcher($app)); + + $container->afterResolvingAttribute(RoutingTestOnTenant::class, function (RoutingTestOnTenant $attribute, RoutingTestHasTenantImpl $hasTenantImpl, Container $container) { + $hasTenantImpl->onTenant($attribute->tenant); + }); + + $router->get('foo', [ + 'middleware' => SubstituteBindings::class, + 'uses' => function (#[RoutingTestOnTenant(RoutingTestTenant::TenantA)] RoutingTestHasTenantImpl $property) { + return $property->tenant->name; + }, + ]); + + $this->assertSame('TenantA', $router->dispatch(Request::create('foo', 'GET'))->getContent()); + } + public function testGroupMerging() { $old = ['prefix' => 'foo/bar/']; @@ -2639,3 +2684,28 @@ public function handle($request, Closure $next) return $next($request); } } + +#[Attribute(Attribute::TARGET_PARAMETER)] +final class RoutingTestOnTenant +{ + public function __construct( + public readonly RoutingTestTenant $tenant + ) { + } +} + +enum RoutingTestTenant +{ + case TenantA; + case TenantB; +} + +final class RoutingTestHasTenantImpl +{ + public ?RoutingTestTenant $tenant = null; + + public function onTenant(RoutingTestTenant $tenant): void + { + $this->tenant = $tenant; + } +} From 429f0d20a273fc8c08dd397c4c7bd3d8fdefec87 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Sat, 17 Aug 2024 21:07:57 +0000 Subject: [PATCH 364/707] Update facade docblocks --- src/Illuminate/Support/Facades/App.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Support/Facades/App.php b/src/Illuminate/Support/Facades/App.php index a91b55b509e2..77ca41fc5897 100755 --- a/src/Illuminate/Support/Facades/App.php +++ b/src/Illuminate/Support/Facades/App.php @@ -123,10 +123,12 @@ * @method static mixed makeWith(string|callable $abstract, array $parameters = []) * @method static mixed get(string $id) * @method static mixed build(\Closure|string $concrete) + * @method static mixed resolveFromAttribute(\ReflectionAttribute $attribute) * @method static void beforeResolving(\Closure|string $abstract, \Closure|null $callback = null) * @method static void resolving(\Closure|string $abstract, \Closure|null $callback = null) * @method static void afterResolving(\Closure|string $abstract, \Closure|null $callback = null) * @method static void afterResolvingAttribute(string $attribute, \Closure $callback) + * @method static void fireAfterResolvingAttributeCallbacks(array $attributes, mixed $object) * @method static array getBindings() * @method static string getAlias(string $abstract) * @method static void forgetExtenders(string $abstract) From 29e8040e10281d5484f1450b4304f155411c8e7b Mon Sep 17 00:00:00 2001 From: AJ <60591772+devajmeireles@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:05:04 -0300 Subject: [PATCH 365/707] applying value function into the $default of transform helper (#52510) --- src/Illuminate/Support/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/helpers.php b/src/Illuminate/Support/helpers.php index d46bf6ffcfd3..c61986597c3c 100644 --- a/src/Illuminate/Support/helpers.php +++ b/src/Illuminate/Support/helpers.php @@ -475,7 +475,7 @@ function transform($value, callable $callback, $default = null) return $default($value); } - return $default; + return value($default); } } From 9c2f7f8f87fcdaab7bce6837a856902f6c01a28f Mon Sep 17 00:00:00 2001 From: Voltra Date: Mon, 19 Aug 2024 04:05:39 +0200 Subject: [PATCH 366/707] [11.x] Enhanced typing for `HigherOrderCollectionProxy` (#52484) * feat: make HigherOrderCollectionProxy generic via template types * Add type tests for HigherOrderCollectionProxy --- .../HigherOrderCollectionProxy.php | 11 ++- .../Collections/Traits/EnumeratesValues.php | 58 +++++++------- types/Support/Collection.php | 31 ++++++++ types/Support/LazyCollection.php | 75 +++++++++++++++++++ 4 files changed, 143 insertions(+), 32 deletions(-) diff --git a/src/Illuminate/Collections/HigherOrderCollectionProxy.php b/src/Illuminate/Collections/HigherOrderCollectionProxy.php index 106356c3acc5..c5a723dd2134 100644 --- a/src/Illuminate/Collections/HigherOrderCollectionProxy.php +++ b/src/Illuminate/Collections/HigherOrderCollectionProxy.php @@ -3,14 +3,19 @@ namespace Illuminate\Support; /** - * @mixin \Illuminate\Support\Enumerable + * @template TKey of array-key + * + * @template-covariant TValue + * + * @mixin \Illuminate\Support\Enumerable + * @mixin TValue */ class HigherOrderCollectionProxy { /** * The collection being operated on. * - * @var \Illuminate\Support\Enumerable + * @var \Illuminate\Support\Enumerable */ protected $collection; @@ -24,7 +29,7 @@ class HigherOrderCollectionProxy /** * Create a new proxy instance. * - * @param \Illuminate\Support\Enumerable $collection + * @param \Illuminate\Support\Enumerable $collection * @param string $method * @return void */ diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 78690232970b..8798ef6be603 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -24,35 +24,35 @@ * * @template-covariant TValue * - * @property-read HigherOrderCollectionProxy $average - * @property-read HigherOrderCollectionProxy $avg - * @property-read HigherOrderCollectionProxy $contains - * @property-read HigherOrderCollectionProxy $doesntContain - * @property-read HigherOrderCollectionProxy $each - * @property-read HigherOrderCollectionProxy $every - * @property-read HigherOrderCollectionProxy $filter - * @property-read HigherOrderCollectionProxy $first - * @property-read HigherOrderCollectionProxy $flatMap - * @property-read HigherOrderCollectionProxy $groupBy - * @property-read HigherOrderCollectionProxy $keyBy - * @property-read HigherOrderCollectionProxy $map - * @property-read HigherOrderCollectionProxy $max - * @property-read HigherOrderCollectionProxy $min - * @property-read HigherOrderCollectionProxy $partition - * @property-read HigherOrderCollectionProxy $percentage - * @property-read HigherOrderCollectionProxy $reject - * @property-read HigherOrderCollectionProxy $skipUntil - * @property-read HigherOrderCollectionProxy $skipWhile - * @property-read HigherOrderCollectionProxy $some - * @property-read HigherOrderCollectionProxy $sortBy - * @property-read HigherOrderCollectionProxy $sortByDesc - * @property-read HigherOrderCollectionProxy $sum - * @property-read HigherOrderCollectionProxy $takeUntil - * @property-read HigherOrderCollectionProxy $takeWhile - * @property-read HigherOrderCollectionProxy $unique - * @property-read HigherOrderCollectionProxy $unless - * @property-read HigherOrderCollectionProxy $until - * @property-read HigherOrderCollectionProxy $when + * @property-read HigherOrderCollectionProxy $average + * @property-read HigherOrderCollectionProxy $avg + * @property-read HigherOrderCollectionProxy $contains + * @property-read HigherOrderCollectionProxy $doesntContain + * @property-read HigherOrderCollectionProxy $each + * @property-read HigherOrderCollectionProxy $every + * @property-read HigherOrderCollectionProxy $filter + * @property-read HigherOrderCollectionProxy $first + * @property-read HigherOrderCollectionProxy $flatMap + * @property-read HigherOrderCollectionProxy $groupBy + * @property-read HigherOrderCollectionProxy $keyBy + * @property-read HigherOrderCollectionProxy $map + * @property-read HigherOrderCollectionProxy $max + * @property-read HigherOrderCollectionProxy $min + * @property-read HigherOrderCollectionProxy $partition + * @property-read HigherOrderCollectionProxy $percentage + * @property-read HigherOrderCollectionProxy $reject + * @property-read HigherOrderCollectionProxy $skipUntil + * @property-read HigherOrderCollectionProxy $skipWhile + * @property-read HigherOrderCollectionProxy $some + * @property-read HigherOrderCollectionProxy $sortBy + * @property-read HigherOrderCollectionProxy $sortByDesc + * @property-read HigherOrderCollectionProxy $sum + * @property-read HigherOrderCollectionProxy $takeUntil + * @property-read HigherOrderCollectionProxy $takeWhile + * @property-read HigherOrderCollectionProxy $unique + * @property-read HigherOrderCollectionProxy $unless + * @property-read HigherOrderCollectionProxy $until + * @property-read HigherOrderCollectionProxy $when */ trait EnumeratesValues { diff --git a/types/Support/Collection.php b/types/Support/Collection.php index 94769f8dc8ee..290973923f17 100644 --- a/types/Support/Collection.php +++ b/types/Support/Collection.php @@ -1112,3 +1112,34 @@ public function getWithoutZebras(): Collection $zoo = new Zoo(); assertType('Illuminate\Support\Collection', $zoo->getWithoutZebras()); + +$coll = $zoo->getWithoutZebras(); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->average); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->avg); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->contains); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->doesntContain); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->each); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->every); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->filter); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->first); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->flatMap); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->groupBy); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->keyBy); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->map); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->max); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->min); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->partition); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->percentage); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->reject); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->skipUntil); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->skipWhile); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->some); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->sortBy); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->sortByDesc); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->sum); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->takeUntil); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->takeWhile); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->unique); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->unless); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->until); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->when); diff --git a/types/Support/LazyCollection.php b/types/Support/LazyCollection.php index eb3fab4140f0..17c3fcb63815 100644 --- a/types/Support/LazyCollection.php +++ b/types/Support/LazyCollection.php @@ -1,6 +1,7 @@ + */ + private Collection $animals; + + public function __construct() + { + $this->animals = collect([ + new LazyTiger, + new LazyLion, + new LazyZebra, + ]); + } + + /** + * @return \Illuminate\Support\LazyCollection + */ + public function getWithoutZebras(): LazyCollection + { + return $this->animals->lazy()->filter(fn (LazyAnimal $animal) => ! $animal instanceof LazyZebra); + } +} + +$zoo = new LazyZoo(); + +$coll = $zoo->getWithoutZebras(); + +assertType('Illuminate\Support\LazyCollection', $coll); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->average); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->avg); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->contains); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->doesntContain); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->each); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->every); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->filter); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->first); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->flatMap); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->groupBy); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->keyBy); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->map); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->max); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->min); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->partition); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->percentage); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->reject); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->skipUntil); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->skipWhile); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->some); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->sortBy); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->sortByDesc); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->sum); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->takeUntil); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->takeWhile); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->unique); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->unless); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->until); +assertType('Illuminate\Support\HigherOrderCollectionProxy', $coll->when); From d35f4ffbdff8eb67e7821ac0ccd99d1108d15b39 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 19 Aug 2024 02:06:04 +0000 Subject: [PATCH 367/707] Apply fixes from StyleCI --- types/Support/LazyCollection.php | 1 - 1 file changed, 1 deletion(-) diff --git a/types/Support/LazyCollection.php b/types/Support/LazyCollection.php index 17c3fcb63815..b3b8f73637b4 100644 --- a/types/Support/LazyCollection.php +++ b/types/Support/LazyCollection.php @@ -858,7 +858,6 @@ class CustomLazyCollection extends LazyCollection assertType('User', $user); } - class LazyAnimal { } From 81a0b5b60ff83d7a47177675741c41c1dfe78967 Mon Sep 17 00:00:00 2001 From: Mark Beech Date: Mon, 19 Aug 2024 04:11:25 +0100 Subject: [PATCH 368/707] [11.x] Add `expectsSearch()` assertion for testing prompts that use `search()` and `multisearch()` functions (#51669) * Update PromptsAssertionTest.php * Update ConfiguresPrompts.php * Update PromptsAssertionTest.php * Add tests for search and multisearch assertions * Formatting * Formatting * Add `expectsSearch` method --------- Co-authored-by: Jess Archer --- src/Illuminate/Testing/PendingCommand.php | 16 +++ .../Console/PromptsAssertionTest.php | 103 ++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/src/Illuminate/Testing/PendingCommand.php b/src/Illuminate/Testing/PendingCommand.php index 1d71cf578674..0fc154612cb8 100644 --- a/src/Illuminate/Testing/PendingCommand.php +++ b/src/Illuminate/Testing/PendingCommand.php @@ -135,6 +135,22 @@ public function expectsChoice($question, $answer, $answers, $strict = false) return $this->expectsQuestion($question, $answer); } + /** + * Specify an expected search question with an expected search string, followed by an expected choice question with expected answers. + * + * @param string $question + * @param string|array $answer + * @param string $search + * @param array $answers + * @return $this + */ + public function expectsSearch($question, $answer, $search, $answers) + { + return $this + ->expectsQuestion($question, $search) + ->expectsChoice($question, $answer, $answers); + } + /** * Specify output that should be printed when the command runs. * diff --git a/tests/Integration/Console/PromptsAssertionTest.php b/tests/Integration/Console/PromptsAssertionTest.php index 6822be83fc0d..64076fdddb2e 100644 --- a/tests/Integration/Console/PromptsAssertionTest.php +++ b/tests/Integration/Console/PromptsAssertionTest.php @@ -7,8 +7,10 @@ use Orchestra\Testbench\TestCase; use function Laravel\Prompts\confirm; +use function Laravel\Prompts\multisearch; use function Laravel\Prompts\multiselect; use function Laravel\Prompts\password; +use function Laravel\Prompts\search; use function Laravel\Prompts\select; use function Laravel\Prompts\suggest; use function Laravel\Prompts\text; @@ -269,4 +271,105 @@ public function handle() ->expectsChoice('Which names do you like?', ['None'], ['John', 'Jane', 'Sally', 'Jack']) ->expectsOutput('You like nobody.'); } + + public function testAssertionForSearchPrompt() + { + $this->app[Kernel::class]->registerCommand( + new class extends Command + { + protected $signature = 'test:search'; + + public function handle() + { + $options = collect(['John', 'Jane', 'Sally', 'Jack']); + + $name = search( + label: 'What is your name?', + options: fn (string $value) => strlen($value) > 0 + ? $options->filter(fn ($title) => str_contains($title, $value))->values()->toArray() + : [] + ); + + $this->line("Your name is $name."); + } + } + ); + + $this + ->artisan('test:search') + ->expectsSearch('What is your name?', 'Jane', 'J', ['John', 'Jane', 'Jack']) + ->expectsOutput('Your name is Jane.'); + } + + public function testAssertionForMultisearchPrompt() + { + $this->app[Kernel::class]->registerCommand( + new class extends Command + { + protected $signature = 'test:multisearch'; + + public function handle() + { + $options = collect(['John', 'Jane', 'Sally', 'Jack']); + + $names = multisearch( + label: 'Which names do you like?', + options: fn (string $value) => strlen($value) > 0 + ? $options->filter(fn ($title) => str_contains($title, $value))->values()->toArray() + : [] + ); + + if (empty($names)) { + $this->line('You like nobody.'); + } else { + $this->line(sprintf('You like %s.', implode(', ', $names))); + } + } + } + ); + + $this + ->artisan('test:multisearch') + ->expectsSearch('Which names do you like?', ['John', 'Jane'], 'J', ['John', 'Jane', 'Jack']) + ->expectsOutput('You like John, Jane.'); + + $this + ->artisan('test:multisearch') + ->expectsSearch('Which names do you like?', [], 'J', ['John', 'Jane', 'Jack']) + ->expectsOutput('You like nobody.'); + } + + public function testAssertionForSelectPromptFollowedByMultisearchPrompt() + { + $this->app[Kernel::class]->registerCommand( + new class extends Command + { + protected $signature = 'test:select'; + + public function handle() + { + $name = select( + label: 'What is your name?', + options: ['John', 'Jane'] + ); + + $titles = collect(['Mr', 'Mrs', 'Ms', 'Dr']); + $title = multisearch( + label: 'What is your title?', + options: fn (string $value) => strlen($value) > 0 + ? $titles->filter(fn ($title) => str_contains($title, $value))->values()->toArray() + : [] + ); + + $this->line('I will refer to you '.$title[0].' '.$name.'.'); + } + } + ); + + $this + ->artisan('test:select') + ->expectsChoice('What is your name?', 'Jane', ['John', 'Jane']) + ->expectsSearch('What is your title?', ['Dr'], 'D', ['Dr']) + ->expectsOutput('I will refer to you Dr Jane.'); + } } From 369b585dc77548ee0abb59ba4acf23345e3c6200 Mon Sep 17 00:00:00 2001 From: Rodrigo Pedra Brum Date: Tue, 20 Aug 2024 11:50:34 -0300 Subject: [PATCH 369/707] revert #52510 which added a unneeded function call (#52526) --- src/Illuminate/Support/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/helpers.php b/src/Illuminate/Support/helpers.php index c61986597c3c..d46bf6ffcfd3 100644 --- a/src/Illuminate/Support/helpers.php +++ b/src/Illuminate/Support/helpers.php @@ -475,7 +475,7 @@ function transform($value, callable $callback, $default = null) return $default($value); } - return value($default); + return $default; } } From 9d9d36708d56665b12185493f684abce38ad2d30 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 20 Aug 2024 15:00:52 +0000 Subject: [PATCH 370/707] Update version to v11.21.0 --- src/Illuminate/Foundation/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Application.php b/src/Illuminate/Foundation/Application.php index b0f3e38ae425..211fce8ef438 100755 --- a/src/Illuminate/Foundation/Application.php +++ b/src/Illuminate/Foundation/Application.php @@ -45,7 +45,7 @@ class Application extends Container implements ApplicationContract, CachesConfig * * @var string */ - const VERSION = '11.20.0'; + const VERSION = '11.21.0'; /** * The base path for the Laravel installation. From ecb3fa799a9a221ea1ec6ebc06c8e87afda74ab3 Mon Sep 17 00:00:00 2001 From: driesvints Date: Tue, 20 Aug 2024 15:02:42 +0000 Subject: [PATCH 371/707] Update CHANGELOG --- CHANGELOG.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 549408b74fcd..94f7c17fad56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,38 @@ # Release Notes for 11.x -## [Unreleased](https://github.com/laravel/framework/compare/v11.20.0...11.x) +## [Unreleased](https://github.com/laravel/framework/compare/v11.21.0...11.x) + +## [v11.21.0](https://github.com/laravel/framework/compare/v11.20.0...v11.21.0) - 2024-08-20 + +* [11.x] Test Improvements by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/framework/pull/52402 +* [11.x] Fix docblock for the event dispatcher by [@seriquynh](https://github.com/seriquynh) in https://github.com/laravel/framework/pull/52411 +* [11.x] fix: Update text email template by [@tranvanhieu01012002](https://github.com/tranvanhieu01012002) in https://github.com/laravel/framework/pull/52417 +* [11.x] Make `expectsChoice` assertion more intuitive with associative arrays. by [@jessarcher](https://github.com/jessarcher) in https://github.com/laravel/framework/pull/52408 +* [11.x] Add `resource()` method to Illuminate\Http\Client\Response by [@einar-hansen](https://github.com/einar-hansen) in https://github.com/laravel/framework/pull/52412 +* [10.x] fix: prevent casting empty string to array from triggering json error by [@calebdw](https://github.com/calebdw) in https://github.com/laravel/framework/pull/52415 +* [11.x] Add ResponseInterface mixin to `Illuminate\Http\Client\Response` by [@einar-hansen](https://github.com/einar-hansen) in https://github.com/laravel/framework/pull/52410 +* [11.x] Don't touch BelongsTo relationship when it doesn't exist by [@patrickomeara](https://github.com/patrickomeara) in https://github.com/laravel/framework/pull/52407 +* [11.x] Fix `Factory::afterCreating` callable argument type by [@villfa](https://github.com/villfa) in https://github.com/laravel/framework/pull/52424 +* [11.x] Auto-secure cookies by [@fabricecw](https://github.com/fabricecw) in https://github.com/laravel/framework/pull/52422 +* fix: add missing phpdoc types for Model::$table and Model::$dateFormat by [@taka-oyama](https://github.com/taka-oyama) in https://github.com/laravel/framework/pull/52425 +* [11.x] Add `withoutHeaders` method by [@milwad-dev](https://github.com/milwad-dev) in https://github.com/laravel/framework/pull/52435 +* Checking availability before calling Log::flushSharedContext() method by [@ajaxray](https://github.com/ajaxray) in https://github.com/laravel/framework/pull/52470 +* [11.x] MessageBag errors out when custom rules are created and the class is left out of the message array by [@DanteB918](https://github.com/DanteB918) in https://github.com/laravel/framework/pull/52451 +* Create Notification make command markdown name placeholder from Notif… by [@hosseinakbari-liefermia](https://github.com/hosseinakbari-liefermia) in https://github.com/laravel/framework/pull/52465 +* [11.x] Add `forceDestroy` to `SoftDeletes` by [@jasonmccreary](https://github.com/jasonmccreary) in https://github.com/laravel/framework/pull/52432 +* Make SQLiteProcessor cope with '/' in column names by [@vroomfondle](https://github.com/vroomfondle) in https://github.com/laravel/framework/pull/52490 +* [11.x] Improve Cookie Testing Coverage by [@saMahmoudzadeh](https://github.com/saMahmoudzadeh) in https://github.com/laravel/framework/pull/52472 +* [11.x] Fix for #52436 artisan schema:dump infinite recursion by [@rust17](https://github.com/rust17) in https://github.com/laravel/framework/pull/52492 +* Run prepareNestedBatches on append/prependToChain & chain by [@SabatinoMasala](https://github.com/SabatinoMasala) in https://github.com/laravel/framework/pull/52486 +* [11.x] Enhance DB inspection commands by [@hafezdivandari](https://github.com/hafezdivandari) in https://github.com/laravel/framework/pull/52501 +* [11.x] Constrain key when asserting database has a model by [@patrickomeara](https://github.com/patrickomeara) in https://github.com/laravel/framework/pull/52464 +* Add `between` to `AssertableJson` by [@rudashi](https://github.com/rudashi) in https://github.com/laravel/framework/pull/52479 +* [11.x] Eager asset prefetching strategies for Vite by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/framework/pull/52462 +* [11.x] Support attributes in `app()->call()` by [@innocenzi](https://github.com/innocenzi) in https://github.com/laravel/framework/pull/52428 +* [11.x] Applying `value` Function into the `$default` value of `transform` helper by [@devajmeireles](https://github.com/devajmeireles) in https://github.com/laravel/framework/pull/52510 +* [11.x] Enhanced typing for `HigherOrderCollectionProxy` by [@Voltra](https://github.com/Voltra) in https://github.com/laravel/framework/pull/52484 +* [11.x] Add `expectsSearch()` assertion for testing prompts that use `search()` and `multisearch()` functions by [@JayBizzle](https://github.com/JayBizzle) in https://github.com/laravel/framework/pull/51669 +* [11.x] revert #52510 which added a unneeded function call by [@rodrigopedra](https://github.com/rodrigopedra) in https://github.com/laravel/framework/pull/52526 ## [v11.20.0](https://github.com/laravel/framework/compare/v11.19.0...v11.20.0) - 2024-08-06 From 0a7867f57b81198cc2ad80891d8868609e5f9ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=B3nh=20Nguy=E1=BB=85n?= Date: Wed, 21 Aug 2024 23:01:19 +0700 Subject: [PATCH 372/707] Fix FoundationServiceProvider docblock (#52542) --- .../Foundation/Providers/FoundationServiceProvider.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php b/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php index a1976ac92cce..c3455b92105b 100644 --- a/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php +++ b/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php @@ -135,8 +135,6 @@ public function registerDumper() * Register the "validate" macro on the request. * * @return void - * - * @throws \Illuminate\Validation\ValidationException */ public function registerRequestValidation() { From 14b67c85b8761e52d6d9c9ee0cfb35a8d992eb2c Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 21 Aug 2024 23:01:30 +0700 Subject: [PATCH 373/707] Fix ReflectionParameter @param type on Util::getContextualAttributeFromDependency() (#52541) it should be either add to use statement or make it fqcn --- src/Illuminate/Container/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Container/Util.php b/src/Illuminate/Container/Util.php index ae1ff41fa1cc..ebd345efac27 100644 --- a/src/Illuminate/Container/Util.php +++ b/src/Illuminate/Container/Util.php @@ -77,7 +77,7 @@ public static function getParameterClassName($parameter) /** * Get a contextual attribute from a dependency. * - * @param ReflectionParameter $dependency + * @param \ReflectionParameter $dependency * @return \ReflectionAttribute|null */ public static function getContextualAttributeFromDependency($dependency) From 326d805cdb800166f60faab82e8cc3959c0274a7 Mon Sep 17 00:00:00 2001 From: lorenzolosa <11164571+lorenzolosa@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:02:16 +0200 Subject: [PATCH 374/707] more specific parameter type in CastsInboundAttributes (#52536) --- .../Contracts/Database/Eloquent/CastsInboundAttributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Contracts/Database/Eloquent/CastsInboundAttributes.php b/src/Illuminate/Contracts/Database/Eloquent/CastsInboundAttributes.php index 6a3e2ef18f59..312f7aed4511 100644 --- a/src/Illuminate/Contracts/Database/Eloquent/CastsInboundAttributes.php +++ b/src/Illuminate/Contracts/Database/Eloquent/CastsInboundAttributes.php @@ -12,7 +12,7 @@ interface CastsInboundAttributes * @param \Illuminate\Database\Eloquent\Model $model * @param string $key * @param mixed $value - * @param array $attributes + * @param array $attributes * @return mixed */ public function set(Model $model, string $key, mixed $value, array $attributes); From 401f02685c35b008fa4b93e89facd18884fda445 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Thu, 22 Aug 2024 12:35:19 +1000 Subject: [PATCH 375/707] Unify prefetch API (#52550) --- src/Illuminate/Foundation/Vite.php | 14 +++++++++++++- tests/Foundation/FoundationViteTest.php | 14 +++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/Illuminate/Foundation/Vite.php b/src/Illuminate/Foundation/Vite.php index 747da7b14d08..dcd89477b9fa 100644 --- a/src/Illuminate/Foundation/Vite.php +++ b/src/Illuminate/Foundation/Vite.php @@ -282,11 +282,23 @@ public function usePreloadTagAttributes($attributes) } /** - * Use the "waterfall" prefetching strategy. + * Eagerly prefetch assets. * * @param int|null $concurrency * @return $this */ + public function prefetch($concurrency = null) + { + return $concurrency === null + ? $this->usePrefetchStrategy('aggressive') + : $this->usePrefetchStrategy('waterfall', ['concurrency' => $concurrency]); + } + + /** + * Use the "waterfall" prefetching strategy. + * + * @return $this + */ public function useWaterfallPrefetching(?int $concurrency = null) { return $this->usePrefetchStrategy('waterfall', [ diff --git a/tests/Foundation/FoundationViteTest.php b/tests/Foundation/FoundationViteTest.php index 8f19c8e7d379..94b7332d947e 100644 --- a/tests/Foundation/FoundationViteTest.php +++ b/tests/Foundation/FoundationViteTest.php @@ -1305,7 +1305,7 @@ public function testItCanPrefetchEntrypoint() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->toHtml(); + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->prefetch(concurrency: 3)->toHtml(); $expectedAssets = Js::from([ ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], @@ -1381,7 +1381,7 @@ public function testItHandlesSpecifyingPageWithAppJs() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js', 'resources/js/Pages/Auth/Login.vue'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->toHtml(); + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js', 'resources/js/Pages/Auth/Login.vue'])->useBuildDirectory($buildDir)->prefetch(concurrency: 3)->toHtml(); $expectedAssets = Js::from([ ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], @@ -1411,7 +1411,7 @@ public function testItCanSpecifyWaterfallChunks() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->useWaterfallPrefetching(concurrency: 10)->toHtml(); + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->prefetch(concurrency: 10)->toHtml(); $expectedAssets = Js::from([ ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], @@ -1447,7 +1447,7 @@ public function testItCanPrefetchAggressively() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->useAggressivePrefetching()->toHtml(); + $html = (string) ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->prefetch()->toHtml(); $expectedAssets = Js::from([ ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], @@ -1501,7 +1501,7 @@ public function testAddsAttributesToPrefetchTags() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall'))->useCspNonce('abc123')->toHtml(); + $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js'])->useBuildDirectory($buildDir)->prefetch(concurrency: 3))->useCspNonce('abc123')->toHtml(); $expectedAssets = Js::from([ ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'nonce' => 'abc123', 'fetchpriority' => 'low'], @@ -1537,7 +1537,7 @@ public function testItNormalisesAttributes() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js']))->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->usePreloadTagAttributes([ + $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js']))->useBuildDirectory($buildDir)->prefetch(concurrency: 3)->usePreloadTagAttributes([ 'key' => 'value', 'key-only', 'true-value' => true, @@ -1580,7 +1580,7 @@ public function testItPrefetchesCss() $this->makeViteManifest($manifest, $buildDir); app()->usePublicPath(__DIR__); - $html = (string) ViteFacade::withEntryPoints(['resources/js/admin.js'])->useBuildDirectory($buildDir)->usePrefetchStrategy('waterfall')->toHtml(); + $html = (string) ViteFacade::withEntryPoints(['resources/js/admin.js'])->useBuildDirectory($buildDir)->prefetch(concurrency: 3)->toHtml(); $expectedAssets = Js::from([ ['rel' => 'prefetch', 'href' => "https://example.com/{$buildDir}/assets/ConfirmPassword-CDwcgU8E.js", 'fetchpriority' => 'low'], From cbaca59289fc41bceea4405c5cecb36e40afcef6 Mon Sep 17 00:00:00 2001 From: taylorotwell Date: Thu, 22 Aug 2024 02:35:52 +0000 Subject: [PATCH 376/707] Update facade docblocks --- src/Illuminate/Support/Facades/Vite.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Support/Facades/Vite.php b/src/Illuminate/Support/Facades/Vite.php index 3e9e0299d3c9..faf9f058ed53 100644 --- a/src/Illuminate/Support/Facades/Vite.php +++ b/src/Illuminate/Support/Facades/Vite.php @@ -16,6 +16,7 @@ * @method static \Illuminate\Foundation\Vite useScriptTagAttributes(callable|array $attributes) * @method static \Illuminate\Foundation\Vite useStyleTagAttributes(callable|array $attributes) * @method static \Illuminate\Foundation\Vite usePreloadTagAttributes(callable|array|false $attributes) + * @method static \Illuminate\Foundation\Vite prefetch(int|null $concurrency = null) * @method static \Illuminate\Foundation\Vite useWaterfallPrefetching(int|null $concurrency = null) * @method static \Illuminate\Foundation\Vite useAggressivePrefetching() * @method static \Illuminate\Foundation\Vite usePrefetchStrategy(string|null $strategy, array $config = []) From 8a4a52e784d68583c35aedfc292125c54701c2b8 Mon Sep 17 00:00:00 2001 From: ju5t Date: Thu, 22 Aug 2024 14:51:08 +0200 Subject: [PATCH 377/707] [11.x] Add PDO subclass support for PHP 8.4 (#52538) * feat: add PDO subclass support for PHP 8.4 * chore: remove duplicate parentheses Co-authored-by: Julius Kiekbusch * chore: ignore error as method is available in 8.4 --------- Co-authored-by: Julius Kiekbusch --- src/Illuminate/Database/Connectors/Connector.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Connectors/Connector.php b/src/Illuminate/Database/Connectors/Connector.php index a8674ff7dfd9..dc06068462b8 100755 --- a/src/Illuminate/Database/Connectors/Connector.php +++ b/src/Illuminate/Database/Connectors/Connector.php @@ -62,7 +62,9 @@ public function createConnection($dsn, array $config, array $options) */ protected function createPdoConnection($dsn, $username, $password, $options) { - return new PDO($dsn, $username, $password, $options); + return version_compare(phpversion(), '8.4.0', '<') + ? new PDO($dsn, $username, $password, $options) + : PDO::connect($dsn, $username, $password, $options); /** @phpstan-ignore staticMethod.notFound (PHP 8.4) */ } /** From 2835e2b65b15d1cd665370b32721c917b84c2efd Mon Sep 17 00:00:00 2001 From: Samuel Levy Date: Thu, 22 Aug 2024 23:19:41 +1000 Subject: [PATCH 378/707] [11.x] Handle circular references in model serialization (#52461) * [11.x] Added failing test for serializing circular relations If a circular relationship is set up between two models using `setRelation()` (or similar methods) then calling `$model->relationsToArray()` will call `toArray()` on each related model, which will in turn call `relationsToArray()`. In an instance where one of the related models is an object that has already had `toArray()` called further up the stack, it will infinitely recurse down and result in a stack overflow. The same issue exists with `getQueueableRelations()`, `push()`, and potentially other methods. This adds tests which will fail if one of the known potentially problematic methods gets into a recursive loop. * [11.x] Added PreventsCircularRecursion This adds a trait for Eloquent which can be used to prevent recursively serializing circular references. * [11.x] Changed the name to `withoutRecursion()`, accept a callable default * formatting * [11.x] Delay calling a "default" callback until the last possible second * [11.x] Added additional tests for "callable" defaults --------- Co-authored-by: Taylor Otwell --- .../Concerns/PreventsCircularRecursion.php | 103 +++++++ src/Illuminate/Database/Eloquent/Model.php | 70 ++--- ...eConcernsPreventsCircularRecursionTest.php | 251 ++++++++++++++++++ tests/Database/DatabaseEloquentModelTest.php | 187 +++++++++++++ 4 files changed, 580 insertions(+), 31 deletions(-) create mode 100644 src/Illuminate/Database/Eloquent/Concerns/PreventsCircularRecursion.php create mode 100644 tests/Database/DatabaseConcernsPreventsCircularRecursionTest.php diff --git a/src/Illuminate/Database/Eloquent/Concerns/PreventsCircularRecursion.php b/src/Illuminate/Database/Eloquent/Concerns/PreventsCircularRecursion.php new file mode 100644 index 000000000000..27d69a98b1ae --- /dev/null +++ b/src/Illuminate/Database/Eloquent/Concerns/PreventsCircularRecursion.php @@ -0,0 +1,103 @@ +> + */ + protected static $recursionCache; + + /** + * Prevent a method from being called multiple times on the same object within the same call stack. + * + * @param callable $callback + * @param mixed $default + * @return mixed + */ + protected function withoutRecursion($callback, $default = null) + { + $trace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2); + + $onceable = Onceable::tryFromTrace($trace, $callback); + + $stack = static::getRecursiveCallStack($this); + + if (array_key_exists($onceable->hash, $stack)) { + return is_callable($stack[$onceable->hash]) + ? static::setRecursiveCallValue($this, $onceable->hash, call_user_func($stack[$onceable->hash])) + : $stack[$onceable->hash]; + } + + try { + static::setRecursiveCallValue($this, $onceable->hash, $default); + + return call_user_func($onceable->callable); + } finally { + static::clearRecursiveCallValue($this, $onceable->hash); + } + } + + /** + * Remove an entry from the recursion cache for an object. + * + * @param object $object + * @param string $hash + */ + protected static function clearRecursiveCallValue($object, string $hash) + { + if ($stack = Arr::except(static::getRecursiveCallStack($object), $hash)) { + static::getRecursionCache()->offsetSet($object, $stack); + } elseif (static::getRecursionCache()->offsetExists($object)) { + static::getRecursionCache()->offsetUnset($object); + } + } + + /** + * Get the stack of methods being called recursively for the current object. + * + * @param object $object + * @return array + */ + protected static function getRecursiveCallStack($object): array + { + return static::getRecursionCache()->offsetExists($object) + ? static::getRecursionCache()->offsetGet($object) + : []; + } + + /** + * Get the current recursion cache being used by the model. + * + * @return WeakMap + */ + protected static function getRecursionCache() + { + return static::$recursionCache ??= new WeakMap(); + } + + /** + * Set a value in the recursion cache for the given object and method. + * + * @param object $object + * @param string $hash + * @param mixed $value + * @return mixed + */ + protected static function setRecursiveCallValue($object, string $hash, $value) + { + static::getRecursionCache()->offsetSet( + $object, + tap(static::getRecursiveCallStack($object), fn (&$stack) => $stack[$hash] = $value), + ); + + return static::getRecursiveCallStack($object)[$hash]; + } +} diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 92b8e7d8f324..ea9a1af28651 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -35,6 +35,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt Concerns\HasUniqueIds, Concerns\HidesAttributes, Concerns\GuardsAttributes, + Concerns\PreventsCircularRecursion, ForwardsCalls; /** @use HasCollection<\Illuminate\Database\Eloquent\Collection> */ use HasCollection; @@ -1083,25 +1084,27 @@ protected function decrementQuietly($column, $amount = 1, array $extra = []) */ public function push() { - if (! $this->save()) { - return false; - } - - // To sync all of the relationships to the database, we will simply spin through - // the relationships and save each model via this "push" method, which allows - // us to recurse into all of these nested relations for the model instance. - foreach ($this->relations as $models) { - $models = $models instanceof Collection - ? $models->all() : [$models]; + return $this->withoutRecursion(function () { + if (! $this->save()) { + return false; + } - foreach (array_filter($models) as $model) { - if (! $model->push()) { - return false; + // To sync all of the relationships to the database, we will simply spin through + // the relationships and save each model via this "push" method, which allows + // us to recurse into all of these nested relations for the model instance. + foreach ($this->relations as $models) { + $models = $models instanceof Collection + ? $models->all() : [$models]; + + foreach (array_filter($models) as $model) { + if (! $model->push()) { + return false; + } } } - } - return true; + return true; + }, true); } /** @@ -1657,7 +1660,10 @@ public function callNamedScope($scope, array $parameters = []) */ public function toArray() { - return array_merge($this->attributesToArray(), $this->relationsToArray()); + return $this->withoutRecursion( + fn () => array_merge($this->attributesToArray(), $this->relationsToArray()), + fn () => $this->attributesToArray(), + ); } /** @@ -2004,29 +2010,31 @@ public function getQueueableId() */ public function getQueueableRelations() { - $relations = []; + return $this->withoutRecursion(function () { + $relations = []; - foreach ($this->getRelations() as $key => $relation) { - if (! method_exists($this, $key)) { - continue; - } + foreach ($this->getRelations() as $key => $relation) { + if (! method_exists($this, $key)) { + continue; + } - $relations[] = $key; + $relations[] = $key; - if ($relation instanceof QueueableCollection) { - foreach ($relation->getQueueableRelations() as $collectionValue) { - $relations[] = $key.'.'.$collectionValue; + if ($relation instanceof QueueableCollection) { + foreach ($relation->getQueueableRelations() as $collectionValue) { + $relations[] = $key.'.'.$collectionValue; + } } - } - if ($relation instanceof QueueableEntity) { - foreach ($relation->getQueueableRelations() as $entityValue) { - $relations[] = $key.'.'.$entityValue; + if ($relation instanceof QueueableEntity) { + foreach ($relation->getQueueableRelations() as $entityValue) { + $relations[] = $key.'.'.$entityValue; + } } } - } - return array_unique($relations); + return array_unique($relations); + }, []); } /** diff --git a/tests/Database/DatabaseConcernsPreventsCircularRecursionTest.php b/tests/Database/DatabaseConcernsPreventsCircularRecursionTest.php new file mode 100644 index 000000000000..c04e85957718 --- /dev/null +++ b/tests/Database/DatabaseConcernsPreventsCircularRecursionTest.php @@ -0,0 +1,251 @@ +assertEquals(0, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(0, $instance->instanceStack); + + $this->assertEquals(0, $instance->callStack()); + $this->assertEquals(1, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(1, $instance->instanceStack); + + $this->assertEquals(1, $instance->callStack()); + $this->assertEquals(2, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + } + + public function testRecursiveDefaultCallbackIsCalledOnlyOnRecursion() + { + $instance = new PreventsCircularRecursionWithRecursiveMethod(); + + $this->assertEquals(0, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(0, $instance->instanceStack); + $this->assertEquals(0, $instance->defaultStack); + + $this->assertEquals(['instance' => 1, 'default' => 0], $instance->callCallableDefaultStack()); + $this->assertEquals(1, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(1, $instance->instanceStack); + $this->assertEquals(1, $instance->defaultStack); + + $this->assertEquals(['instance' => 2, 'default' => 1], $instance->callCallableDefaultStack()); + $this->assertEquals(2, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(2, $instance->defaultStack); + } + + public function testRecursiveDefaultCallbackIsCalledOnlyOncePerCallStack() + { + $instance = new PreventsCircularRecursionWithRecursiveMethod(); + + $this->assertEquals(0, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(0, $instance->instanceStack); + $this->assertEquals(0, $instance->defaultStack); + + $this->assertEquals( + [ + ['instance' => 1, 'default' => 0], + ['instance' => 1, 'default' => 0], + ['instance' => 1, 'default' => 0], + ], + $instance->callCallableDefaultStackRepeatedly(), + ); + $this->assertEquals(1, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(1, $instance->instanceStack); + $this->assertEquals(1, $instance->defaultStack); + + $this->assertEquals( + [ + ['instance' => 2, 'default' => 1], + ['instance' => 2, 'default' => 1], + ['instance' => 2, 'default' => 1], + ], + $instance->callCallableDefaultStackRepeatedly(), + ); + $this->assertEquals(2, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(2, $instance->defaultStack); + } + + public function testRecursiveCallsAreLimitedToIndividualInstances() + { + $instance = new PreventsCircularRecursionWithRecursiveMethod(); + $other = $instance->other; + + $this->assertEquals(0, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(0, $instance->instanceStack); + $this->assertEquals(0, $other->instanceStack); + + $instance->callStack(); + $this->assertEquals(1, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(1, $instance->instanceStack); + $this->assertEquals(0, $other->instanceStack); + + $instance->callStack(); + $this->assertEquals(2, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(0, $other->instanceStack); + + $other->callStack(); + $this->assertEquals(3, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(1, $other->instanceStack); + + $other->callStack(); + $this->assertEquals(4, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(2, $other->instanceStack); + } + + public function testRecursiveCallsToCircularReferenceCallsOtherInstanceOnce() + { + $instance = new PreventsCircularRecursionWithRecursiveMethod(); + $other = $instance->other; + + $this->assertEquals(0, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(0, $instance->instanceStack); + $this->assertEquals(0, $other->instanceStack); + + $instance->callOtherStack(); + $this->assertEquals(2, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(1, $instance->instanceStack); + $this->assertEquals(1, $other->instanceStack); + + $instance->callOtherStack(); + $this->assertEquals(4, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(2, $other->instanceStack); + + $other->callOtherStack(); + $this->assertEquals(6, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(3, $other->instanceStack); + $this->assertEquals(3, $instance->instanceStack); + + $other->callOtherStack(); + $this->assertEquals(8, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(4, $other->instanceStack); + $this->assertEquals(4, $instance->instanceStack); + } + + public function testRecursiveCallsToCircularLinkedListCallsEachInstanceOnce() + { + $instance = new PreventsCircularRecursionWithRecursiveMethod(); + $second = $instance->other; + $third = new PreventsCircularRecursionWithRecursiveMethod($second); + $instance->other = $third; + + $this->assertEquals(0, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(0, $instance->instanceStack); + $this->assertEquals(0, $second->instanceStack); + $this->assertEquals(0, $third->instanceStack); + + $instance->callOtherStack(); + $this->assertEquals(3, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(1, $instance->instanceStack); + $this->assertEquals(1, $second->instanceStack); + $this->assertEquals(1, $third->instanceStack); + + $second->callOtherStack(); + $this->assertEquals(6, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(2, $instance->instanceStack); + $this->assertEquals(2, $second->instanceStack); + $this->assertEquals(2, $third->instanceStack); + + $third->callOtherStack(); + $this->assertEquals(9, PreventsCircularRecursionWithRecursiveMethod::$globalStack); + $this->assertEquals(3, $instance->instanceStack); + $this->assertEquals(3, $second->instanceStack); + $this->assertEquals(3, $third->instanceStack); + } +} + +class PreventsCircularRecursionWithRecursiveMethod +{ + use PreventsCircularRecursion; + + public function __construct( + public ?PreventsCircularRecursionWithRecursiveMethod $other = null, + ) { + $this->other ??= new PreventsCircularRecursionWithRecursiveMethod($this); + } + + public static int $globalStack = 0; + public int $instanceStack = 0; + public int $defaultStack = 0; + + public function callStack(): int + { + return $this->withoutRecursion( + function () { + static::$globalStack++; + $this->instanceStack++; + + return $this->callStack(); + }, + $this->instanceStack, + ); + } + + public function callCallableDefaultStack(): array + { + return $this->withoutRecursion( + function () { + static::$globalStack++; + $this->instanceStack++; + + return $this->callCallableDefaultStack(); + }, + fn () => [ + 'instance' => $this->instanceStack, + 'default' => $this->defaultStack++, + ], + ); + } + + public function callCallableDefaultStackRepeatedly(): array + { + return $this->withoutRecursion( + function () { + static::$globalStack++; + $this->instanceStack++; + + return [ + $this->callCallableDefaultStackRepeatedly(), + $this->callCallableDefaultStackRepeatedly(), + $this->callCallableDefaultStackRepeatedly(), + ]; + }, + fn () => [ + 'instance' => $this->instanceStack, + 'default' => $this->defaultStack++, + ], + ); + } + + public function callOtherStack(): int + { + return $this->withoutRecursion( + function () { + $this->other->callStack(); + + return $this->other->callOtherStack(); + }, + $this->instanceStack, + ); + } +} diff --git a/tests/Database/DatabaseEloquentModelTest.php b/tests/Database/DatabaseEloquentModelTest.php index 11757e80384b..d9f73265ffb0 100755 --- a/tests/Database/DatabaseEloquentModelTest.php +++ b/tests/Database/DatabaseEloquentModelTest.php @@ -1156,6 +1156,28 @@ public function testPushManyRelation() $this->assertEquals([2, 3], $model->relationMany->pluck('id')->all()); } + public function testPushCircularRelations() + { + $parent = new EloquentModelWithRecursiveRelationshipsStub(['id' => 1, 'parent_id' => null]); + $lastId = $parent->id; + $parent->setRelation('self', $parent); + + $children = new Collection(); + for ($count = 0; $count < 2; $count++) { + $child = new EloquentModelWithRecursiveRelationshipsStub(['id' => ++$lastId, 'parent_id' => $parent->id]); + $child->setRelation('parent', $parent); + $child->setRelation('self', $child); + $children->push($child); + } + $parent->setRelation('children', $children); + + try { + $this->assertTrue($parent->push()); + } catch (\RuntimeException $e) { + $this->fail($e->getMessage()); + } + } + public function testNewQueryReturnsEloquentQueryBuilder() { $conn = m::mock(Connection::class); @@ -1231,6 +1253,79 @@ public function testToArray() $this->assertSame('appended', $array['appendable']); } + public function testToArrayWithCircularRelations() + { + $parent = new EloquentModelWithRecursiveRelationshipsStub(['id' => 1, 'parent_id' => null]); + $lastId = $parent->id; + $parent->setRelation('self', $parent); + + $children = new Collection(); + for ($count = 0; $count < 2; $count++) { + $child = new EloquentModelWithRecursiveRelationshipsStub(['id' => ++$lastId, 'parent_id' => $parent->id]); + $child->setRelation('parent', $parent); + $child->setRelation('self', $child); + $children->push($child); + } + $parent->setRelation('children', $children); + + try { + $this->assertSame( + [ + 'id' => 1, + 'parent_id' => null, + 'self' => ['id' => 1, 'parent_id' => null], + 'children' => [ + [ + 'id' => 2, + 'parent_id' => 1, + 'parent' => ['id' => 1, 'parent_id' => null], + 'self' => ['id' => 2, 'parent_id' => 1], + ], + [ + 'id' => 3, + 'parent_id' => 1, + 'parent' => ['id' => 1, 'parent_id' => null], + 'self' => ['id' => 3, 'parent_id' => 1], + ], + ], + ], + $parent->toArray() + ); + } catch (\RuntimeException $e) { + $this->fail($e->getMessage()); + } + } + + public function testGetQueueableRelationsWithCircularRelations() + { + $parent = new EloquentModelWithRecursiveRelationshipsStub(['id' => 1, 'parent_id' => null]); + $lastId = $parent->id; + $parent->setRelation('self', $parent); + + $children = new Collection(); + for ($count = 0; $count < 2; $count++) { + $child = new EloquentModelWithRecursiveRelationshipsStub(['id' => ++$lastId, 'parent_id' => $parent->id]); + $child->setRelation('parent', $parent); + $child->setRelation('self', $child); + $children->push($child); + } + $parent->setRelation('children', $children); + + try { + $this->assertSame( + [ + 'self', + 'children', + 'children.parent', + 'children.self', + ], + $parent->getQueueableRelations() + ); + } catch (\RuntimeException $e) { + $this->fail($e->getMessage()); + } + } + public function testVisibleCreatesArrayWhitelist() { $model = new EloquentModelStub; @@ -3683,3 +3778,95 @@ public function set(Model $model, string $key, mixed $value, array $attributes): }; } } + +class EloquentModelWithRecursiveRelationshipsStub extends Model +{ + public $fillable = ['id', 'parent_id']; + + protected static \WeakMap $recursionDetectionCache; + + public function getQueueableRelations() + { + try { + $this->stepIn(); + + return parent::getQueueableRelations(); + } finally { + $this->stepOut(); + } + } + + public function push() + { + try { + $this->stepIn(); + + return parent::push(); + } finally { + $this->stepOut(); + } + } + + public function save(array $options = []) + { + return true; + } + + public function relationsToArray() + { + try { + $this->stepIn(); + + return parent::relationsToArray(); + } finally { + $this->stepOut(); + } + } + + public function parent(): BelongsTo + { + return $this->belongsTo(static::class, 'parent_id'); + } + + public function children(): HasMany + { + return $this->hasMany(static::class, 'parent_id'); + } + + public function self(): BelongsTo + { + return $this->belongsTo(static::class, 'id'); + } + + protected static function getRecursionDetectionCache() + { + return static::$recursionDetectionCache ??= new \WeakMap; + } + + protected function getRecursionDepth(): int + { + $cache = static::getRecursionDetectionCache(); + + return $cache->offsetExists($this) ? $cache->offsetGet($this) : 0; + } + + protected function stepIn(): void + { + $depth = $this->getRecursionDepth(); + + if ($depth > 1) { + throw new \RuntimeException('Recursion detected'); + } + static::getRecursionDetectionCache()->offsetSet($this, $depth + 1); + } + + protected function stepOut(): void + { + $cache = static::getRecursionDetectionCache(); + if ($depth = $this->getRecursionDepth()) { + $cache->offsetSet($this, $depth - 1); + } else { + $cache->offsetUnset($this); + } + } +} From b11c2400fc69e75b9d8a1a4d654a74080242fa64 Mon Sep 17 00:00:00 2001 From: Samuel Levy Date: Fri, 23 Aug 2024 03:26:16 +1000 Subject: [PATCH 379/707] [11.x] Eloquent inverse relations (#51582) * [11.x] Added SupportsInverseRelation and tests * [11.x] Added inverse() to Has* Relations * [11.x] Support for automatically guessing inverse relation * [11.x] Cleaned up Morph* relation guessing * add alias method --------- Co-authored-by: Taylor Otwell --- .../Concerns/SupportsInverseRelations.php | 157 ++++++++ .../Database/Eloquent/Relations/HasMany.php | 17 +- .../Database/Eloquent/Relations/HasOne.php | 7 +- .../Eloquent/Relations/HasOneOrMany.php | 20 +- .../Database/Eloquent/Relations/MorphMany.php | 19 +- .../Database/Eloquent/Relations/MorphOne.php | 9 +- .../Eloquent/Relations/MorphOneOrMany.php | 18 +- ...baseEloquentInverseRelationHasManyTest.php | 309 ++++++++++++++ ...abaseEloquentInverseRelationHasOneTest.php | 246 ++++++++++++ ...seEloquentInverseRelationMorphManyTest.php | 376 ++++++++++++++++++ ...aseEloquentInverseRelationMorphOneTest.php | 276 +++++++++++++ .../DatabaseEloquentInverseRelationTest.php | 364 +++++++++++++++++ 12 files changed, 1795 insertions(+), 23 deletions(-) create mode 100644 src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsInverseRelations.php create mode 100755 tests/Database/DatabaseEloquentInverseRelationHasManyTest.php create mode 100755 tests/Database/DatabaseEloquentInverseRelationHasOneTest.php create mode 100755 tests/Database/DatabaseEloquentInverseRelationMorphManyTest.php create mode 100755 tests/Database/DatabaseEloquentInverseRelationMorphOneTest.php create mode 100755 tests/Database/DatabaseEloquentInverseRelationTest.php diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsInverseRelations.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsInverseRelations.php new file mode 100644 index 000000000000..fa0161520728 --- /dev/null +++ b/src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsInverseRelations.php @@ -0,0 +1,157 @@ +chaperone($relation); + } + + /** + * Instruct Eloquent to link the related models back to the parent after the relationship query has run. + * + * @param string|null $relation + * @return $this + */ + public function chaperone(?string $relation = null) + { + $relation ??= $this->guessInverseRelation(); + + if (! $relation || ! $this->getModel()->isRelation($relation)) { + throw RelationNotFoundException::make($this->getModel(), $relation ?: 'null'); + } + + if ($this->inverseRelationship === null && $relation) { + $this->query->afterQuery(function ($result) { + return $this->inverseRelationship + ? $this->applyInverseRelationToCollection($result, $this->getParent()) + : $result; + }); + } + + $this->inverseRelationship = $relation; + + return $this; + } + + /** + * Guess the name of the inverse relationship. + * + * @return string|null + */ + protected function guessInverseRelation(): string|null + { + return Arr::first( + $this->getPossibleInverseRelations(), + fn ($relation) => $relation && $this->getModel()->isRelation($relation) + ); + } + + /** + * Get the possible inverse relations for the parent model. + * + * @return array + */ + protected function getPossibleInverseRelations(): array + { + return array_filter(array_unique([ + Str::camel(Str::beforeLast($this->getForeignKeyName(), $this->getParent()->getKeyName())), + Str::camel(Str::beforeLast($this->getParent()->getForeignKey(), $this->getParent()->getKeyName())), + Str::camel(class_basename($this->getParent())), + 'owner', + get_class($this->getParent()) === get_class($this->getModel()) ? 'parent' : null, + ])); + } + + /** + * Set the inverse relation on all models in a collection. + * + * @param \Illuminate\Database\Eloquent\Collection $models + * @param \Illuminate\Database\Eloquent\Model|null $parent + * @return \Illuminate\Database\Eloquent\Collection + */ + protected function applyInverseRelationToCollection($models, ?Model $parent = null) + { + $parent ??= $this->getParent(); + + foreach ($models as $model) { + $this->applyInverseRelationToModel($model, $parent); + } + + return $models; + } + + /** + * Set the inverse relation on a model. + * + * @param \Illuminate\Database\Eloquent\Model $model + * @param \Illuminate\Database\Eloquent\Model|null $parent + * @return \Illuminate\Database\Eloquent\Model + */ + protected function applyInverseRelationToModel(Model $model, ?Model $parent = null) + { + if ($inverse = $this->getInverseRelationship()) { + $parent ??= $this->getParent(); + + $model->setRelation($inverse, $parent); + } + + return $model; + } + + /** + * Get the name of the inverse relationship. + * + * @return string|null + */ + public function getInverseRelationship() + { + return $this->inverseRelationship; + } + + /** + * Remove the chaperone / inverse relationship for this query. + * + * Alias of "withoutChaperone". + * + * @return $this + */ + public function withoutInverse() + { + return $this->withoutChaperone(); + } + + /** + * Remove the chaperone / inverse relationship for this query. + * + * @return $this + */ + public function withoutChaperone() + { + $this->inverseRelationship = null; + + return $this; + } +} diff --git a/src/Illuminate/Database/Eloquent/Relations/HasMany.php b/src/Illuminate/Database/Eloquent/Relations/HasMany.php index 2a2a3e6a0e5a..77afb416688f 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasMany.php @@ -19,11 +19,18 @@ class HasMany extends HasOneOrMany */ public function one() { - return HasOne::noConstraints(fn () => new HasOne( - $this->getQuery(), - $this->parent, - $this->foreignKey, - $this->localKey + return HasOne::noConstraints(fn () => tap( + new HasOne( + $this->getQuery(), + $this->parent, + $this->foreignKey, + $this->localKey + ), + function ($hasOne) { + if ($inverse = $this->getInverseRelationship()) { + $hasOne->inverse($inverse); + } + } )); } diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOne.php b/src/Illuminate/Database/Eloquent/Relations/HasOne.php index 20728b5a4d3e..be70cb6d79ef 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOne.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOne.php @@ -99,9 +99,10 @@ public function addOneOfManyJoinSubQueryConstraints(JoinClause $join) */ public function newRelatedInstanceFor(Model $parent) { - return $this->related->newInstance()->setAttribute( - $this->getForeignKeyName(), $parent->{$this->localKey} - ); + return tap($this->related->newInstance(), function ($instance) use ($parent) { + $instance->setAttribute($this->getForeignKeyName(), $parent->{$this->localKey}); + $this->applyInverseRelationToModel($instance, $parent); + }); } /** diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index c65ab5351889..913728b52a10 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -6,6 +6,7 @@ use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\Concerns\InteractsWithDictionary; +use Illuminate\Database\Eloquent\Relations\Concerns\SupportsInverseRelations; use Illuminate\Database\UniqueConstraintViolationException; /** @@ -17,7 +18,7 @@ */ abstract class HasOneOrMany extends Relation { - use InteractsWithDictionary; + use InteractsWithDictionary, SupportsInverseRelations; /** * The foreign key of the parent model. @@ -60,6 +61,7 @@ public function make(array $attributes = []) { return tap($this->related->newInstance($attributes), function ($instance) { $this->setForeignAttributesForCreate($instance); + $this->applyInverseRelationToModel($instance); }); } @@ -153,9 +155,13 @@ protected function matchOneOrMany(array $models, Collection $results, $relation, // matching very convenient and easy work. Then we'll just return them. foreach ($models as $model) { if (isset($dictionary[$key = $this->getDictionaryKey($model->getAttribute($this->localKey))])) { - $model->setRelation( - $relation, $this->getRelationValue($dictionary, $key, $type) - ); + $related = $this->getRelationValue($dictionary, $key, $type); + $model->setRelation($relation, $related); + + // Apply the inverse relation if we have one... + $type === 'one' + ? $this->applyInverseRelationToModel($related, $model) + : $this->applyInverseRelationToCollection($related, $model); } } @@ -363,6 +369,8 @@ public function create(array $attributes = []) $this->setForeignAttributesForCreate($instance); $instance->save(); + + $this->applyInverseRelationToModel($instance); }); } @@ -387,7 +395,7 @@ public function forceCreate(array $attributes = []) { $attributes[$this->getForeignKeyName()] = $this->getParentKey(); - return $this->related->forceCreate($attributes); + return $this->applyInverseRelationToModel($this->related->forceCreate($attributes)); } /** @@ -438,6 +446,8 @@ public function createManyQuietly(iterable $records) protected function setForeignAttributesForCreate(Model $model) { $model->setAttribute($this->getForeignKeyName(), $this->getParentKey()); + + $this->applyInverseRelationToModel($model); } /** @inheritDoc */ diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphMany.php b/src/Illuminate/Database/Eloquent/Relations/MorphMany.php index cd2a51d33ed6..cbdd1d55b586 100755 --- a/src/Illuminate/Database/Eloquent/Relations/MorphMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/MorphMany.php @@ -19,12 +19,19 @@ class MorphMany extends MorphOneOrMany */ public function one() { - return MorphOne::noConstraints(fn () => new MorphOne( - $this->getQuery(), - $this->getParent(), - $this->morphType, - $this->foreignKey, - $this->localKey + return MorphOne::noConstraints(fn () => tap( + new MorphOne( + $this->getQuery(), + $this->getParent(), + $this->morphType, + $this->foreignKey, + $this->localKey + ), + function ($morphOne) { + if ($inverse = $this->getInverseRelationship()) { + $morphOne->inverse($inverse); + } + } )); } diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphOne.php b/src/Illuminate/Database/Eloquent/Relations/MorphOne.php index 34429fdcd112..e9d7dd267518 100755 --- a/src/Illuminate/Database/Eloquent/Relations/MorphOne.php +++ b/src/Illuminate/Database/Eloquent/Relations/MorphOne.php @@ -101,9 +101,12 @@ public function addOneOfManyJoinSubQueryConstraints(JoinClause $join) */ public function newRelatedInstanceFor(Model $parent) { - return $this->related->newInstance() - ->setAttribute($this->getForeignKeyName(), $parent->{$this->localKey}) - ->setAttribute($this->getMorphType(), $this->morphClass); + return tap($this->related->newInstance(), function ($instance) use ($parent) { + $instance->setAttribute($this->getForeignKeyName(), $parent->{$this->localKey}) + ->setAttribute($this->getMorphType(), $this->morphClass); + + $this->applyInverseRelationToModel($instance, $parent); + }); } /** diff --git a/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php index 248e92abde7c..3478f73859d4 100755 --- a/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php @@ -4,6 +4,7 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Str; /** * @template TRelatedModel of \Illuminate\Database\Eloquent\Model @@ -80,7 +81,7 @@ public function forceCreate(array $attributes = []) $attributes[$this->getForeignKeyName()] = $this->getParentKey(); $attributes[$this->getMorphType()] = $this->morphClass; - return $this->related->forceCreate($attributes); + return $this->applyInverseRelationToModel($this->related->forceCreate($attributes)); } /** @@ -94,6 +95,8 @@ protected function setForeignAttributesForCreate(Model $model) $model->{$this->getForeignKeyName()} = $this->getParentKey(); $model->{$this->getMorphType()} = $this->morphClass; + + $this->applyInverseRelationToModel($model); } /** @@ -154,4 +157,17 @@ public function getMorphClass() { return $this->morphClass; } + + /** + * Get the possible inverse relations for the parent model. + * + * @return array + */ + protected function getPossibleInverseRelations(): array + { + return array_unique([ + Str::beforeLast($this->getMorphType(), '_type'), + ...parent::getPossibleInverseRelations(), + ]); + } } diff --git a/tests/Database/DatabaseEloquentInverseRelationHasManyTest.php b/tests/Database/DatabaseEloquentInverseRelationHasManyTest.php new file mode 100755 index 000000000000..47f597dc04b2 --- /dev/null +++ b/tests/Database/DatabaseEloquentInverseRelationHasManyTest.php @@ -0,0 +1,309 @@ +addConnection([ + 'driver' => 'sqlite', + 'database' => ':memory:', + ]); + $db->bootEloquent(); + $db->setAsGlobal(); + + $this->createSchema(); + } + + protected function createSchema() + { + $this->schema()->create('test_users', function ($table) { + $table->increments('id'); + $table->timestamps(); + }); + + $this->schema()->create('test_posts', function ($table) { + $table->increments('id'); + $table->foreignId('user_id'); + $table->timestamps(); + }); + } + + /** + * Tear down the database schema. + * + * @return void + */ + protected function tearDown(): void + { + $this->schema()->drop('test_users'); + $this->schema()->drop('test_posts'); + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + HasManyInverseUserModel::factory()->count(3)->withPosts()->create(); + $users = HasManyInverseUserModel::all(); + + foreach ($users as $user) { + $this->assertFalse($user->relationLoaded('posts')); + foreach ($user->posts as $post) { + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + HasManyInverseUserModel::factory()->count(3)->withPosts()->create(); + $users = HasManyInverseUserModel::with('posts')->get(); + + foreach ($users as $user) { + $posts = $user->getRelation('posts'); + + foreach ($posts as $post) { + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + } + + public function testHasLatestOfManyInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + HasManyInverseUserModel::factory()->count(3)->withPosts()->create(); + $users = HasManyInverseUserModel::all(); + + foreach ($users as $user) { + $this->assertFalse($user->relationLoaded('lastPost')); + $post = $user->lastPost; + + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testHasLatestOfManyInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + HasManyInverseUserModel::factory()->count(3)->withPosts()->create(); + $users = HasManyInverseUserModel::with('lastPost')->get(); + + foreach ($users as $user) { + $post = $user->getRelation('lastPost'); + + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testOneOfManyInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + HasManyInverseUserModel::factory()->count(3)->withPosts()->create(); + $users = HasManyInverseUserModel::all(); + + foreach ($users as $user) { + $this->assertFalse($user->relationLoaded('firstPost')); + $post = $user->firstPost; + + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testOneOfManyInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + HasManyInverseUserModel::factory()->count(3)->withPosts()->create(); + $users = HasManyInverseUserModel::with('firstPost')->get(); + + foreach ($users as $user) { + $post = $user->getRelation('firstPost'); + + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenMakingMany() + { + $user = HasManyInverseUserModel::create(); + + $posts = $user->posts()->makeMany(array_fill(0, 3, [])); + + foreach ($posts as $post) { + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenCreatingMany() + { + $user = HasManyInverseUserModel::create(); + + $posts = $user->posts()->createMany(array_fill(0, 3, [])); + + foreach ($posts as $post) { + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenCreatingManyQuietly() + { + $user = HasManyInverseUserModel::create(); + + $posts = $user->posts()->createManyQuietly(array_fill(0, 3, [])); + + foreach ($posts as $post) { + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenSavingMany() + { + $user = HasManyInverseUserModel::create(); + + $posts = array_fill(0, 3, new HasManyInversePostModel); + + $user->posts()->saveMany($posts); + + foreach ($posts as $post) { + $this->assertTrue($post->relationLoaded('user')); + $this->assertSame($user, $post->user); + } + } + + public function testHasManyInverseRelationIsProperlySetToParentWhenUpdatingMany() + { + $user = HasManyInverseUserModel::create(); + + $posts = HasManyInversePostModel::factory()->count(3)->create(); + + foreach ($posts as $post) { + $this->assertTrue($user->isNot($post->user)); + } + + $user->posts()->saveMany($posts); + + foreach ($posts as $post) { + $this->assertSame($user, $post->user); + } + } + + /** + * Helpers... + */ + + /** + * Get a database connection instance. + * + * @return \Illuminate\Database\Connection + */ + protected function connection($connection = 'default') + { + return Eloquent::getConnectionResolver()->connection($connection); + } + + /** + * Get a schema builder instance. + * + * @return \Illuminate\Database\Schema\Builder + */ + protected function schema($connection = 'default') + { + return $this->connection($connection)->getSchemaBuilder(); + } +} + +class HasManyInverseUserModel extends Model +{ + use HasFactory; + + protected $table = 'test_users'; + protected $fillable = ['id']; + + protected static function newFactory() + { + return new HasManyInverseUserModelFactory(); + } + + public function posts(): HasMany + { + return $this->hasMany(HasManyInversePostModel::class, 'user_id')->inverse('user'); + } + + public function lastPost(): HasOne + { + return $this->hasOne(HasManyInversePostModel::class, 'user_id')->latestOfMany()->inverse('user'); + } + + public function firstPost(): HasOne + { + return $this->posts()->one(); + } +} + +class HasManyInverseUserModelFactory extends Factory +{ + protected $model = HasManyInverseUserModel::class; + + public function definition() + { + return []; + } + + public function withPosts(int $count = 3) + { + return $this->afterCreating(function (HasManyInverseUserModel $model) use ($count) { + HasManyInversePostModel::factory()->recycle($model)->count($count)->create(); + }); + } +} + +class HasManyInversePostModel extends Model +{ + use HasFactory; + + protected $table = 'test_posts'; + protected $fillable = ['id', 'user_id']; + + protected static function newFactory() + { + return new HasManyInversePostModelFactory(); + } + + public function user(): BelongsTo + { + return $this->belongsTo(HasManyInverseUserModel::class, 'user_id'); + } +} + +class HasManyInversePostModelFactory extends Factory +{ + protected $model = HasManyInversePostModel::class; + + public function definition() + { + return [ + 'user_id' => HasManyInverseUserModel::factory(), + ]; + } +} diff --git a/tests/Database/DatabaseEloquentInverseRelationHasOneTest.php b/tests/Database/DatabaseEloquentInverseRelationHasOneTest.php new file mode 100755 index 000000000000..4667ab091fc2 --- /dev/null +++ b/tests/Database/DatabaseEloquentInverseRelationHasOneTest.php @@ -0,0 +1,246 @@ +addConnection([ + 'driver' => 'sqlite', + 'database' => ':memory:', + ]); + $db->bootEloquent(); + $db->setAsGlobal(); + + $this->createSchema(); + } + + protected function createSchema() + { + $this->schema()->create('test_parent', function ($table) { + $table->increments('id'); + $table->timestamps(); + }); + + $this->schema()->create('test_child', function ($table) { + $table->increments('id'); + $table->foreignId('parent_id')->unique(); + $table->timestamps(); + }); + } + + /** + * Tear down the database schema. + * + * @return void + */ + protected function tearDown(): void + { + $this->schema()->drop('test_parent'); + $this->schema()->drop('test_child'); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + HasOneInverseChildModel::factory(5)->create(); + $models = HasOneInverseParentModel::all(); + + foreach ($models as $parent) { + $this->assertFalse($parent->relationLoaded('child')); + $child = $parent->child; + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + HasOneInverseChildModel::factory(5)->create(); + + $models = HasOneInverseParentModel::with('child')->get(); + + foreach ($models as $parent) { + $child = $parent->child; + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenMaking() + { + $parent = HasOneInverseParentModel::create(); + + $child = $parent->child()->make(); + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenCreating() + { + $parent = HasOneInverseParentModel::create(); + + $child = $parent->child()->create(); + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenCreatingQuietly() + { + $parent = HasOneInverseParentModel::create(); + + $child = $parent->child()->createQuietly(); + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenForceCreating() + { + $parent = HasOneInverseParentModel::create(); + + $child = $parent->child()->forceCreate(); + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenSaving() + { + $parent = HasOneInverseParentModel::create(); + $child = HasOneInverseChildModel::make(); + + $this->assertFalse($child->relationLoaded('parent')); + $parent->child()->save($child); + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenSavingQuietly() + { + $parent = HasOneInverseParentModel::create(); + $child = HasOneInverseChildModel::make(); + + $this->assertFalse($child->relationLoaded('parent')); + $parent->child()->saveQuietly($child); + + $this->assertTrue($child->relationLoaded('parent')); + $this->assertSame($parent, $child->parent); + } + + public function testHasOneInverseRelationIsProperlySetToParentWhenUpdating() + { + $parent = HasOneInverseParentModel::create(); + $child = HasOneInverseChildModel::factory()->create(); + + $this->assertTrue($parent->isNot($child->parent)); + + $parent->child()->save($child); + + $this->assertTrue($parent->is($child->parent)); + $this->assertSame($parent, $child->parent); + } + + /** + * Helpers... + */ + + /** + * Get a database connection instance. + * + * @return \Illuminate\Database\Connection + */ + protected function connection($connection = 'default') + { + return Eloquent::getConnectionResolver()->connection($connection); + } + + /** + * Get a schema builder instance. + * + * @return \Illuminate\Database\Schema\Builder + */ + protected function schema($connection = 'default') + { + return $this->connection($connection)->getSchemaBuilder(); + } +} + +class HasOneInverseParentModel extends Model +{ + use HasFactory; + + protected $table = 'test_parent'; + + protected $fillable = ['id']; + + protected static function newFactory() + { + return new HasOneInverseParentModelFactory(); + } + + public function child(): HasOne + { + return $this->hasOne(HasOneInverseChildModel::class, 'parent_id')->inverse('parent'); + } +} + +class HasOneInverseParentModelFactory extends Factory +{ + protected $model = HasOneInverseParentModel::class; + + public function definition() + { + return []; + } +} + +class HasOneInverseChildModel extends Model +{ + use HasFactory; + + protected $table = 'test_child'; + protected $fillable = ['id', 'parent_id']; + + protected static function newFactory() + { + return new HasOneInverseChildModelFactory(); + } + + public function parent(): BelongsTo + { + return $this->belongsTo(HasOneInverseParentModel::class, 'parent_id'); + } +} + +class HasOneInverseChildModelFactory extends Factory +{ + protected $model = HasOneInverseChildModel::class; + + public function definition() + { + return [ + 'parent_id' => HasOneInverseParentModel::factory(), + ]; + } +} diff --git a/tests/Database/DatabaseEloquentInverseRelationMorphManyTest.php b/tests/Database/DatabaseEloquentInverseRelationMorphManyTest.php new file mode 100755 index 000000000000..d7e66ef906d3 --- /dev/null +++ b/tests/Database/DatabaseEloquentInverseRelationMorphManyTest.php @@ -0,0 +1,376 @@ +addConnection([ + 'driver' => 'sqlite', + 'database' => ':memory:', + ]); + $db->bootEloquent(); + $db->setAsGlobal(); + + $this->createSchema(); + } + + protected function createSchema() + { + $this->schema()->create('test_posts', function ($table) { + $table->increments('id'); + $table->timestamps(); + }); + + $this->schema()->create('test_comments', function ($table) { + $table->increments('id'); + $table->morphs('commentable'); + $table->timestamps(); + }); + } + + /** + * Tear down the database schema. + * + * @return void + */ + protected function tearDown(): void + { + $this->schema()->drop('test_posts'); + $this->schema()->drop('test_comments'); + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphManyInversePostModel::factory()->withComments()->count(3)->create(); + $posts = MorphManyInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('comments')); + $comments = $post->comments; + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphManyInversePostModel::factory()->withComments()->count(3)->create(); + $posts = MorphManyInversePostModel::with('comments')->get(); + + foreach ($posts as $post) { + $comments = $post->getRelation('comments'); + + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + } + + public function testMorphManyGuessedInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphManyInversePostModel::factory()->withComments()->count(3)->create(); + $posts = MorphManyInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('guessedComments')); + $comments = $post->guessedComments; + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + } + + public function testMorphManyGuessedInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphManyInversePostModel::factory()->withComments()->count(3)->create(); + $posts = MorphManyInversePostModel::with('guessedComments')->get(); + + foreach ($posts as $post) { + $comments = $post->getRelation('guessedComments'); + + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + } + + public function testMorphLatestOfManyInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphManyInversePostModel::factory()->count(3)->withComments()->create(); + $posts = MorphManyInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('lastComment')); + $comment = $post->lastComment; + + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphLatestOfManyInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphManyInversePostModel::factory()->count(3)->withComments()->create(); + $posts = MorphManyInversePostModel::with('lastComment')->get(); + + foreach ($posts as $post) { + $comment = $post->getRelation('lastComment'); + + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphLatestOfManyGuessedInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphManyInversePostModel::factory()->count(3)->withComments()->create(); + $posts = MorphManyInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('guessedLastComment')); + $comment = $post->guessedLastComment; + + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphLatestOfManyGuessedInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphManyInversePostModel::factory()->count(3)->withComments()->create(); + $posts = MorphManyInversePostModel::with('guessedLastComment')->get(); + + foreach ($posts as $post) { + $comment = $post->getRelation('guessedLastComment'); + + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphOneOfManyInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphManyInversePostModel::factory()->count(3)->withComments()->create(); + $posts = MorphManyInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('firstComment')); + $comment = $post->firstComment; + + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphOneOfManyInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphManyInversePostModel::factory()->count(3)->withComments()->create(); + $posts = MorphManyInversePostModel::with('firstComment')->get(); + + foreach ($posts as $post) { + $comment = $post->getRelation('firstComment'); + + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenMakingMany() + { + $post = MorphManyInversePostModel::create(); + + $comments = $post->comments()->makeMany(array_fill(0, 3, [])); + + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenCreatingMany() + { + $post = MorphManyInversePostModel::create(); + + $comments = $post->comments()->createMany(array_fill(0, 3, [])); + + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenCreatingManyQuietly() + { + $post = MorphManyInversePostModel::create(); + + $comments = $post->comments()->createManyQuietly(array_fill(0, 3, [])); + + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenSavingMany() + { + $post = MorphManyInversePostModel::create(); + $comments = array_fill(0, 3, new MorphManyInverseCommentModel); + + $post->comments()->saveMany($comments); + + foreach ($comments as $comment) { + $this->assertTrue($comment->relationLoaded('commentable')); + $this->assertSame($post, $comment->commentable); + } + } + + public function testMorphManyInverseRelationIsProperlySetToParentWhenUpdatingMany() + { + $post = MorphManyInversePostModel::create(); + $comments = MorphManyInverseCommentModel::factory()->count(3)->create(); + + foreach ($comments as $comment) { + $this->assertTrue($post->isNot($comment->commentable)); + } + + $post->comments()->saveMany($comments); + + foreach ($comments as $comment) { + $this->assertSame($post, $comment->commentable); + } + } + + /** + * Helpers... + */ + + /** + * Get a database connection instance. + * + * @return \Illuminate\Database\Connection + */ + protected function connection($connection = 'default') + { + return Eloquent::getConnectionResolver()->connection($connection); + } + + /** + * Get a schema builder instance. + * + * @return \Illuminate\Database\Schema\Builder + */ + protected function schema($connection = 'default') + { + return $this->connection($connection)->getSchemaBuilder(); + } +} + +class MorphManyInversePostModel extends Model +{ + use HasFactory; + + protected $table = 'test_posts'; + protected $fillable = ['id']; + + protected static function newFactory() + { + return new MorphManyInversePostModelFactory(); + } + + public function comments(): MorphMany + { + return $this->morphMany(MorphManyInverseCommentModel::class, 'commentable')->inverse('commentable'); + } + + public function guessedComments(): MorphMany + { + return $this->morphMany(MorphManyInverseCommentModel::class, 'commentable')->inverse(); + } + + public function lastComment(): MorphOne + { + return $this->morphOne(MorphManyInverseCommentModel::class, 'commentable')->latestOfMany()->inverse('commentable'); + } + + public function guessedLastComment(): MorphOne + { + return $this->morphOne(MorphManyInverseCommentModel::class, 'commentable')->latestOfMany()->inverse(); + } + + public function firstComment(): MorphOne + { + return $this->comments()->one(); + } +} + +class MorphManyInversePostModelFactory extends Factory +{ + protected $model = MorphManyInversePostModel::class; + + public function definition() + { + return []; + } + + public function withComments(int $count = 3) + { + return $this->afterCreating(function (MorphManyInversePostModel $model) use ($count) { + MorphManyInverseCommentModel::factory()->recycle($model)->count($count)->create(); + }); + } +} + +class MorphManyInverseCommentModel extends Model +{ + use HasFactory; + + protected $table = 'test_comments'; + protected $fillable = ['id', 'commentable_type', 'commentable_id']; + + protected static function newFactory() + { + return new MorphManyInverseCommentModelFactory(); + } + + public function commentable(): MorphTo + { + return $this->morphTo('commentable'); + } +} + +class MorphManyInverseCommentModelFactory extends Factory +{ + protected $model = MorphManyInverseCommentModel::class; + + public function definition() + { + return [ + 'commentable_type' => MorphManyInversePostModel::class, + 'commentable_id' => MorphManyInversePostModel::factory(), + ]; + } +} diff --git a/tests/Database/DatabaseEloquentInverseRelationMorphOneTest.php b/tests/Database/DatabaseEloquentInverseRelationMorphOneTest.php new file mode 100755 index 000000000000..25ee5baf9e81 --- /dev/null +++ b/tests/Database/DatabaseEloquentInverseRelationMorphOneTest.php @@ -0,0 +1,276 @@ +addConnection([ + 'driver' => 'sqlite', + 'database' => ':memory:', + ]); + $db->bootEloquent(); + $db->setAsGlobal(); + + $this->createSchema(); + } + + protected function createSchema() + { + $this->schema()->create('test_posts', function ($table) { + $table->increments('id'); + $table->timestamps(); + }); + + $this->schema()->create('test_images', function ($table) { + $table->increments('id'); + $table->morphs('imageable'); + $table->timestamps(); + }); + } + + /** + * Tear down the database schema. + * + * @return void + */ + protected function tearDown(): void + { + $this->schema()->drop('test_posts'); + $this->schema()->drop('test_images'); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphOneInverseImageModel::factory(6)->create(); + $posts = MorphOneInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('image')); + $image = $post->image; + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphOneInverseImageModel::factory(6)->create(); + $posts = MorphOneInversePostModel::with('image')->get(); + + foreach ($posts as $post) { + $image = $post->getRelation('image'); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + } + + public function testMorphOneGuessedInverseRelationIsProperlySetToParentWhenLazyLoaded() + { + MorphOneInverseImageModel::factory(6)->create(); + $posts = MorphOneInversePostModel::all(); + + foreach ($posts as $post) { + $this->assertFalse($post->relationLoaded('guessedImage')); + $image = $post->guessedImage; + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + } + + public function testMorphOneGuessedInverseRelationIsProperlySetToParentWhenEagerLoaded() + { + MorphOneInverseImageModel::factory(6)->create(); + $posts = MorphOneInversePostModel::with('guessedImage')->get(); + + foreach ($posts as $post) { + $image = $post->getRelation('guessedImage'); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenMaking() + { + $post = MorphOneInversePostModel::create(); + + $image = $post->image()->make(); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenCreating() + { + $post = MorphOneInversePostModel::create(); + + $image = $post->image()->create(); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenCreatingQuietly() + { + $post = MorphOneInversePostModel::create(); + + $image = $post->image()->createQuietly(); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenForceCreating() + { + $post = MorphOneInversePostModel::create(); + + $image = $post->image()->forceCreate(); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenSaving() + { + $post = MorphOneInversePostModel::create(); + $image = MorphOneInverseImageModel::make(); + + $this->assertFalse($image->relationLoaded('imageable')); + $post->image()->save($image); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenSavingQuietly() + { + $post = MorphOneInversePostModel::create(); + $image = MorphOneInverseImageModel::make(); + + $this->assertFalse($image->relationLoaded('imageable')); + $post->image()->saveQuietly($image); + + $this->assertTrue($image->relationLoaded('imageable')); + $this->assertSame($post, $image->imageable); + } + + public function testMorphOneInverseRelationIsProperlySetToParentWhenUpdating() + { + $post = MorphOneInversePostModel::create(); + $image = MorphOneInverseImageModel::factory()->create(); + + $this->assertTrue($post->isNot($image->imageable)); + + $post->image()->save($image); + + $this->assertTrue($post->is($image->imageable)); + $this->assertSame($post, $image->imageable); + } + + /** + * Helpers... + */ + + /** + * Get a database connection instance. + * + * @return \Illuminate\Database\Connection + */ + protected function connection($connection = 'default') + { + return Eloquent::getConnectionResolver()->connection($connection); + } + + /** + * Get a schema builder instance. + * + * @return \Illuminate\Database\Schema\Builder + */ + protected function schema($connection = 'default') + { + return $this->connection($connection)->getSchemaBuilder(); + } +} + +class MorphOneInversePostModel extends Model +{ + use HasFactory; + + protected $table = 'test_posts'; + protected $fillable = ['id']; + + protected static function newFactory() + { + return new MorphOneInversePostModelFactory(); + } + + public function image(): MorphOne + { + return $this->morphOne(MorphOneInverseImageModel::class, 'imageable')->inverse('imageable'); + } + + public function guessedImage(): MorphOne + { + return $this->morphOne(MorphOneInverseImageModel::class, 'imageable')->inverse(); + } +} + +class MorphOneInversePostModelFactory extends Factory +{ + protected $model = MorphOneInversePostModel::class; + + public function definition() + { + return []; + } +} + +class MorphOneInverseImageModel extends Model +{ + use HasFactory; + + protected $table = 'test_images'; + protected $fillable = ['id', 'imageable_type', 'imageable_id']; + + protected static function newFactory() + { + return new MorphOneInverseImageModelFactory(); + } + + public function imageable(): MorphTo + { + return $this->morphTo('imageable'); + } +} + +class MorphOneInverseImageModelFactory extends Factory +{ + protected $model = MorphOneInverseImageModel::class; + + public function definition() + { + return [ + 'imageable_type' => MorphOneInversePostModel::class, + 'imageable_id' => MorphOneInversePostModel::factory(), + ]; + } +} diff --git a/tests/Database/DatabaseEloquentInverseRelationTest.php b/tests/Database/DatabaseEloquentInverseRelationTest.php new file mode 100755 index 000000000000..100921ea18da --- /dev/null +++ b/tests/Database/DatabaseEloquentInverseRelationTest.php @@ -0,0 +1,364 @@ +shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + $builder->shouldReceive('afterQuery')->never(); + + new HasInverseRelationStub($builder, new HasInverseRelationParentStub()); + } + + public function testBuilderCallbackIsNotSetIfInverseRelationIsEmptyString() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + $builder->shouldReceive('afterQuery')->never(); + + $this->expectException(RelationNotFoundException::class); + + (new HasInverseRelationStub($builder, new HasInverseRelationParentStub()))->inverse(''); + } + + public function testBuilderCallbackIsNotSetIfInverseRelationshipDoesNotExist() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + $builder->shouldReceive('afterQuery')->never(); + + $this->expectException(RelationNotFoundException::class); + + (new HasInverseRelationStub($builder, new HasInverseRelationParentStub()))->inverse('foo'); + } + + public function testWithoutInverseMethodRemovesInverseRelation() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + $builder->shouldReceive('afterQuery')->once()->andReturnSelf(); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub())); + $this->assertNull($relation->getInverseRelationship()); + + $relation->inverse('test'); + $this->assertSame('test', $relation->getInverseRelationship()); + + $relation->withoutInverse(); + $this->assertNull($relation->getInverseRelationship()); + } + + public function testBuilderCallbackIsAppliedWhenInverseRelationIsSet() + { + $parent = new HasInverseRelationParentStub(); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + $builder->shouldReceive('afterQuery')->withArgs(function (\Closure $callback) use ($parent) { + $relation = (new \ReflectionFunction($callback))->getClosureThis(); + + return $relation instanceof HasInverseRelationStub && $relation->getParent() === $parent; + })->once()->andReturnSelf(); + + (new HasInverseRelationStub($builder, $parent))->inverse('test'); + } + + public function testBuilderCallbackAppliesInverseRelationToAllModelsInResult() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + + // Capture the callback so that we can manually call it. + $afterQuery = null; + $builder->shouldReceive('afterQuery')->withArgs(function (\Closure $callback) use (&$afterQuery) { + return (bool) $afterQuery = $callback; + })->once()->andReturnSelf(); + + $parent = new HasInverseRelationParentStub(); + (new HasInverseRelationStub($builder, $parent))->inverse('test'); + + $results = new Collection(array_fill(0, 5, new HasInverseRelationRelatedStub())); + + foreach ($results as $model) { + $this->assertEmpty($model->getRelations()); + $this->assertFalse($model->relationLoaded('test')); + } + + $results = $afterQuery($results); + + foreach ($results as $model) { + $this->assertNotEmpty($model->getRelations()); + $this->assertTrue($model->relationLoaded('test')); + $this->assertSame($parent, $model->test); + } + } + + public function testInverseRelationIsNotSetIfInverseRelationIsUnset() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationRelatedStub()); + + // Capture the callback so that we can manually call it. + $afterQuery = null; + $builder->shouldReceive('afterQuery')->withArgs(function (\Closure $callback) use (&$afterQuery) { + return (bool) $afterQuery = $callback; + })->once()->andReturnSelf(); + + $parent = new HasInverseRelationParentStub(); + $relation = (new HasInverseRelationStub($builder, $parent)); + $relation->inverse('test'); + + $results = new Collection(array_fill(0, 5, new HasInverseRelationRelatedStub())); + foreach ($results as $model) { + $this->assertEmpty($model->getRelations()); + } + $results = $afterQuery($results); + foreach ($results as $model) { + $this->assertNotEmpty($model->getRelations()); + $this->assertSame($parent, $model->getRelation('test')); + } + + // Reset the inverse relation + $relation->withoutInverse(); + + $results = new Collection(array_fill(0, 5, new HasInverseRelationRelatedStub())); + foreach ($results as $model) { + $this->assertEmpty($model->getRelations()); + } + foreach ($results as $model) { + $this->assertEmpty($model->getRelations()); + } + } + + public function testProvidesPossibleInverseRelationBasedOnParent() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasOneInverseChildModel); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub)); + + $possibleRelations = ['hasInverseRelationParentStub', 'parentStub', 'owner']; + $this->assertSame($possibleRelations, array_values($relation->exposeGetPossibleInverseRelations())); + } + + public function testProvidesPossibleInverseRelationBasedOnForeignKey() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationParentStub); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub, 'test_id')); + + $this->assertTrue(in_array('test', $relation->exposeGetPossibleInverseRelations())); + } + + public function testProvidesPossibleRecursiveRelationsIfRelatedIsTheSameClassAsParent() + { + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn(new HasInverseRelationParentStub); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub)); + + $this->assertTrue(in_array('parent', $relation->exposeGetPossibleInverseRelations())); + } + + #[DataProvider('guessedParentRelationsDataProvider')] + public function testGuessesInverseRelationBasedOnParent($guessedRelation) + { + $related = m::mock(Model::class); + $related->shouldReceive('isRelation')->andReturnUsing(fn ($relation) => $relation === $guessedRelation); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn($related); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub)); + + $this->assertSame($guessedRelation, $relation->exposeGuessInverseRelation()); + } + + public function testGuessesPossibleInverseRelationBasedOnForeignKey() + { + $related = m::mock(Model::class); + $related->shouldReceive('isRelation')->andReturnUsing(fn ($relation) => $relation === 'test'); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn($related); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub, 'test_id')); + + $this->assertSame('test', $relation->exposeGuessInverseRelation()); + } + + public function testGuessesRecursiveInverseRelationsIfRelatedIsSameClassAsParent() + { + $related = m::mock(Model::class); + $related->shouldReceive('isRelation')->andReturnUsing(fn ($relation) => $relation === 'parent'); + + $parent = clone $related; + $parent->shouldReceive('getForeignKey')->andReturn('recursive_parent_id'); + $parent->shouldReceive('getKeyName')->andReturn('id'); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn($related); + + $relation = (new HasInverseRelationStub($builder, $parent)); + + $this->assertSame('parent', $relation->exposeGuessInverseRelation()); + } + + #[DataProvider('guessedParentRelationsDataProvider')] + public function testSetsGuessedInverseRelationBasedOnParent($guessedRelation) + { + $related = m::mock(Model::class); + $related->shouldReceive('isRelation')->andReturnUsing(fn ($relation) => $relation === $guessedRelation); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn($related); + $builder->shouldReceive('afterQuery')->once()->andReturnSelf(); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub))->inverse(); + + $this->assertSame($guessedRelation, $relation->getInverseRelationship()); + } + + public function testSetsRecursiveInverseRelationsIfRelatedIsSameClassAsParent() + { + $related = m::mock(Model::class); + $related->shouldReceive('isRelation')->andReturnUsing(fn ($relation) => $relation === 'parent'); + + $parent = clone $related; + $parent->shouldReceive('getForeignKey')->andReturn('recursive_parent_id'); + $parent->shouldReceive('getKeyName')->andReturn('id'); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn($related); + $builder->shouldReceive('afterQuery')->once()->andReturnSelf(); + + $relation = (new HasInverseRelationStub($builder, $parent))->inverse(); + + $this->assertSame('parent', $relation->getInverseRelationship()); + } + + public function testSetsGuessedInverseRelationBasedOnForeignKey() + { + $related = m::mock(Model::class); + $related->shouldReceive('isRelation')->andReturnUsing(fn ($relation) => $relation === 'test'); + + $builder = m::mock(Builder::class); + $builder->shouldReceive('getModel')->andReturn($related); + $builder->shouldReceive('afterQuery')->once()->andReturnSelf(); + + $relation = (new HasInverseRelationStub($builder, new HasInverseRelationParentStub, 'test_id'))->inverse(); + + $this->assertSame('test', $relation->getInverseRelationship()); + } + + public static function guessedParentRelationsDataProvider() + { + yield ['hasInverseRelationParentStub']; + yield ['parentStub']; + yield ['owner']; + } +} + +class HasInverseRelationParentStub extends Model +{ + protected static $unguarded = true; + protected $primaryKey = 'id'; + + public function getForeignKey() + { + return 'parent_stub_id'; + } +} + +class HasInverseRelationRelatedStub extends Model +{ + protected static $unguarded = true; + protected $primaryKey = 'id'; + + public function getForeignKey() + { + return 'child_stub_id'; + } + + public function test(): BelongsTo + { + return $this->belongsTo(HasInverseRelationParentStub::class); + } +} + +class HasInverseRelationStub extends Relation +{ + use SupportsInverseRelations; + + public function __construct( + Builder $query, + Model $parent, + protected ?string $foreignKey = null, + ) { + parent::__construct($query, $parent); + $this->foreignKey ??= Str::of(class_basename($parent))->snake()->finish('_id')->toString(); + } + + public function getForeignKeyName() + { + return $this->foreignKey; + } + + // None of these methods will actually be called - they're just needed to fill out `Relation` + public function match(array $models, Collection $results, $relation) + { + return $models; + } + + public function initRelation(array $models, $relation) + { + return $models; + } + + public function getResults() + { + return $this->query->get(); + } + + public function addConstraints() + { + // + } + + public function addEagerConstraints(array $models) + { + // + } + + // Expose access to protected methods for testing + public function exposeGetPossibleInverseRelations(): array + { + return $this->getPossibleInverseRelations(); + } + + public function exposeGuessInverseRelation(): string|null + { + return $this->guessInverseRelation(); + } +} From 738bc11b74ce76e1a90e59fdf67842e74dd84be7 Mon Sep 17 00:00:00 2001 From: Liam Duckett Date: Thu, 22 Aug 2024 18:34:47 +0100 Subject: [PATCH 380/707] [11.x] Feature/whereany closures (#52555) * Modify Builder::whereAny to allow passing an array of closures * Add test for Builder::whereAny passing an array of closures * Modify Builder::orWhereAny to allow passing an array of closures * Modify Builder::whereNone and Builder::orWhereNone to allow passing an array of closures * Modify Builder::whereAll and Builder::orWhereAll to allow passing an array of closures * Remove duplicated test * formatting --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Database/Query/Builder.php | 12 +++--- tests/Database/DatabaseQueryBuilderTest.php | 48 +++++++++++++++++++++ 2 files changed, 54 insertions(+), 6 deletions(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 7dde9d31b1b4..4152b1bb57e9 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -2238,7 +2238,7 @@ public function orWhereFullText($columns, $value, array $options = []) /** * Add a "where" clause to the query for multiple columns with "and" conditions between them. * - * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value * @param string $boolean @@ -2262,7 +2262,7 @@ public function whereAll($columns, $operator = null, $value = null, $boolean = ' /** * Add an "or where" clause to the query for multiple columns with "and" conditions between them. * - * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value * @return $this @@ -2275,7 +2275,7 @@ public function orWhereAll($columns, $operator = null, $value = null) /** * Add a "where" clause to the query for multiple columns with "or" conditions between them. * - * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value * @param string $boolean @@ -2299,7 +2299,7 @@ public function whereAny($columns, $operator = null, $value = null, $boolean = ' /** * Add an "or where" clause to the query for multiple columns with "or" conditions between them. * - * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value * @return $this @@ -2312,7 +2312,7 @@ public function orWhereAny($columns, $operator = null, $value = null) /** * Add a "where not" clause to the query for multiple columns where none of the conditions should be true. * - * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value * @param string $boolean @@ -2326,7 +2326,7 @@ public function whereNone($columns, $operator = null, $value = null, $boolean = /** * Add an "or where not" clause to the query for multiple columns where none of the conditions should be true. * - * @param \Illuminate\Contracts\Database\Query\Expression[]|string[] $columns + * @param \Illuminate\Contracts\Database\Query\Expression[]|\Closure[]|string[] $columns * @param mixed $operator * @param mixed $value * @return $this diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index aa32a552566f..037a7e06f2df 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -1325,6 +1325,14 @@ public function testWhereAll() $builder->select('*')->from('users')->whereAll(['last_name', 'email'], 'not like', '%Otwell%'); $this->assertSame('select * from "users" where ("last_name" not like ? and "email" not like ?)', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->whereAll([ + fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + ]); + $this->assertSame('select * from "users" where (("last_name" like ?) and ("email" like ?))', $builder->toSql()); + $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); } public function testOrWhereAll() @@ -1343,6 +1351,14 @@ public function testOrWhereAll() $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereAll(['last_name', 'email'], '%Otwell%'); $this->assertSame('select * from "users" where "first_name" like ? or ("last_name" = ? and "email" = ?)', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereAll([ + fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + ]); + $this->assertSame('select * from "users" where "first_name" like ? or (("last_name" like ?) and ("email" like ?))', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); } public function testWhereAny() @@ -1356,6 +1372,14 @@ public function testWhereAny() $builder->select('*')->from('users')->whereAny(['last_name', 'email'], '%Otwell%'); $this->assertSame('select * from "users" where ("last_name" = ? or "email" = ?)', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->whereAny([ + fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + ]); + $this->assertSame('select * from "users" where (("last_name" like ?) or ("email" like ?))', $builder->toSql()); + $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); } public function testOrWhereAny() @@ -1374,6 +1398,14 @@ public function testOrWhereAny() $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereAny(['last_name', 'email'], '%Otwell%'); $this->assertSame('select * from "users" where "first_name" like ? or ("last_name" = ? or "email" = ?)', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereAny([ + fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + ]); + $this->assertSame('select * from "users" where "first_name" like ? or (("last_name" like ?) or ("email" like ?))', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); } public function testWhereNone() @@ -1392,6 +1424,14 @@ public function testWhereNone() $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->whereNone(['last_name', 'email'], 'like', '%Otwell%'); $this->assertSame('select * from "users" where "first_name" like ? and not ("last_name" like ? or "email" like ?)', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->whereNone([ + fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + ]); + $this->assertSame('select * from "users" where not (("last_name" like ?) or ("email" like ?))', $builder->toSql()); + $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); } public function testOrWhereNone() @@ -1410,6 +1450,14 @@ public function testOrWhereNone() $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereNone(['last_name', 'email'], '%Otwell%'); $this->assertSame('select * from "users" where "first_name" like ? or not ("last_name" = ? or "email" = ?)', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); + + $builder = $this->getBuilder(); + $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereNone([ + fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + ]); + $this->assertSame('select * from "users" where "first_name" like ? or not (("last_name" like ?) or ("email" like ?))', $builder->toSql()); + $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); } public function testUnions() From 500f3eb8970ed2a0bf6c31d6db2f02932b46cd12 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 22 Aug 2024 17:35:18 +0000 Subject: [PATCH 381/707] Apply fixes from StyleCI --- tests/Database/DatabaseQueryBuilderTest.php | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index 037a7e06f2df..f12f27f0e26b 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -1328,8 +1328,8 @@ public function testWhereAll() $builder = $this->getBuilder(); $builder->select('*')->from('users')->whereAll([ - fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), - fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('email', 'like', '%Otwell%'), ]); $this->assertSame('select * from "users" where (("last_name" like ?) and ("email" like ?))', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); @@ -1354,8 +1354,8 @@ public function testOrWhereAll() $builder = $this->getBuilder(); $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereAll([ - fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), - fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('email', 'like', '%Otwell%'), ]); $this->assertSame('select * from "users" where "first_name" like ? or (("last_name" like ?) and ("email" like ?))', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); @@ -1375,8 +1375,8 @@ public function testWhereAny() $builder = $this->getBuilder(); $builder->select('*')->from('users')->whereAny([ - fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), - fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('email', 'like', '%Otwell%'), ]); $this->assertSame('select * from "users" where (("last_name" like ?) or ("email" like ?))', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); @@ -1401,8 +1401,8 @@ public function testOrWhereAny() $builder = $this->getBuilder(); $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereAny([ - fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), - fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('email', 'like', '%Otwell%'), ]); $this->assertSame('select * from "users" where "first_name" like ? or (("last_name" like ?) or ("email" like ?))', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); @@ -1427,8 +1427,8 @@ public function testWhereNone() $builder = $this->getBuilder(); $builder->select('*')->from('users')->whereNone([ - fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), - fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('email', 'like', '%Otwell%'), ]); $this->assertSame('select * from "users" where not (("last_name" like ?) or ("email" like ?))', $builder->toSql()); $this->assertEquals(['%Otwell%', '%Otwell%'], $builder->getBindings()); @@ -1453,8 +1453,8 @@ public function testOrWhereNone() $builder = $this->getBuilder(); $builder->select('*')->from('users')->where('first_name', 'like', '%Taylor%')->orWhereNone([ - fn(Builder $query) => $query->where('last_name', 'like', '%Otwell%'), - fn(Builder $query) => $query->where('email', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('last_name', 'like', '%Otwell%'), + fn (Builder $query) => $query->where('email', 'like', '%Otwell%'), ]); $this->assertSame('select * from "users" where "first_name" like ? or not (("last_name" like ?) or ("email" like ?))', $builder->toSql()); $this->assertEquals(['%Taylor%', '%Otwell%', '%Otwell%'], $builder->getBindings()); From 73af690521836c119953fc0cb6695adc31649e11 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Fri, 23 Aug 2024 18:11:49 +0200 Subject: [PATCH 382/707] [11.x] Update remaining workflows to run on latest possible ubuntu version (#52566) * Update remaining workflows to run on Ubuntu 24.04 * Try ubuntu-22.04 for mssql --- .github/workflows/databases.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/databases.yml b/.github/workflows/databases.yml index 46cf7a225d67..f9d387b11601 100644 --- a/.github/workflows/databases.yml +++ b/.github/workflows/databases.yml @@ -193,7 +193,7 @@ jobs: DB_PASSWORD: password mssql: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 services: sqlsrv: @@ -240,7 +240,7 @@ jobs: DB_PASSWORD: Forge123 sqlite: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: true From b05915c761c6080978d761334c900a676d7975d3 Mon Sep 17 00:00:00 2001 From: James Gray Date: Fri, 23 Aug 2024 17:13:47 +0100 Subject: [PATCH 383/707] Correct comments to better represent the updated method functionality (#52564) --- src/Illuminate/Testing/TestResponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index 7b475334c7ba..5f361a6dc754 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -1036,7 +1036,7 @@ public function assertJsonIsObject($key = null) } /** - * Validate and return the decoded response JSON. + * Validate the decoded response JSON. * * @return \Illuminate\Testing\AssertableJsonString * @@ -1060,7 +1060,7 @@ public function decodeResponseJson() } /** - * Validate and return the decoded response JSON. + * Return the decoded response JSON. * * @param string|null $key * @return mixed From e2277ca9bac046521a1f52517b51aa6d0db6e6ab Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Sat, 24 Aug 2024 02:23:52 +1000 Subject: [PATCH 384/707] Support CSP nonce (#52558) * Support CSP nonce * Update Vite.php * Update Vite.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Foundation/Vite.php | 18 ++++++++++++++++-- tests/Foundation/FoundationViteTest.php | 24 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Foundation/Vite.php b/src/Illuminate/Foundation/Vite.php index dcd89477b9fa..b5b50420baaa 100644 --- a/src/Illuminate/Foundation/Vite.php +++ b/src/Illuminate/Foundation/Vite.php @@ -485,7 +485,7 @@ public function __invoke($entrypoints, $buildDirectory = null) ->pipe(fn ($assets) => with(Js::from($assets), fn ($assets) => match ($this->prefetchStrategy) { 'waterfall' => new HtmlString($base.<< + nonceAttribute()}> window.addEventListener('load', () => window.setTimeout(() => { const makeLink = (asset) => { const link = document.createElement('link') @@ -528,7 +528,7 @@ public function __invoke($entrypoints, $buildDirectory = null) HTML), 'aggressive' => new HtmlString($base.<< + nonceAttribute()}> window.addEventListener('load', () => window.setTimeout(() => { const makeLink = (asset) => { const link = document.createElement('link') @@ -966,6 +966,20 @@ protected function chunk($manifest, $file) return $manifest[$file]; } + /** + * Get the nonce attribute for the prefetch script tags. + * + * @return \Illuminate\Support\HtmlString + */ + protected function nonceAttribute() + { + if ($this->cspNonce() === null) { + return new HtmlString(''); + } + + return new HtmlString(' nonce="'.$this->cspNonce().'"'); + } + /** * Determine if the HMR server is running. * diff --git a/tests/Foundation/FoundationViteTest.php b/tests/Foundation/FoundationViteTest.php index 94b7332d947e..a57b22f11177 100644 --- a/tests/Foundation/FoundationViteTest.php +++ b/tests/Foundation/FoundationViteTest.php @@ -1652,6 +1652,30 @@ public function testItPrefetchesCss() $this->cleanViteManifest($buildDir); } + public function testSupportCspNonceInPrefetchScript() + { + $manifest = json_decode(file_get_contents(__DIR__.'/fixtures/prefetching-manifest.json')); + $buildDir = Str::random(); + $this->makeViteManifest($manifest, $buildDir); + app()->usePublicPath(__DIR__); + + $html = (string) tap(ViteFacade::withEntryPoints(['resources/js/app.js'])) + ->useCspNonce('abc123') + ->useBuildDirectory($buildDir) + ->prefetch() + ->toHtml(); + $this->assertStringContainsString('