mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
fix: printer method name
This commit is contained in:
@ -79,11 +79,11 @@ final readonly class Configuration
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the theme configuration.
|
* Gets the printer configuration.
|
||||||
*/
|
*/
|
||||||
public function theme(): Configuration\Theme
|
public function printer(): Configuration\Printer
|
||||||
{
|
{
|
||||||
return new Configuration\Theme;
|
return new Configuration\Printer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -9,7 +9,7 @@ use NunoMaduro\Collision\Adapters\Phpunit\Printers\DefaultPrinter;
|
|||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
final readonly class Theme
|
final readonly class Printer
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Sets the theme to compact.
|
* Sets the theme to compact.
|
||||||
@ -54,7 +54,7 @@ final class UsesCall
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated Use `pest()->theme()->compact()` instead.
|
* @deprecated Use `pest()->printer()->compact()` instead.
|
||||||
*/
|
*/
|
||||||
public function compact(): self
|
public function compact(): self
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user