Skip to content

Commit bb08628

Browse files
committed
Make Translation::create static
1 parent 5ac659e commit bb08628

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Translation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function generateId($context, $original)
4242
* @param string $plural The original plural string
4343
* @return static New Translation instance
4444
*/
45-
public function create($context, $original, $plural = '')
45+
public static function create($context, $original, $plural = '')
4646
{
4747
return new static($context, $original, $plural);
4848
}

0 commit comments

Comments
 (0)