mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 08:26:44 +02:00
PHP7 Strategy
This commit is contained in:
@@ -8,7 +8,7 @@ interface ComparatorInterface
|
||||
* @param mixed $a
|
||||
* @param mixed $b
|
||||
*
|
||||
* @return bool
|
||||
* @return int
|
||||
*/
|
||||
public function compare($a, $b);
|
||||
public function compare($a, $b): int;
|
||||
}
|
||||
|
Reference in New Issue
Block a user