mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-05 14:37:27 +02:00
fix: add return types for all methods
This commit is contained in:
@@ -6,7 +6,7 @@ namespace DesignPatterns\Behavioral\State;
|
||||
|
||||
class CreateOrder implements StateOrder
|
||||
{
|
||||
public function proceedToNext(ContextOrder $context)
|
||||
public function proceedToNext(ContextOrder $context): void
|
||||
{
|
||||
$context->setState(new ShippingOrder());
|
||||
}
|
||||
|
Reference in New Issue
Block a user