Test Failed
Push — master ( 36c5b6...af11e6 )
by Sebastian
04:51
created
src/Mailcode/Parser.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
         $this->commands = $this->mailcode->getCommands();
43 43
     }
44 44
     
45
-   /**
46
-    * Gets the regex format string used to detect commands.
47
-    * 
48
-    * @return string
49
-    */
45
+    /**
46
+     * Gets the regex format string used to detect commands.
47
+     * 
48
+     * @return string
49
+     */
50 50
     protected static function getRegex() : string
51 51
     {
52 52
         return '/'.implode('|', self::COMMAND_REGEX_PARTS).'/sixU';
@@ -183,14 +183,14 @@  discard block
 block discarded – undo
183 183
         throw new Mailcode_Exception('Not a command', '', self::ERROR_NOT_A_COMMAND);
184 184
     }
185 185
     
186
-   /**
187
-    * Parses a single regex match: determines which named group
188
-    * matches, and retrieves the according information.
189
-    * 
190
-    * @param array<int,array<int,string>>$matches The regex results array.
191
-    * @param int $index The matched index.
192
-    * @return Mailcode_Parser_Match
193
-    */
186
+    /**
187
+     * Parses a single regex match: determines which named group
188
+     * matches, and retrieves the according information.
189
+     * 
190
+     * @param array<int,array<int,string>>$matches The regex results array.
191
+     * @param int $index The matched index.
192
+     * @return Mailcode_Parser_Match
193
+     */
194 194
     protected function parseMatch(array $matches, int $index) : Mailcode_Parser_Match
195 195
     {
196 196
         $name = ''; // the command name, e.g. "showvar"
@@ -228,14 +228,14 @@  discard block
 block discarded – undo
228 228
         );
229 229
     }
230 230
     
231
-   /**
232
-    * Creates an instance of the safeguard tool, which
233
-    * is used to safeguard commands in a string with placeholders.
234
-    * 
235
-    * @param string $subject The string to use to safeguard commands in.
236
-    * @return Mailcode_Parser_Safeguard
237
-    * @see Mailcode_Parser_Safeguard
238
-    */
231
+    /**
232
+     * Creates an instance of the safeguard tool, which
233
+     * is used to safeguard commands in a string with placeholders.
234
+     * 
235
+     * @param string $subject The string to use to safeguard commands in.
236
+     * @return Mailcode_Parser_Safeguard
237
+     * @see Mailcode_Parser_Safeguard
238
+     */
239 239
     public function createSafeguard(string $subject) : Mailcode_Parser_Safeguard
240 240
     {
241 241
         return new Mailcode_Parser_Safeguard($this, $subject);
Please login to merge, or discard this patch.
src/Mailcode/Translator/Syntax.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
     public const ERROR_UNKNOWN_COMMAND_TYPE = 50401;
25 25
     public const ERROR_INVALID_COMMAND_INSTANCE = 50402;
26 26
     
27
-   /**
28
-    * @var string
29
-    */
27
+    /**
28
+     * @var string
29
+     */
30 30
     protected string $typeID;
31 31
     
32 32
     public function __construct(string $typeID)
@@ -34,22 +34,22 @@  discard block
 block discarded – undo
34 34
         $this->typeID = $typeID;
35 35
     }
36 36
     
37
-   /**
38
-    * Retrieves the syntax' type ID, e.g. "ApacheVelocity".
39
-    * @return string
40
-    */
37
+    /**
38
+     * Retrieves the syntax' type ID, e.g. "ApacheVelocity".
39
+     * @return string
40
+     */
41 41
     public function getTypeID() : string
42 42
     {
43 43
         return $this->typeID;
44 44
     }
45 45
     
46
-   /**
47
-    * Translates a single command to the target syntax.
48
-    * 
49
-    * @param Mailcode_Commands_Command $command
50
-    * @throws Mailcode_Translator_Exception
51
-    * @return string
52
-    */
46
+    /**
47
+     * Translates a single command to the target syntax.
48
+     * 
49
+     * @param Mailcode_Commands_Command $command
50
+     * @throws Mailcode_Translator_Exception
51
+     * @return string
52
+     */
53 53
     public function translateCommand(Mailcode_Commands_Command $command) : string
54 54
     {
55 55
         return $this->createTranslator($command)->translate($command);
Please login to merge, or discard this patch.
src/Mailcode/Factory.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
     public const URL_ENCODING_DECODE = 'decode';
29 29
 
30 30
     /**
31
-    * @var Mailcode_Factory_CommandSets|NULL
32
-    */
31
+     * @var Mailcode_Factory_CommandSets|NULL
32
+     */
33 33
     private static ?Mailcode_Factory_CommandSets $commandSets = null;
34 34
 
35 35
     /**
@@ -83,33 +83,33 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-    * Creates a renderer instance, which can be used to easily
87
-    * create and convert commands to strings.
88
-    * 
89
-    * @return Mailcode_Renderer
90
-    */
86
+     * Creates a renderer instance, which can be used to easily
87
+     * create and convert commands to strings.
88
+     * 
89
+     * @return Mailcode_Renderer
90
+     */
91 91
     public static function createRenderer() : Mailcode_Renderer
92 92
     {
93 93
         return new Mailcode_Renderer();
94 94
     }
95 95
     
96
-   /**
97
-    * Creates a printer instance, which works like the renderer,
98
-    * but outputs the generated strings to standard output.
99
-    * 
100
-    * @return Mailcode_Printer
101
-    */
96
+    /**
97
+     * Creates a printer instance, which works like the renderer,
98
+     * but outputs the generated strings to standard output.
99
+     * 
100
+     * @return Mailcode_Printer
101
+     */
102 102
     public static function createPrinter() : Mailcode_Printer
103 103
     {
104 104
         return new Mailcode_Printer();
105 105
     }
106 106
     
107
-   /**
108
-    * Gets/creates the global instance of the date format info
109
-    * class, used to handle date formatting aspects.
110
-    * 
111
-    * @return Mailcode_Date_FormatInfo
112
-    */
107
+    /**
108
+     * Gets/creates the global instance of the date format info
109
+     * class, used to handle date formatting aspects.
110
+     * 
111
+     * @return Mailcode_Date_FormatInfo
112
+     */
113 113
     public static function createDateInfo() : Mailcode_Date_FormatInfo
114 114
     {
115 115
         return Mailcode_Date_FormatInfo::getInstance();
Please login to merge, or discard this patch.
src/Mailcode/Commands.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -28,21 +28,21 @@  discard block
 block discarded – undo
28 28
     public const ERROR_INVALID_DUMMY_COMMAND_TYPE = 45903;
29 29
     public const ERROR_INVALID_COMMAND_CLASS = 45904;
30 30
     
31
-   /**
32
-    * @var Mailcode_Commands_Command[]
33
-    */
31
+    /**
32
+     * @var Mailcode_Commands_Command[]
33
+     */
34 34
     private $commands = array();
35 35
     
36
-   /**
37
-    * @var array<string,Mailcode_Commands_Command>
38
-    */
36
+    /**
37
+     * @var array<string,Mailcode_Commands_Command>
38
+     */
39 39
     private static $dummyCommands = array();
40 40
     
41
-   /**
42
-    * Retrieves a list of all available command IDs.
43
-    * 
44
-    * @return string[]
45
-    */
41
+    /**
42
+     * Retrieves a list of all available command IDs.
43
+     * 
44
+     * @return string[]
45
+     */
46 46
     public function getIDs() : array
47 47
     {
48 48
         static $ids = array();
@@ -88,12 +88,12 @@  discard block
 block discarded – undo
88 88
         return $result;
89 89
     }
90 90
     
91
-   /**
92
-    * Gets an available command by its ID.
93
-    * 
94
-    * @param string $id
95
-    * @return Mailcode_Commands_Command
96
-    */
91
+    /**
92
+     * Gets an available command by its ID.
93
+     * 
94
+     * @param string $id
95
+     * @return Mailcode_Commands_Command
96
+     */
97 97
     public function getByID(string $id) : Mailcode_Commands_Command
98 98
     {
99 99
         static $instances = array();
@@ -106,15 +106,15 @@  discard block
 block discarded – undo
106 106
         return $instances[$id];
107 107
     }
108 108
     
109
-   /**
110
-    * Retrieves the ID of a command by its name.
111
-    * 
112
-    * @param string $name
113
-    * @throws Mailcode_Exception
114
-    * @return string
115
-    * 
116
-    * @see Mailcode_Commands::ERROR_COMMAND_NAME_DOES_NOT_EXIST
117
-    */
109
+    /**
110
+     * Retrieves the ID of a command by its name.
111
+     * 
112
+     * @param string $name
113
+     * @throws Mailcode_Exception
114
+     * @return string
115
+     * 
116
+     * @see Mailcode_Commands::ERROR_COMMAND_NAME_DOES_NOT_EXIST
117
+     */
118 118
     public function getIDByName(string $name) : string
119 119
     {
120 120
         $items = $this->getAll();
@@ -143,12 +143,12 @@  discard block
 block discarded – undo
143 143
         return in_array($id, $ids);
144 144
     }
145 145
     
146
-   /**
147
-    * Checks wether the specified name exists.
148
-    * 
149
-    * @param string $name For example: "showvar".
150
-    * @return bool
151
-    */
146
+    /**
147
+     * Checks wether the specified name exists.
148
+     * 
149
+     * @param string $name For example: "showvar".
150
+     * @return bool
151
+     */
152 152
     public function nameExists(string $name) : bool
153 153
     {
154 154
         $items = $this->getAll();
@@ -216,14 +216,14 @@  discard block
 block discarded – undo
216 216
         return $class;
217 217
     }
218 218
     
219
-   /**
220
-    * Translates the command type to the expected class naming scheme.
221
-    * 
222
-    * Example: not-empty => NotEmpty
223
-    * 
224
-    * @param string $type
225
-    * @return string
226
-    */
219
+    /**
220
+     * Translates the command type to the expected class naming scheme.
221
+     * 
222
+     * Example: not-empty => NotEmpty
223
+     * 
224
+     * @param string $type
225
+     * @return string
226
+     */
227 227
     private function adjustTypeName(string $type) : string
228 228
     {
229 229
         $type = str_replace('-', ' ', $type);
Please login to merge, or discard this patch.
src/Mailcode/Date/FormatInfo.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -31,24 +31,24 @@  discard block
 block discarded – undo
31 31
     public const CHARTYPE_TIME = 'time';
32 32
     public const CHARTYPE_PUNCTUATION = 'punctuation';
33 33
     
34
-   /**
35
-    * @var string
36
-    */
34
+    /**
35
+     * @var string
36
+     */
37 37
     private $defaultFormat = "Y/m/d";
38 38
     
39
-   /**
40
-    * @var Mailcode_Date_FormatInfo_Character[]
41
-    */
39
+    /**
40
+     * @var Mailcode_Date_FormatInfo_Character[]
41
+     */
42 42
     private $formatChars = array();
43 43
     
44
-   /**
45
-    * @var string[]
46
-    */
44
+    /**
45
+     * @var string[]
46
+     */
47 47
     private $allowedChars = array();
48 48
     
49
-   /**
50
-    * @var Mailcode_Date_FormatInfo|NULL
51
-    */
49
+    /**
50
+     * @var Mailcode_Date_FormatInfo|NULL
51
+     */
52 52
     private static $instance;
53 53
     
54 54
     private function __construct()
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
         return self::$instance;
67 67
     }
68 68
 
69
-   /**
70
-    * Initialized the list of allowed date formatting
71
-    * characters. This is done only once per request
72
-    * by storing them statically for performance reasons.
73
-    */
69
+    /**
70
+     * Initialized the list of allowed date formatting
71
+     * characters. This is done only once per request
72
+     * by storing them statically for performance reasons.
73
+     */
74 74
     private function initCharacters() : void
75 75
     {
76 76
         $chars = array(
@@ -115,16 +115,16 @@  discard block
 block discarded – undo
115 115
         $this->defaultFormat = $formatString;
116 116
     }
117 117
     
118
-   /**
119
-    * Validates the date format string, by ensuring that
120
-    * all the characters it is composed of are known.
121
-    *
122
-    * @param string $formatString
123
-    * @return OperationResult
124
-    * 
125
-    * @see Mailcode_Commands_Command_ShowDate::VALIDATION_EMPTY_FORMAT_STRING
126
-    * @see Mailcode_Commands_Command_ShowDate::VALIDATION_INVALID_FORMAT_CHARACTER
127
-    */
118
+    /**
119
+     * Validates the date format string, by ensuring that
120
+     * all the characters it is composed of are known.
121
+     *
122
+     * @param string $formatString
123
+     * @return OperationResult
124
+     * 
125
+     * @see Mailcode_Commands_Command_ShowDate::VALIDATION_EMPTY_FORMAT_STRING
126
+     * @see Mailcode_Commands_Command_ShowDate::VALIDATION_INVALID_FORMAT_CHARACTER
127
+     */
128 128
     public function validateFormat(string $formatString) : OperationResult
129 129
     {
130 130
         $result = new OperationResult($this);
@@ -163,23 +163,23 @@  discard block
 block discarded – undo
163 163
         return $result;
164 164
     }
165 165
     
166
-   /**
167
-    * Retrieves all characters that are allowed to
168
-    * be used in a date format string, with information
169
-    * on each.
170
-    *
171
-    * @return Mailcode_Date_FormatInfo_Character[]
172
-    */
166
+    /**
167
+     * Retrieves all characters that are allowed to
168
+     * be used in a date format string, with information
169
+     * on each.
170
+     *
171
+     * @return Mailcode_Date_FormatInfo_Character[]
172
+     */
173 173
     public function getCharactersList() : array
174 174
     {
175 175
         return $this->formatChars;
176 176
     }
177 177
     
178
-   /**
179
-    * Retrieves the characters list, grouped by type label.
180
-    * 
181
-    * @return array<string,array<int,Mailcode_Date_FormatInfo_Character>>
182
-    */
178
+    /**
179
+     * Retrieves the characters list, grouped by type label.
180
+     * 
181
+     * @return array<string,array<int,Mailcode_Date_FormatInfo_Character>>
182
+     */
183 183
     public function getCharactersGrouped() : array
184 184
     {
185 185
         $grouped = array();
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -45,44 +45,44 @@  discard block
 block discarded – undo
45 45
 
46 46
     public const META_URL_ENCODING = 'url_encoding';
47 47
 
48
-   /**
49
-    * @var string
50
-    */
48
+    /**
49
+     * @var string
50
+     */
51 51
     protected string $type = '';
52 52
 
53
-   /**
54
-    * @var string
55
-    */
53
+    /**
54
+     * @var string
55
+     */
56 56
     protected string $paramsString = '';
57 57
     
58
-   /**
59
-    * @var string
60
-    */
58
+    /**
59
+     * @var string
60
+     */
61 61
     protected string $matchedText = '';
62 62
 
63
-   /**
64
-    * @var string
65
-    */
63
+    /**
64
+     * @var string
65
+     */
66 66
     protected string $hash = '';
67 67
     
68
-   /**
69
-    * @var OperationResult
70
-    */
68
+    /**
69
+     * @var OperationResult
70
+     */
71 71
     protected OperationResult $validationResult;
72 72
     
73
-   /**
74
-    * @var Mailcode
75
-    */
73
+    /**
74
+     * @var Mailcode
75
+     */
76 76
     protected Mailcode $mailcode;
77 77
     
78
-   /**
79
-    * @var Mailcode_Parser_Statement|NULL
80
-    */
78
+    /**
79
+     * @var Mailcode_Parser_Statement|NULL
80
+     */
81 81
     protected ?Mailcode_Parser_Statement $params = null;
82 82
 
83
-   /**
84
-    * @var string[] 
85
-    */
83
+    /**
84
+     * @var string[] 
85
+     */
86 86
     protected array $validations = array(
87 87
         Mailcode_Interfaces_Commands_Validation_EmptyParams::VALIDATION_NAME_EMPTY_PARAMS,
88 88
         Mailcode_Interfaces_Commands_Validation_ParamKeywords::VALIDATION_NAME_KEYWORDS,
@@ -91,24 +91,24 @@  discard block
 block discarded – undo
91 91
         Mailcode_Interfaces_Commands_Validation_TypeUnsupported::VALIDATION_NAME_TYPE_UNSUPPORTED
92 92
     );
93 93
     
94
-   /**
95
-    * @var string
96
-    */
94
+    /**
95
+     * @var string
96
+     */
97 97
     protected string $comment = '';
98 98
     
99
-   /**
100
-    * @var Mailcode_Commands_LogicKeywords|NULL
101
-    */
99
+    /**
100
+     * @var Mailcode_Commands_LogicKeywords|NULL
101
+     */
102 102
     protected ?Mailcode_Commands_LogicKeywords $logicKeywords = null;
103 103
     
104
-   /**
105
-    * @var Mailcode_Parser_Statement_Validator|NULL
106
-    */
104
+    /**
105
+     * @var Mailcode_Parser_Statement_Validator|NULL
106
+     */
107 107
     protected ?Mailcode_Parser_Statement_Validator $validator = null;
108 108
     
109
-   /**
110
-    * @var boolean
111
-    */
109
+    /**
110
+     * @var boolean
111
+     */
112 112
     private bool $validated = false;
113 113
 
114 114
     /**
@@ -143,13 +143,13 @@  discard block
 block discarded – undo
143 143
         
144 144
     }
145 145
 
146
-   /**
147
-    * Sets the command's parent opening command, if any.
148
-    * NOTE: This is set automatically by the parser, and
149
-    * should not be called manually.
150
-    *
151
-    * @param Mailcode_Commands_Command $command
152
-    */
146
+    /**
147
+     * Sets the command's parent opening command, if any.
148
+     * NOTE: This is set automatically by the parser, and
149
+     * should not be called manually.
150
+     *
151
+     * @param Mailcode_Commands_Command $command
152
+     */
153 153
     public function setParent(Mailcode_Commands_Command $command) : void
154 154
     {
155 155
         $this->parent = $command;
@@ -295,9 +295,9 @@  discard block
 block discarded – undo
295 295
         return $this->validationResult->isValid();
296 296
     }
297 297
     
298
-   /**
299
-    * @return string[]
300
-    */
298
+    /**
299
+     * @return string[]
300
+     */
301 301
     abstract protected function getValidations() : array;
302 302
 
303 303
     protected function _validateNesting() : void
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command/SetVariable.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
  */
21 21
 class Mailcode_Commands_Command_SetVariable extends Mailcode_Commands_Command implements Mailcode_Commands_Command_Type_Standalone
22 22
 {
23
-   /**
24
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
25
-    */
23
+    /**
24
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
25
+     */
26 26
     private $variableToken;
27 27
     
28 28
     public function getName() : string
@@ -153,9 +153,9 @@  discard block
 block discarded – undo
153 153
         );
154 154
     }
155 155
     
156
-   /**
157
-    * @return Mailcode_Parser_Statement_Tokenizer_Token[]
158
-    */
156
+    /**
157
+     * @return Mailcode_Parser_Statement_Tokenizer_Token[]
158
+     */
159 159
     public function getAssignmentTokens() : array
160 160
     {
161 161
         $params = $this->requireParams()->getInfo()->getTokens();
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command/For.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -33,19 +33,19 @@
 block discarded – undo
33 33
     public const VALIDATION_VARIABLE_NAME_WITH_DOT = 49704;
34 34
     public const VALIDATION_LOOP_VARIABLE_NAME_WITH_DOT = 49705;
35 35
     
36
-   /**
37
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
38
-    */
36
+    /**
37
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
38
+     */
39 39
     private ?Mailcode_Parser_Statement_Tokenizer_Token_Variable $loopVar = null;
40 40
     
41
-   /**
42
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
43
-    */
41
+    /**
42
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
43
+     */
44 44
     private ?Mailcode_Parser_Statement_Tokenizer_Token_Variable $sourceVar = null;
45 45
     
46
-   /**
47
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Keyword|NULL
48
-    */
46
+    /**
47
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Keyword|NULL
48
+     */
49 49
     private ?Mailcode_Parser_Statement_Tokenizer_Token_Keyword $keyword = null;
50 50
     
51 51
     public function getName() : string
Please login to merge, or discard this patch.
src/Mailcode/Collection.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
     public const ERROR_CANNOT_MODIFY_FINALIZED = 52302;
27 27
     public const ERROR_NO_VALIDATION_RESULT_AVAILABLE = 52303;
28 28
     
29
-   /**
30
-    * @var Mailcode_Commands_Command[]
31
-    */
29
+    /**
30
+     * @var Mailcode_Commands_Command[]
31
+     */
32 32
     protected array $commands = array();
33 33
     
34 34
     /**
@@ -63,21 +63,21 @@  discard block
 block discarded – undo
63 63
         return $this;
64 64
     }
65 65
     
66
-   /**
67
-    * Whether there are any commands in the collection.
68
-    * 
69
-    * @return bool
70
-    */
66
+    /**
67
+     * Whether there are any commands in the collection.
68
+     * 
69
+     * @return bool
70
+     */
71 71
     public function hasCommands() : bool
72 72
     {
73 73
         return !empty($this->commands);
74 74
     }
75 75
     
76
-   /**
77
-    * Counts the amount of commands in the collection.
78
-    * 
79
-    * @return int
80
-    */
76
+    /**
77
+     * Counts the amount of commands in the collection.
78
+     * 
79
+     * @return int
80
+     */
81 81
     public function countCommands() : int
82 82
     {
83 83
         return count($this->commands);
@@ -98,12 +98,12 @@  discard block
 block discarded – undo
98 98
         $this->commands = $keep;
99 99
     }
100 100
     
101
-   /**
102
-    * Retrieves all commands that were detected, in the exact order
103
-    * they were found.
104
-    * 
105
-    * @return Mailcode_Commands_Command[]
106
-    */
101
+    /**
102
+     * Retrieves all commands that were detected, in the exact order
103
+     * they were found.
104
+     * 
105
+     * @return Mailcode_Commands_Command[]
106
+     */
107 107
     public function getCommands() : array
108 108
     {
109 109
         $this->validate();
@@ -357,10 +357,10 @@  discard block
 block discarded – undo
357 357
     }
358 358
 
359 359
     /**
360
-    * Retrieves only show variable commands in the collection, if any.
361
-    * 
362
-    * @return Mailcode_Commands_Command_ShowVariable[]
363
-    */
360
+     * Retrieves only show variable commands in the collection, if any.
361
+     * 
362
+     * @return Mailcode_Commands_Command_ShowVariable[]
363
+     */
364 364
     public function getShowVariableCommands(): array
365 365
     {
366 366
         return Mailcode_Collection_TypeFilter::getShowVariableCommands($this->commands);
@@ -374,11 +374,11 @@  discard block
 block discarded – undo
374 374
         return Mailcode_Collection_TypeFilter::getForCommands($this->commands);
375 375
     }
376 376
 
377
-   /**
378
-    * Retrieves only show date commands in the collection, if any.
379
-    *
380
-    * @return Mailcode_Commands_Command_ShowDate[]
381
-    */
377
+    /**
378
+     * Retrieves only show date commands in the collection, if any.
379
+     *
380
+     * @return Mailcode_Commands_Command_ShowDate[]
381
+     */
382 382
     public function getShowDateCommands() : array
383 383
     {
384 384
         return Mailcode_Collection_TypeFilter::getShowDateCommands($this->commands);
Please login to merge, or discard this patch.