Skip to content

Commit d54ca11

Browse files
authored
Merge pull request #95 from bowphp/feat/add-docs
Fix typo
2 parents 824f420 + f18c9c3 commit d54ca11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ return response()->download('/path/to/file.pdf');
236236
237237
// Réponse personnalisée
238238
return response('Contenu', 200)
239-
->setHeader('Content-Type', 'text/plain')
240-
->setCookie('name', 'value', 3600);`}
239+
->withHeader('Content-Type', 'text/plain')
240+
->withCookie('name', 'value', 3600);`}
241241
</CodeBlock>
242242
</TabItem>
243243
</Tabs>

0 commit comments

Comments
 (0)