From e47aa38ad40b31964d2951cb5be9f19fe9959ba0 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Tue, 29 Oct 2019 14:08:33 +0100 Subject: [PATCH] Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() (#8393) --- src/Composer/Autoload/AutoloadGenerator.php | 3 +++ .../Autoload/Fixtures/autoload_real_files_by_dependency.php | 3 +++ .../Test/Autoload/Fixtures/autoload_real_functions.php | 3 +++ .../Fixtures/autoload_real_functions_with_include_paths.php | 3 +++ ..._functions_with_removed_include_paths_and_autolad_files.php | 3 +++ .../Test/Autoload/Fixtures/autoload_real_include_path.php | 3 +++ .../Test/Autoload/Fixtures/autoload_real_target_dir.php | 3 +++ 7 files changed, 21 insertions(+) diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index d970ca5b1..d3bc7bf90 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -592,6 +592,9 @@ class ComposerAutoloaderInit$suffix } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::\$loader) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php index e830e21f8..4e5e0a5cb 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_files_by_dependency.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInitFilesAutoloadOrder } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php index ede883fd7..0f1201b8e 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInitFilesAutoload } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php index 6459cac05..fc457c406 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_include_paths.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInitFilesAutoload } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_removed_include_paths_and_autolad_files.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_removed_include_paths_and_autolad_files.php index 75306684a..b07825176 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_removed_include_paths_and_autolad_files.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_functions_with_removed_include_paths_and_autolad_files.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInitFilesAutoload } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_include_path.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_include_path.php index 32f822812..12ac24108 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_include_path.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_include_path.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInitIncludePath } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) { diff --git a/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php b/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php index 1d6676c83..084d04f30 100644 --- a/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php +++ b/tests/Composer/Test/Autoload/Fixtures/autoload_real_target_dir.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInitTargetDir } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) {