Passed
Push — master ( 7e5ad5...d529e6 )
by 世昌
04:13
created
nebula/component/template/EmptyTemplate.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     protected $extends;
18 18
 
19
-    public function get(string $name=null, $default=null)
19
+    public function get(string $name = null, $default = null)
20 20
     {
21 21
         if (is_null($name)) {
22 22
             return $this->value;
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     public function assign(array $values)
39 39
     {
40
-        $this->value=array_merge($this->value, $values);
40
+        $this->value = array_merge($this->value, $values);
41 41
         return $this;
42 42
     }
43 43
     
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     public function getRenderedString()
64 64
     {
65
-        $text =  'EmptyTemplate<'.$this->get('name', 'null').'>';
65
+        $text = 'EmptyTemplate<'.$this->get('name', 'null').'>';
66 66
         if ($this->extends) {
67 67
             $text = $this->extends->getRenderedString();
68 68
         }
Please login to merge, or discard this patch.