We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3518068 commit 98085b6Copy full SHA for 98085b6
src/Renderer/AbstractRenderer.php
@@ -133,12 +133,12 @@ abstract protected function renderWoker(Differ $differ): string;
133
/**
134
* Update the Language object.
135
*
136
- * @param string $old the old language
137
- * @param string $new the new language
+ * @param string|string[] $old the old language
+ * @param string|string[] $new the new language
138
139
* @return self
140
*/
141
- protected function updateLanguage(string $old, string $new): self
+ protected function updateLanguage($old, $new): self
142
{
143
if (!isset($this->t) || $old !== $new) {
144
$this->t = new Language($new);
0 commit comments