Merge pull request #9654 from nextcloud/backport/9646/stable25

[stable25] Typo in class loader `PSR-4` instead of `PSR-0`
This commit is contained in:
Christoph Wurst 2023-02-21 18:12:49 +01:00 committed by GitHub
commit fdf9c2efcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ The classloader is provided by Nextcloud and loads all your classes automaticall
PSR-4 autoloading
-----------------
Nextcloud uses a :ref:`PSR-0 autoloader<psr4>`. The namespace **\\OCA\\MyApp**
Nextcloud uses a :ref:`PSR-4 autoloader<psr4>`. The namespace **\\OCA\\MyApp**
is mapped to :file:`/apps/myapp/lib/`. Afterwards normal PSR-4 rules apply, so
a folder is a namespace section in the same casing and the class name matches
the file name.