Passed
Push — master ( ad7522...d3eb9e )
by Sebastian
05:45
created
src/Mailcode/Commands/LogicKeywords.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -31,27 +31,27 @@  discard block
 block discarded – undo
31 31
     public const VALIDATION_CANNOT_MIX_LOGIC_KEYWORDS = 60701;
32 32
     public const VALIDATION_INVALID_SUB_COMMAND = 60702;
33 33
     
34
-   /**
35
-    * @var string
36
-    */
34
+    /**
35
+     * @var string
36
+     */
37 37
     private $paramsString;
38 38
     
39
-   /**
40
-    * @var string[]
41
-    */
39
+    /**
40
+     * @var string[]
41
+     */
42 42
     private $names = array(
43 43
         'and', 
44 44
         'or'
45 45
     );
46 46
     
47
-   /**
48
-    * @var Mailcode_Commands_LogicKeywords_Keyword[]
49
-    */
47
+    /**
48
+     * @var Mailcode_Commands_LogicKeywords_Keyword[]
49
+     */
50 50
     private $keywords = array();
51 51
     
52
-   /**
53
-    * @var string
54
-    */
52
+    /**
53
+     * @var string
54
+     */
55 55
     private $mainParams = '';
56 56
     
57 57
     public function __construct(Mailcode_Commands_Command $command, string $paramsString)
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
         }
138 138
     }
139 139
     
140
-   /**
141
-    * @return string[]
142
-    */
140
+    /**
141
+     * @return string[]
142
+     */
143 143
     private function detectParameters() : array
144 144
     {
145 145
         $params = $this->paramsString;
@@ -157,13 +157,13 @@  discard block
 block discarded – undo
157 157
         return $stack;
158 158
     }
159 159
 
160
-   /**
161
-    * @param string $params
162
-    * @param Mailcode_Commands_LogicKeywords_Keyword $keyword
163
-    * @param string[] $stack
164
-    * @throws Mailcode_Exception
165
-    * @return string
166
-    */
160
+    /**
161
+     * @param string $params
162
+     * @param Mailcode_Commands_LogicKeywords_Keyword $keyword
163
+     * @param string[] $stack
164
+     * @throws Mailcode_Exception
165
+     * @return string
166
+     */
167 167
     private function detectParamsKeyword(string $params, Mailcode_Commands_LogicKeywords_Keyword $keyword, array &$stack) : string
168 168
     {
169 169
         $search = $keyword->getMatchedString();
@@ -188,22 +188,22 @@  discard block
 block discarded – undo
188 188
         return $params;
189 189
     }
190 190
     
191
-   /**
192
-    * Extracts the parameters string to use for the 
193
-    * original command itself, omitting all the logic
194
-    * keywords for the sub-commands.
195
-    * 
196
-    * @return string
197
-    */
191
+    /**
192
+     * Extracts the parameters string to use for the 
193
+     * original command itself, omitting all the logic
194
+     * keywords for the sub-commands.
195
+     * 
196
+     * @return string
197
+     */
198 198
     public function getMainParamsString() : string
199 199
     {
200 200
         return $this->mainParams;
201 201
     }
202 202
     
203
-   /**
204
-    * Retrieves the detected keyword names.
205
-    * @return string[]
206
-    */
203
+    /**
204
+     * Retrieves the detected keyword names.
205
+     * @return string[]
206
+     */
207 207
     public function getDetectedNames() : array
208 208
     {
209 209
         $names = array();
@@ -221,23 +221,23 @@  discard block
 block discarded – undo
221 221
         return $names;
222 222
     }
223 223
     
224
-   /**
225
-    * Retrieves all keywords that were detected in the
226
-    * command's parameters string, if any.
227
-    * 
228
-    * @return Mailcode_Commands_LogicKeywords_Keyword[]
229
-    */
224
+    /**
225
+     * Retrieves all keywords that were detected in the
226
+     * command's parameters string, if any.
227
+     * 
228
+     * @return Mailcode_Commands_LogicKeywords_Keyword[]
229
+     */
230 230
     public function getKeywords() : array
231 231
     {
232 232
         return $this->keywords;
233 233
     }
234 234
     
235
-   /**
236
-    * Detects any keyword statements in the parameters by keyword name.
237
-    * 
238
-    * @param string $name
239
-    * @return Mailcode_Commands_LogicKeywords_Keyword[]
240
-    */
235
+    /**
236
+     * Detects any keyword statements in the parameters by keyword name.
237
+     * 
238
+     * @param string $name
239
+     * @return Mailcode_Commands_LogicKeywords_Keyword[]
240
+     */
241 241
     private function detectKeywords(string $name) : array
242 242
     {
243 243
         $regex = sprintf('/%1$s\s+([a-z\-0-9]+):|%1$s:/x', $name);
Please login to merge, or discard this patch.
src/Mailcode/Commands/LogicKeywords/Keyword.php 1 patch
Indentation   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -29,39 +29,39 @@  discard block
 block discarded – undo
29 29
     public const VALIDATION_NO_COMMAND_CREATED = 61101;
30 30
     public const VALIDATION_INVALID_COMMAND_CREATED = 61102;
31 31
     
32
-   /**
33
-    * @var Mailcode_Commands_LogicKeywords
34
-    */
32
+    /**
33
+     * @var Mailcode_Commands_LogicKeywords
34
+     */
35 35
     private $keywords;
36 36
     
37
-   /**
38
-    * @var string
39
-    */
37
+    /**
38
+     * @var string
39
+     */
40 40
     private $name;
41 41
     
42
-   /**
43
-    * @var string
44
-    */
42
+    /**
43
+     * @var string
44
+     */
45 45
     private $keywordType;
46 46
     
47
-   /**
48
-    * @var string
49
-    */
47
+    /**
48
+     * @var string
49
+     */
50 50
     private $matchedString;
51 51
     
52
-   /**
53
-    * @var string
54
-    */
52
+    /**
53
+     * @var string
54
+     */
55 55
     private $params = '';
56 56
     
57
-   /**
58
-    * @var boolean
59
-    */
57
+    /**
58
+     * @var boolean
59
+     */
60 60
     private $paramsSet = false;
61 61
     
62
-   /**
63
-    * @var Mailcode_Collection
64
-    */
62
+    /**
63
+     * @var Mailcode_Collection
64
+     */
65 65
     private $collection;
66 66
     
67 67
     public function __construct(Mailcode_Commands_LogicKeywords $keywords, string $name, string $matchedString, string $type)
@@ -72,10 +72,10 @@  discard block
 block discarded – undo
72 72
         $this->matchedString = $matchedString;
73 73
     }
74 74
     
75
-   /**
76
-    * The keyword name, e.g. "and". Always lowercase.
77
-    * @return string
78
-    */
75
+    /**
76
+     * The keyword name, e.g. "and". Always lowercase.
77
+     * @return string
78
+     */
79 79
     public function getName() : string
80 80
     {
81 81
         return $this->name;
@@ -98,24 +98,24 @@  discard block
 block discarded – undo
98 98
         return $string;
99 99
     }
100 100
     
101
-   /**
102
-    * The full string that was matched in the command's parameters
103
-    * string. Examples: "and:", "and variable:"...
104
-    * 
105
-    * @return string
106
-    */
101
+    /**
102
+     * The full string that was matched in the command's parameters
103
+     * string. Examples: "and:", "and variable:"...
104
+     * 
105
+     * @return string
106
+     */
107 107
     public function getMatchedString() : string
108 108
     {
109 109
         return $this->matchedString;
110 110
     }
111 111
     
112
-   /**
113
-    * Sets the parameters string matching this logic keyword,
114
-    * which is used to build the actual sub-command. Set by
115
-    * the LogicKeywords class instance.
116
-    * 
117
-    * @param string $params
118
-    */
112
+    /**
113
+     * Sets the parameters string matching this logic keyword,
114
+     * which is used to build the actual sub-command. Set by
115
+     * the LogicKeywords class instance.
116
+     * 
117
+     * @param string $params
118
+     */
119 119
     public function setParamsString(string $params) : void
120 120
     {
121 121
         if($this->paramsSet)
@@ -133,13 +133,13 @@  discard block
 block discarded – undo
133 133
         $this->createCommand();
134 134
     }
135 135
     
136
-   /**
137
-    * Retrieves the full command string used to create 
138
-    * the actual command. For opening commands like IF,
139
-    * this includes the closing {end} command.
140
-    * 
141
-    * @return string
142
-    */
136
+    /**
137
+     * Retrieves the full command string used to create 
138
+     * the actual command. For opening commands like IF,
139
+     * this includes the closing {end} command.
140
+     * 
141
+     * @return string
142
+     */
143 143
     public function getCommandString() : string
144 144
     {
145 145
         $string = sprintf(
@@ -182,12 +182,12 @@  discard block
 block discarded – undo
182 182
         }
183 183
     }
184 184
     
185
-   /**
186
-    * Retrieves the command for the keyword.
187
-    * 
188
-    * @throws Mailcode_Exception
189
-    * @return Mailcode_Commands_Command
190
-    */
185
+    /**
186
+     * Retrieves the command for the keyword.
187
+     * 
188
+     * @throws Mailcode_Exception
189
+     * @return Mailcode_Commands_Command
190
+     */
191 191
     public function getCommand() : Mailcode_Commands_Command
192 192
     {
193 193
         $command = $this->collection->getFirstCommand();
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
@@ -43,44 +43,44 @@  discard block
 block discarded – undo
43 43
 
44 44
     public const META_URL_ENCODING = 'url_encoding';
45 45
 
46
-   /**
47
-    * @var string
48
-    */
46
+    /**
47
+     * @var string
48
+     */
49 49
     protected $type = '';
50 50
 
51
-   /**
52
-    * @var string
53
-    */
51
+    /**
52
+     * @var string
53
+     */
54 54
     protected $paramsString = '';
55 55
     
56
-   /**
57
-    * @var string
58
-    */
56
+    /**
57
+     * @var string
58
+     */
59 59
     protected $matchedText = '';
60 60
 
61
-   /**
62
-    * @var string
63
-    */
61
+    /**
62
+     * @var string
63
+     */
64 64
     protected $hash = '';
65 65
     
66
-   /**
67
-    * @var OperationResult
68
-    */
66
+    /**
67
+     * @var OperationResult
68
+     */
69 69
     protected $validationResult = null;
70 70
     
71
-   /**
72
-    * @var Mailcode
73
-    */
71
+    /**
72
+     * @var Mailcode
73
+     */
74 74
     protected $mailcode;
75 75
     
76
-   /**
77
-    * @var Mailcode_Parser_Statement
78
-    */
76
+    /**
77
+     * @var Mailcode_Parser_Statement
78
+     */
79 79
     protected $params;
80 80
 
81
-   /**
82
-    * @var string[] 
83
-    */
81
+    /**
82
+     * @var string[] 
83
+     */
84 84
     protected $validations = array(
85 85
         Mailcode_Interfaces_Commands_Validation_EmptyParams::VALIDATION_NAME_EMPTY_PARAMS,
86 86
         Mailcode_Interfaces_Commands_Validation_ParamKeywords::VALIDATION_NAME_KEYWORDS,
@@ -89,24 +89,24 @@  discard block
 block discarded – undo
89 89
         Mailcode_Interfaces_Commands_Validation_TypeUnsupported::VALIDATION_NAME_TYPE_UNSUPPORTED
90 90
     );
91 91
     
92
-   /**
93
-    * @var string
94
-    */
92
+    /**
93
+     * @var string
94
+     */
95 95
     protected $comment = '';
96 96
     
97
-   /**
98
-    * @var Mailcode_Commands_LogicKeywords|NULL
99
-    */
97
+    /**
98
+     * @var Mailcode_Commands_LogicKeywords|NULL
99
+     */
100 100
     protected $logicKeywords;
101 101
     
102
-   /**
103
-    * @var Mailcode_Parser_Statement_Validator
104
-    */
102
+    /**
103
+     * @var Mailcode_Parser_Statement_Validator
104
+     */
105 105
     protected $validator;
106 106
     
107
-   /**
108
-    * @var boolean
109
-    */
107
+    /**
108
+     * @var boolean
109
+     */
110 110
     private $validated = false;
111 111
 
112 112
     /**
@@ -141,13 +141,13 @@  discard block
 block discarded – undo
141 141
         
142 142
     }
143 143
 
144
-   /**
145
-    * Sets the command's parent opening command, if any.
146
-    * NOTE: This is set automatically by the parser, and
147
-    * should not be called manually.
148
-    *
149
-    * @param Mailcode_Commands_Command $command
150
-    */
144
+    /**
145
+     * Sets the command's parent opening command, if any.
146
+     * NOTE: This is set automatically by the parser, and
147
+     * should not be called manually.
148
+     *
149
+     * @param Mailcode_Commands_Command $command
150
+     */
151 151
     public function setParent(Mailcode_Commands_Command $command) : void
152 152
     {
153 153
         $this->parent = $command;
@@ -289,9 +289,9 @@  discard block
 block discarded – undo
289 289
         return $this->validationResult->isValid();
290 290
     }
291 291
     
292
-   /**
293
-    * @return string[]
294
-    */
292
+    /**
293
+     * @return string[]
294
+     */
295 295
     abstract protected function getValidations() : array;
296 296
 
297 297
     protected function _validateNesting() : void
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command/ShowNumber.php 2 patches
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@  discard block
 block discarded – undo
31 31
     public const VALIDATION_INVALID_DECIMAL_SEPARATOR = 72209;
32 32
     public const VALIDATION_SEPARATORS_SAME_CHARACTER = 72210;
33 33
     
34
-   /**
35
-    * The default number format string.
36
-    * @var string
37
-    */
34
+    /**
35
+     * The default number format string.
36
+     * @var string
37
+     */
38 38
     private $formatString = Mailcode_Number_Info::DEFAULT_FORMAT;
39 39
 
40 40
     /**
@@ -65,16 +65,16 @@  discard block
 block discarded – undo
65 65
 
66 66
     protected function validateSyntax_check_format() : void
67 67
     {
68
-         $tokens = $this->params->getInfo()->getStringLiterals();
68
+            $tokens = $this->params->getInfo()->getStringLiterals();
69 69
          
70
-         // no format specified? Use the default one.
71
-         if(empty($tokens))
72
-         {
73
-             return;
74
-         }
75
-
76
-         $token = array_pop($tokens);
77
-         $this->parseFormatString($token->getText());
70
+            // no format specified? Use the default one.
71
+            if(empty($tokens))
72
+            {
73
+                return;
74
+            }
75
+
76
+            $token = array_pop($tokens);
77
+            $this->parseFormatString($token->getText());
78 78
     }
79 79
 
80 80
     protected function validateSyntax_absolute() : void
@@ -107,11 +107,11 @@  discard block
 block discarded – undo
107 107
         );
108 108
     }
109 109
     
110
-   /**
111
-    * Retrieves the format string used to format the number.
112
-    * 
113
-    * @return string
114
-    */
110
+    /**
111
+     * Retrieves the format string used to format the number.
112
+     * 
113
+     * @return string
114
+     */
115 115
     public function getFormatString() : string
116 116
     {
117 117
         return $this->formatString;
@@ -132,11 +132,11 @@  discard block
 block discarded – undo
132 132
 
133 133
         if($absolute === true && !isset($this->absoluteKeyword))
134 134
         {
135
-             $this->params
136
-                 ->getInfo()
137
-                 ->addKeyword(Mailcode_Commands_Keywords::TYPE_ABSOLUTE);
135
+                $this->params
136
+                    ->getInfo()
137
+                    ->addKeyword(Mailcode_Commands_Keywords::TYPE_ABSOLUTE);
138 138
 
139
-             $this->validateSyntax_absolute();
139
+                $this->validateSyntax_absolute();
140 140
         }
141 141
 
142 142
         return $this;
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
          $tokens = $this->params->getInfo()->getStringLiterals();
69 69
          
70 70
          // no format specified? Use the default one.
71
-         if(empty($tokens))
71
+         if (empty($tokens))
72 72
          {
73 73
              return;
74 74
          }
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
     {
82 82
         $keywords = $this->params->getInfo()->getKeywords();
83 83
 
84
-        foreach($keywords as $keyword)
84
+        foreach ($keywords as $keyword)
85 85
         {
86
-            if($keyword->getKeyword() === Mailcode_Commands_Keywords::TYPE_ABSOLUTE)
86
+            if ($keyword->getKeyword() === Mailcode_Commands_Keywords::TYPE_ABSOLUTE)
87 87
             {
88 88
                 $this->absoluteKeyword = $keyword;
89 89
                 break;
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     {
96 96
         $result = new Mailcode_Number_Info($format);
97 97
 
98
-        if($result->isValid())
98
+        if ($result->isValid())
99 99
         {
100 100
             $this->formatString = $format;
101 101
             return;
@@ -124,13 +124,13 @@  discard block
 block discarded – undo
124 124
 
125 125
     public function setAbsolute(bool $absolute) : Mailcode_Commands_Command_ShowNumber
126 126
     {
127
-        if($absolute === false && isset($this->absoluteKeyword))
127
+        if ($absolute === false && isset($this->absoluteKeyword))
128 128
         {
129 129
             $this->params->getInfo()->removeKeyword($this->absoluteKeyword->getKeyword());
130 130
             $this->absoluteKeyword = null;
131 131
         }
132 132
 
133
-        if($absolute === true && !isset($this->absoluteKeyword))
133
+        if ($absolute === true && !isset($this->absoluteKeyword))
134 134
         {
135 135
              $this->params
136 136
                  ->getInfo()
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
@@ -32,19 +32,19 @@
 block discarded – undo
32 32
     public const VALIDATION_VARIABLE_NAME_WITH_DOT = 49704;
33 33
     public const VALIDATION_LOOP_VARIABLE_NAME_WITH_DOT = 49705;
34 34
     
35
-   /**
36
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
37
-    */
35
+    /**
36
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
37
+     */
38 38
     private $loopVar;
39 39
     
40
-   /**
41
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
42
-    */
40
+    /**
41
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL
42
+     */
43 43
     private $sourceVar;
44 44
     
45
-   /**
46
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Keyword|NULL
47
-    */
45
+    /**
46
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Keyword|NULL
47
+     */
48 48
     private $keyword;
49 49
     
50 50
     public function getName() : string
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
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 {
24 24
     public const ERROR_UNKNOWN_COMMAND_TYPE = 50401;
25 25
     
26
-   /**
27
-    * @var string
28
-    */
26
+    /**
27
+     * @var string
28
+     */
29 29
     protected $typeID;
30 30
     
31 31
     public function __construct(string $typeID)
@@ -33,22 +33,22 @@  discard block
 block discarded – undo
33 33
         $this->typeID = $typeID;
34 34
     }
35 35
     
36
-   /**
37
-    * Retrieves the syntax' type ID, e.g. "ApacheVelocity".
38
-    * @return string
39
-    */
36
+    /**
37
+     * Retrieves the syntax' type ID, e.g. "ApacheVelocity".
38
+     * @return string
39
+     */
40 40
     public function getTypeID() : string
41 41
     {
42 42
         return $this->typeID;
43 43
     }
44 44
     
45
-   /**
46
-    * Translates a single command to the target syntax.
47
-    * 
48
-    * @param Mailcode_Commands_Command $command
49
-    * @throws Mailcode_Translator_Exception
50
-    * @return string
51
-    */
45
+    /**
46
+     * Translates a single command to the target syntax.
47
+     * 
48
+     * @param Mailcode_Commands_Command $command
49
+     * @throws Mailcode_Translator_Exception
50
+     * @return string
51
+     */
52 52
     public function translateCommand(Mailcode_Commands_Command $command) : string
53 53
     {
54 54
         $translator = $this->createTranslator($command);
Please login to merge, or discard this patch.
src/Mailcode/Translator/Syntax/ApacheVelocity.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         
70 70
         // All other special characters have to be escaped
71 71
         // with two backslashes. 
72
-        foreach($this->regexSpecialChars as $char)
72
+        foreach ($this->regexSpecialChars as $char)
73 73
         {
74 74
             $string = str_replace($char, '\\'.$char, $string);
75 75
         }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
     protected function addURLEncoding(Mailcode_Commands_Command $command, string $statement) : string
85 85
     {
86
-        if($command->isURLEncoded())
86
+        if ($command->isURLEncoded())
87 87
         {
88 88
             return sprintf(
89 89
                 '${esc.url($%s)}',
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             );
92 92
         }
93 93
 
94
-        if($command->isURLDecoded())
94
+        if ($command->isURLDecoded())
95 95
         {
96 96
             return sprintf(
97 97
                 '${esc.unurl($%s)}',
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             $numberInfo->getThousandsSeparator()
118 118
         );
119 119
 
120
-        if($absolute)
120
+        if ($absolute)
121 121
         {
122 122
             $cmd .= ".replaceAll('-', '')";
123 123
         }
Please login to merge, or discard this patch.
src/Mailcode/Translator/Syntax/ApacheVelocity/ShowDate.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,15 +24,15 @@
 block discarded – undo
24 24
 {
25 25
     public const ERROR_UNKNOWN_DATE_FORMAT_CHARACTER = 55501;
26 26
 
27
-   /**
28
-    * The date format used in the date variable. This is used to convert
29
-    * the native date to the format specified in the variable command.
30
-    */
27
+    /**
28
+     * The date format used in the date variable. This is used to convert
29
+     * the native date to the format specified in the variable command.
30
+     */
31 31
     public const DEFAULT_INTERNAL_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
32 32
 
33
-   /**
34
-    * @var string[]string
35
-    */
33
+    /**
34
+     * @var string[]string
35
+     */
36 36
     private $charTable = array(
37 37
         'd' => 'dd',
38 38
         'j' => 'd',
Please login to merge, or discard this patch.
src/Mailcode/Variables/Variable.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -32,34 +32,34 @@
 block discarded – undo
32 32
     public const VALIDATION_ERROR_PATH_UNDERSCORE = 48203;
33 33
     public const VALIDATION_ERROR_NAME_UNDERSCORE = 48204;
34 34
     
35
-   /**
36
-    * @var string
37
-    */
35
+    /**
36
+     * @var string
37
+     */
38 38
     protected $path;
39 39
     
40
-   /**
41
-    * @var string
42
-    */
40
+    /**
41
+     * @var string
42
+     */
43 43
     protected $name;
44 44
     
45
-   /**
46
-    * @var string
47
-    */
45
+    /**
46
+     * @var string
47
+     */
48 48
     protected $matchedText;
49 49
     
50
-   /**
51
-    * @var string
52
-    */
50
+    /**
51
+     * @var string
52
+     */
53 53
     protected $hash = '';
54 54
     
55
-   /**
56
-    * @var OperationResult
57
-    */
55
+    /**
56
+     * @var OperationResult
57
+     */
58 58
     protected $validationResult = null;
59 59
     
60
-   /**
61
-    * @var array<string>
62
-    */
60
+    /**
61
+     * @var array<string>
62
+     */
63 63
     protected $validations = array(
64 64
         'number_path',
65 65
         'number_name',
Please login to merge, or discard this patch.