@@ -97,10 +97,12 @@ |
||
| 97 | 97 | return self::$commandSets->misc()->comment($comments); |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - public static function else() : Mailcode_Commands_Command_Else |
|
| 100 | + public static function else { |
|
| 101 | + () : Mailcode_Commands_Command_Else |
|
| 101 | 102 | { |
| 102 | 103 | return self::$commandSets->if()->else(); |
| 103 | 104 | } |
| 105 | + } |
|
| 104 | 106 | |
| 105 | 107 | public static function end() : Mailcode_Commands_Command_End |
| 106 | 108 | { |
@@ -20,7 +20,8 @@ discard block |
||
| 20 | 20 | */ |
| 21 | 21 | abstract class Mailcode_Factory_CommandSets_IfBase extends Mailcode_Factory_CommandSets_Set |
| 22 | 22 | { |
| 23 | - public function else() : Mailcode_Commands_Command_Else |
|
| 23 | + public function else { |
|
| 24 | + () : Mailcode_Commands_Command_Else |
|
| 24 | 25 | { |
| 25 | 26 | $cmd = Mailcode::create()->getCommands()->createCommand( |
| 26 | 27 | 'Else', |
@@ -28,6 +29,7 @@ discard block |
||
| 28 | 29 | '', |
| 29 | 30 | '{else}' |
| 30 | 31 | ); |
| 32 | + } |
|
| 31 | 33 | |
| 32 | 34 | $this->instantiator->checkCommand($cmd); |
| 33 | 35 | |