Преглед изворни кода

[YAML] fixed coding standards

Dennis Benkert пре 15 година
родитељ
комит
0893600f0e
2 измењених фајлова са 7 додато и 9 уклоњено
  1. 6 7
      src/Symfony/Components/YAML/Parser.php
  2. 1 2
      src/Symfony/Components/YAML/YAML.php

+ 6 - 7
src/Symfony/Components/YAML/Parser.php

@@ -19,13 +19,12 @@ namespace Symfony\Components\YAML;
  */
 class Parser
 {
-  protected
-    $value         = '',
-    $offset        = 0,
-    $lines         = array(),
-    $currentLineNb = -1,
-    $currentLine   = '',
-    $refs          = array();
+  protected $value          = '';
+  protected $offset         = 0;
+  protected $lines          = array();
+  protected $currentLineNb  = -1;
+  protected $currentLine    = '';
+  protected $refs           = array();
 
   /**
    * Constructor

+ 1 - 2
src/Symfony/Components/YAML/YAML.php

@@ -19,8 +19,7 @@ namespace Symfony\Components\YAML;
  */
 class YAML
 {
-  static protected
-    $spec = '1.2';
+  static protected $spec = '1.2';
 
   /**
    * Sets the YAML specification version to use.