Browse Source

[YAML] fixed coding standards

Dennis Benkert 15 năm trước cách đây
mục cha
commit
0893600f0e

+ 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.