diff --git a/src/BaseType.php b/src/BaseType.php index 5807fac2d..cc2e42dc0 100644 --- a/src/BaseType.php +++ b/src/BaseType.php @@ -160,7 +160,7 @@ public function nonceAttr(): string public function toScript(): string { - return ''; + return ''; } public function jsonSerialize(): mixed diff --git a/src/Graph.php b/src/Graph.php index e7fccec5a..834ab9cd5 100644 --- a/src/Graph.php +++ b/src/Graph.php @@ -1191,7 +1191,7 @@ public function nonceAttr(): string public function toScript(): string { - return ''; + return ''; } public function jsonSerialize(): mixed diff --git a/src/MultiTypedEntity.php b/src/MultiTypedEntity.php index b589dcd78..eff628c35 100644 --- a/src/MultiTypedEntity.php +++ b/src/MultiTypedEntity.php @@ -1078,7 +1078,7 @@ public function nonceAttr(): string public function toScript(): string { - return ''; + return ''; } public function jsonSerialize(): mixed diff --git a/tests/BaseTypeTest.php b/tests/BaseTypeTest.php index a34e55e94..91c110c2d 100644 --- a/tests/BaseTypeTest.php +++ b/tests/BaseTypeTest.php @@ -156,7 +156,7 @@ $type->setProperty('foo', 'bar'); $expected = ''; expect($type->toScript())->toBe($expected); @@ -170,7 +170,7 @@ $type->setNonce('baz'); $expected = ''; expect($type->toScript())->toBe($expected); @@ -273,7 +273,7 @@ public function __toString() $type->setProperty('foo', 'bar'); $expected = ''; expect((string) $type)->toBe($expected); diff --git a/tests/GeneratedTypeSmokeTest.php b/tests/GeneratedTypeSmokeTest.php index 7c9d8b6e1..7f1a90d84 100644 --- a/tests/GeneratedTypeSmokeTest.php +++ b/tests/GeneratedTypeSmokeTest.php @@ -20,7 +20,7 @@ ->email('info@spatie.be'); $expected = ''; expect($localBusiness->toScript())->toBe($expected); @@ -32,7 +32,7 @@ ->contactPoint(Schema::contactPoint()->areaServed('Worldwide')); $expected = ''; diff --git a/tests/GraphIdentifierTest.php b/tests/GraphIdentifierTest.php index 375d32c90..5e86f648d 100644 --- a/tests/GraphIdentifierTest.php +++ b/tests/GraphIdentifierTest.php @@ -13,7 +13,7 @@ $graph->get(Organization::class, Graph::IDENTIFIER_DEFAULT)->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -23,7 +23,7 @@ $graph->getOrCreate(Organization::class, Graph::IDENTIFIER_DEFAULT)->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -33,7 +33,7 @@ $graph->getOrCreate(Organization::class, Graph::IDENTIFIER_DEFAULT)->name('My Company')->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -44,7 +44,7 @@ $graph->hide(Organization::class, 'astrotomic'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -56,7 +56,7 @@ $graph->product()->brand($graph->organization('spatie')); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -69,7 +69,7 @@ $graph->show(Organization::class, null); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -82,7 +82,7 @@ $graph->show(Organization::class, 'spatie'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -95,7 +95,7 @@ $graph->hide(Organization::class, 'astrotomic'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -107,7 +107,7 @@ $graph->show(Organization::class, 'spatie'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -118,7 +118,7 @@ $graph->product()->brand($graph->organization('spatie')); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -130,7 +130,7 @@ $graph->product()->brand($graph->organization('spatie')); expect($graph->toScript())->toBe( - '' + '' ); }); diff --git a/tests/GraphTest.php b/tests/GraphTest.php index 86cde270e..520a04dad 100644 --- a/tests/GraphTest.php +++ b/tests/GraphTest.php @@ -14,7 +14,7 @@ it('can render empty', function () { $graph = new Graph(); - expect((string) $graph)->toBe(''); + expect((string) $graph)->toBe(''); }); it('can render single item', function () { @@ -22,7 +22,7 @@ $graph->add(Schema::organization()->name('My Company')); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -32,7 +32,7 @@ $graph->add(Schema::product()->name('My Product')); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -42,7 +42,7 @@ $graph->get(Organization::class)->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -52,7 +52,7 @@ $graph->getOrCreate(Organization::class)->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -62,7 +62,7 @@ $graph->getOrCreate(Organization::class)->name('My Company')->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -73,7 +73,7 @@ $graph->getOrCreate(Organization::class)->name('My Company')->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -86,7 +86,7 @@ $graph->show(Organization::class); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -130,7 +130,7 @@ expect($organization)->toBeInstanceOf(Organization::class); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -143,7 +143,7 @@ expect($graph)->toBeInstanceOf(Graph::class); expect($graph->organization())->toBeInstanceOf(Organization::class); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -159,7 +159,7 @@ expect($graph)->toBeInstanceOf(Graph::class); expect($graph->organization())->toBeInstanceOf(Organization::class); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -179,7 +179,7 @@ expect($graph->organization())->toBeInstanceOf(Organization::class); expect($graph->product())->toBeInstanceOf(Product::class); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -217,7 +217,7 @@ ->email('contact@example.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -227,7 +227,7 @@ expect($graph->getContext())->toBe('https://foobar.com'); expect($graph->toScript())->toBe( - '' + '' ); }); @@ -243,6 +243,6 @@ ]); expect($graph->toScript())->toBe( - '' + '' ); }); diff --git a/tests/MultiTypedEntityTest.php b/tests/MultiTypedEntityTest.php index 906a8227b..ae603d35c 100644 --- a/tests/MultiTypedEntityTest.php +++ b/tests/MultiTypedEntityTest.php @@ -10,7 +10,7 @@ $mte = new MultiTypedEntity(); expect((string) $mte)->toBe( - '' + '' ); }); @@ -19,7 +19,7 @@ $mte->hotelRoom()->name('The Presidential Suite'); expect($mte->toScript())->toBe( - '' + '' ); }); @@ -41,6 +41,6 @@ }); expect($mte->toScript())->toBe( - '' + '' ); });