Updated Rector to commit b26d507d873f7e8ba8f87be261d321341431ac80

b26d507d87 Run composer docs weekly (#5035)
This commit is contained in:
Tomas Votruba 2023-09-17 06:58:27 +00:00
parent 98b7592a30
commit 2a1bb45c83
5 changed files with 17 additions and 15 deletions

View File

@ -1163,14 +1163,16 @@ Direct return on if nullable check before return
{
public function run()
{
- /** @var \stdClass|null $value */
- $value = $this->foo->bar();
- $value = $this->get();
- if (! $value instanceof \stdClass) {
- return null;
- }
-
- return $value;
+ return $this->foo->bar();
+ return $this->get();
}
public function get(): ?stdClass {
}
}
```

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'f40ec62cb8ac7001658e25d4928dc028fa4d9e55';
public const PACKAGE_VERSION = 'b26d507d873f7e8ba8f87be261d321341431ac80';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-09-17 13:54:38';
public const RELEASE_DATE = '2023-09-17 13:55:42';
/**
* @var int
*/

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitf97ebd747a3909f85842e8472087bdb3::getLoader();
return ComposerAutoloaderInitc63c6f074452a3fba37fdfb6eb505320::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitf97ebd747a3909f85842e8472087bdb3
class ComposerAutoloaderInitc63c6f074452a3fba37fdfb6eb505320
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInitf97ebd747a3909f85842e8472087bdb3
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitf97ebd747a3909f85842e8472087bdb3', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitc63c6f074452a3fba37fdfb6eb505320', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitf97ebd747a3909f85842e8472087bdb3', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitc63c6f074452a3fba37fdfb6eb505320', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitf97ebd747a3909f85842e8472087bdb3::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitc63c6f074452a3fba37fdfb6eb505320::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInitf97ebd747a3909f85842e8472087bdb3::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitc63c6f074452a3fba37fdfb6eb505320::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInitf97ebd747a3909f85842e8472087bdb3
class ComposerStaticInitc63c6f074452a3fba37fdfb6eb505320
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2593,9 +2593,9 @@ class ComposerStaticInitf97ebd747a3909f85842e8472087bdb3
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitf97ebd747a3909f85842e8472087bdb3::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitf97ebd747a3909f85842e8472087bdb3::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitf97ebd747a3909f85842e8472087bdb3::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitc63c6f074452a3fba37fdfb6eb505320::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitc63c6f074452a3fba37fdfb6eb505320::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitc63c6f074452a3fba37fdfb6eb505320::$classMap;
}, null, ClassLoader::class);
}