Skip to content

Commit 2f81b75

Browse files
authored
Use correct Slim 4 factory class and method
1 parent d7f0e25 commit 2f81b75

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
@@ -24,7 +24,7 @@ use Slim\Views\PhpRenderer;
2424

2525
include "vendor/autoload.php";
2626

27-
$app = Slim\AppFactor::creates();
27+
$app = Slim\AppFactory::create();
2828

2929
$app->get('/hello/{name}', function ($request, $response, $args) {
3030
$renderer = new PhpRenderer('path/to/templates');

0 commit comments

Comments
 (0)