Skip to content

Commit d63f4ff

Browse files
committed
cs-fix
1 parent 9d220f6 commit d63f4ff

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/App/src/Fixture/AuthorLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function load(ObjectManager $manager): void
6868
$changed = true;
6969
}
7070

71-
echo ($changed ? "UPDATE: {$name}\n" : "UNCHANGED: {$name}\n");
71+
echo $changed ? "UPDATE: {$name}\n" : "UNCHANGED: {$name}\n";
7272
}
7373

7474
$this->addReference('author_' . $wpAuthorId, $author);
@@ -89,4 +89,4 @@ public function getOrder(): int
8989
{
9090
return 1;
9191
}
92-
}
92+
}

src/App/src/Fixture/PostLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function load(ObjectManager $manager): void
117117
$changed = true;
118118
}
119119

120-
echo ($changed ? "UPDATE: {$title}\n" : "UNCHANGED: {$title}\n");
120+
echo $changed ? "UPDATE: {$title}\n" : "UNCHANGED: {$title}\n";
121121
}
122122
}
123123
}
@@ -144,4 +144,4 @@ public function getOrder(): int
144144
{
145145
return 3;
146146
}
147-
}
147+
}

src/Blog/templates/page/JSON-LD/author-resource.jsonld.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"mainEntity": {
99
"@type": "Person",
1010
"name": "{{ author.name }}",
11-
"github": "{{ author.github}}",
11+
"github": "{{ author.github }}",
1212
"url": "{{ absolute_url(path('page::author-resource', {slug: author.slug})) }}"
1313
},
1414
"hasPart": {

0 commit comments

Comments
 (0)