Passed
Push — master ( 6c661c...e8275e )
by Sebastian
04:14
created
src/Mailcode/Collection.php 1 patch
Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
     const ERROR_CANNOT_RETRIEVE_FIRST_ERROR = 52301;
26 26
     const ERROR_CANNOT_MODIFY_FINALIZED = 52302;
27 27
     
28
-   /**
29
-    * @var Mailcode_Commands_Command[]
30
-    */
28
+    /**
29
+     * @var Mailcode_Commands_Command[]
30
+     */
31 31
     protected $commands = array();
32 32
     
33 33
     /**
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
      */
36 36
     protected $errors = array();
37 37
     
38
-   /**
39
-    * @var OperationResult|NULL
40
-    */
38
+    /**
39
+     * @var OperationResult|NULL
40
+     */
41 41
     protected $validationResult;
42 42
 
43 43
     /**
@@ -77,21 +77,21 @@  discard block
 block discarded – undo
77 77
         return $this;
78 78
     }
79 79
     
80
-   /**
81
-    * Whether there are any commands in the collection.
82
-    * 
83
-    * @return bool
84
-    */
80
+    /**
81
+     * Whether there are any commands in the collection.
82
+     * 
83
+     * @return bool
84
+     */
85 85
     public function hasCommands() : bool
86 86
     {
87 87
         return !empty($this->commands);
88 88
     }
89 89
     
90
-   /**
91
-    * Counts the amount of commands in the collection.
92
-    * 
93
-    * @return int
94
-    */
90
+    /**
91
+     * Counts the amount of commands in the collection.
92
+     * 
93
+     * @return int
94
+     */
95 95
     public function countCommands() : int
96 96
     {
97 97
         return count($this->commands);
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
         $this->commands = $keep;
130 130
     }
131 131
     
132
-   /**
133
-    * @return Mailcode_Collection_Error[]
134
-    */
132
+    /**
133
+     * @return Mailcode_Collection_Error[]
134
+     */
135 135
     public function getErrors()
136 136
     {
137 137
         $result = $this->getValidationResult();
@@ -173,12 +173,12 @@  discard block
 block discarded – undo
173 173
         return empty($errors);
174 174
     }
175 175
     
176
-   /**
177
-    * Retrieves all commands that were detected, in the exact order
178
-    * they were found.
179
-    * 
180
-    * @return Mailcode_Commands_Command[]
181
-    */
176
+    /**
177
+     * Retrieves all commands that were detected, in the exact order
178
+     * they were found.
179
+     * 
180
+     * @return Mailcode_Commands_Command[]
181
+     */
182 182
     public function getCommands()
183 183
     {
184 184
         $this->validate();
@@ -329,10 +329,10 @@  discard block
 block discarded – undo
329 329
     }
330 330
 
331 331
     /**
332
-    * Retrieves only show variable commands in the collection, if any.
333
-    * 
334
-    * @return Mailcode_Commands_Command_ShowVariable[]
335
-    */
332
+     * Retrieves only show variable commands in the collection, if any.
333
+     * 
334
+     * @return Mailcode_Commands_Command_ShowVariable[]
335
+     */
336 336
     public function getShowVariableCommands(): array
337 337
     {
338 338
         return $this->getCommandsByClass(Mailcode_Commands_Command_ShowVariable::class);
@@ -346,11 +346,11 @@  discard block
 block discarded – undo
346 346
         return $this->getCommandsByClass(Mailcode_Commands_Command_For::class);
347 347
     }
348 348
 
349
-   /**
350
-    * Retrieves only show date commands in the collection, if any.
351
-    *
352
-    * @return Mailcode_Commands_Command_ShowDate[]
353
-    */
349
+    /**
350
+     * Retrieves only show date commands in the collection, if any.
351
+     *
352
+     * @return Mailcode_Commands_Command_ShowDate[]
353
+     */
354 354
     public function getShowDateCommands() : array
355 355
     {
356 356
         return $this->getCommandsByClass(Mailcode_Commands_Command_ShowDate::class);
Please login to merge, or discard this patch.
src/Mailcode/Traits/Commands/Validation/Multiline.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@
 block discarded – undo
26 26
  */
27 27
 trait Mailcode_Traits_Commands_Validation_Multiline
28 28
 {
29
-   /**
30
-    * @var boolean
31
-    */
29
+    /**
30
+     * @var boolean
31
+     */
32 32
     protected $multiline = false;
33 33
 
34
-   /**
35
-    * @var Mailcode_Parser_Statement_Tokenizer_Token_Keyword|NULL
36
-    */
34
+    /**
35
+     * @var Mailcode_Parser_Statement_Tokenizer_Token_Keyword|NULL
36
+     */
37 37
     protected $multilineToken;
38 38
     
39 39
     protected function validateSyntax_multiline() : void
Please login to merge, or discard this patch.