Passed
Push — master ( efa86f...55c9f6 )
by Petr
10:18
created
php-src/HtmlElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     use TCss, TStyles;
20 20
 
21 21
     /** @var string[] */
22
-    protected static array $emptyElements = ['img','hr','br','input','meta','area','embed','keygen','link','param','frame'];
22
+    protected static array $emptyElements = ['img', 'hr', 'br', 'input', 'meta', 'area', 'embed', 'keygen', 'link', 'param', 'frame'];
23 23
 
24 24
     /** @var string  element's name */
25 25
     private string $name = '';
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function __construct(string $name, array $attributes = [])
43 43
     {
44
-        $name = strval(str_ireplace(['<','>'],'', $name));
44
+        $name = strval(str_ireplace(['<', '>'], '', $name));
45 45
         $parts = explode(' ', $name, 2);
46 46
         $name = $parts[0];
47 47
 
Please login to merge, or discard this patch.
php-src/ATemplate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 {
13 13
     protected string $template = '';
14 14
     protected string $defaultTemplate = '';
15
-    protected static ?Template\Item $item = null;
15
+    protected static ? Template\Item $item = null;
16 16
     /** @var Template\Item[] */
17 17
     protected array $items = [];
18 18
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     protected function getItem(string $key): ?Template\Item
59 59
     {
60
-        return isset($this->items[$key]) ? $this->items[$key] : null ;
60
+        return isset($this->items[$key]) ? $this->items[$key] : null;
61 61
     }
62 62
 
63 63
     protected function updateItem(string $key, ?string $value): self
Please login to merge, or discard this patch.