10000 fixed phpdoc (closes symfony/ClassLoader#3) · lauris/symfony@fcf7afc · GitHub
[go: up one dir, main page]

Skip to content

Commit fcf7afc

Browse files
Grummfyfabpot
authored andcommitted
fixed phpdoc (closes symfony/class-loader#3)
1 parent 3f44bba commit fcf7afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/ClassLoader/ClassLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* $loader = new ClassLoader();
2020
*
2121
* // register classes with namespaces
22-
* $loader->add('Symfony\Component', __DIR__.'/component');
23-
* $loader->add('Symfony', __DIR__.'/framework');
22+
* $loader->addPrefix('Symfony\Component', __DIR__.'/component');
23+
* $loader->addPrefix('Symfony', __DIR__.'/framework');
2424
*
2525
* // activate the autoloader
2626
* $loader->register();

0 commit comments

Comments
 (0)
0