mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: improves readability
This commit is contained in:
@ -94,10 +94,10 @@ final class Str
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a describe block as `$right` → `$left` format.
|
* Creates a describe block as `$describeDescription` → `$testDescription` format.
|
||||||
*/
|
*/
|
||||||
public static function describe(string $right, string $left): string
|
public static function describe(string $describeDescription, string $testDescription): string
|
||||||
{
|
{
|
||||||
return sprintf('`%s` → %s', $right, $left);
|
return sprintf('`%s` → %s', $describeDescription, $testDescription);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user