mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
fix: add return types for all methods
This commit is contained in:
@@ -6,7 +6,7 @@ namespace DesignPatterns\Behavioral\State;
|
||||
|
||||
interface StateOrder
|
||||
{
|
||||
public function proceedToNext(ContextOrder $context);
|
||||
public function proceedToNext(ContextOrder $context): void;
|
||||
|
||||
public function toString(): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user