diff --git a/README.md b/README.md
index ae985b4..6dd6da8 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ title(string $title)
description(string $description)
image(string $url)
-twitterUser(string $username)
+twitterSite(string $username)
twitterTitle(string $title)
twitterDescription(string $description)
twitterImage(string $url)
@@ -219,7 +219,7 @@ public function show(Post $post)
->title($post->title)
->description(Str::limit($post->content, 50))
->flipp('blog', ['title' => $page->title, 'content' => $page->excerpt]);
-
+
return view('blog.show', compact($post));
}
```
diff --git a/assets/views/components/extensions/twitter.blade.php b/assets/views/components/extensions/twitter.blade.php
index af3cf2a..5ae57de 100644
--- a/assets/views/components/extensions/twitter.blade.php
+++ b/assets/views/components/extensions/twitter.blade.php
@@ -1,5 +1,5 @@
-@if(seo('twitter.user')) @endif
+@if(seo('twitter.site')) @endif
@if(seo('twitter.title')) @endif
@if(seo('twitter.description')) @endif
@if(seo('twitter.image')) @endif
diff --git a/src/SEOManager.php b/src/SEOManager.php
index 0860868..929289a 100644
--- a/src/SEOManager.php
+++ b/src/SEOManager.php
@@ -13,7 +13,7 @@ use Illuminate\Support\Str;
* @method $this site(string $site) Set the site name.
* @method $this image(string $url) Set the cover image.
* @method $this twitter(enabled $bool = true) Enable the Twitter extension.
- * @method $this twitterUser(string $username) Set the Twitter author.
+ * @method $this twitterSite(string $username) Set the Twitter author.
* @method $this twitterTitle(string $title) Set the Twitter title.
* @method $this twitterDescription(string $description) Set the Twitter description.
* @method $this twitterImage(string $url) Set the Twitter cover image.
@@ -48,7 +48,7 @@ class SEOManager
/** Get a list of used keys. */
protected function getKeys(): array
{
- return collect(['site', 'title', 'image', 'description', 'twitter.user', 'twitter.title', 'twitter.image', 'twitter.description'])
+ return collect(['site', 'title', 'image', 'description', 'twitter.site', 'twitter.title', 'twitter.image', 'twitter.description'])
->merge(array_keys($this->defaults))
->merge(array_keys($this->values))
->unique()
diff --git a/tests/Pest/ExtensionTest.php b/tests/Pest/ExtensionTest.php
index d93d3de..d4cf745 100644
--- a/tests/Pest/ExtensionTest.php
+++ b/tests/Pest/ExtensionTest.php
@@ -25,7 +25,7 @@ test('the twitter extension can be disabled by calling twitter with false', func
test('when an extension is enabled, all of its keys are included in the resolved values', function () {
expect(seo()->twitter()->all())
->not()->toBeEmpty()
- ->toHaveKeys(['twitter.title', 'twitter.description', 'twitter.user', 'twitter.image']);
+ ->toHaveKeys(['twitter.title', 'twitter.description', 'twitter.site', 'twitter.image']);
});
test('extension keys can be set by prefixing the call with the extension name and using camelcase', function () {
diff --git a/tests/Pest/ManagerTest.php b/tests/Pest/ManagerTest.php
index df43b07..1773f76 100644
--- a/tests/Pest/ManagerTest.php
+++ b/tests/Pest/ManagerTest.php
@@ -73,7 +73,7 @@ test('thunks can be used as values', function () {
expect(seo('title'))->toBe('bar');
});
-test('thunks can be used as deafults', function () {
+test('thunks can be used as defaults', function () {
seo()->title(default: fn () => 'bar');
expect(seo('title'))->toBe('bar');