diff --git a/cookbook/configuration/override_dir_structure.rst b/cookbook/configuration/override_dir_structure.rst index 2fcc258db25..8a701d299c4 100644 --- a/cookbook/configuration/override_dir_structure.rst +++ b/cookbook/configuration/override_dir_structure.rst @@ -181,9 +181,7 @@ In ``app/autoload.php`` you need to modify the path leading to ``vendor/autoload file:: // app/autoload.php - /** - * @var ClassLoader $loader - */ + $loader = require '/some/dir/vendor/autoload.php'; .. tip::