Skip to content

Commit 924db0b

Browse files
authored
Correct function in docs (#423)
1 parent e4a8d13 commit 924db0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ With:
393393

394394
$loader = require_once __DIR__.'/autoload.php';
395395

396-
class_alias('Humbug\\Acme\\Foo'); // Triggers the autoloading of
396+
class_exists('Humbug\\Acme\\Foo'); // Triggers the autoloading of
397397
// `Humbug\Acme\Foo` after the
398398
// Composer autoload is registered
399399

0 commit comments

Comments
 (0)