Skip to content

Commit 45cc890

Browse files
committed
Fix bug when capitalizing @type first letter
1 parent 6fb1b54 commit 45cc890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MetaTags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function addJsonld($type, $schema)
139139
$schema = array_reverse($schema, true);
140140

141141
if (! isset($schema['@type'])) {
142-
$schema['@type'] = Str::ucfirst($type);
142+
$schema['@type'] = ucfirst($type);
143143
}
144144

145145
if (! isset($schema['@context'])) {

0 commit comments

Comments
 (0)