Completed
Branch master (cfcd26)
by Basil
02:56
created
core/tag/tags/TelTag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     
16 16
     public function parse($value, $sub)
17 17
     {
18
-        return Html::a(empty($sub) ? $value : $sub, 'tel:' . $this->ensureNumber($value));
18
+        return Html::a(empty($sub) ? $value : $sub, 'tel:'.$this->ensureNumber($value));
19 19
     }
20 20
         
21 21
     private function ensureNumber($number)
Please login to merge, or discard this patch.
core/lazyload/LazyLoad.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,14 +70,14 @@
 block discarded – undo
70 70
      */
71 71
     public function run()
72 72
     {
73
-        $class = 'lazy-image ' . $this->class;
73
+        $class = 'lazy-image '.$this->class;
74 74
         
75 75
         if ($this->attributesOnly) {
76 76
             return "class=\"{$class}\" data-src=\"$this->src\" data-width=\"$this->width\" data-height=\"$this->height\" data-as-background=\"1\"";
77 77
         }
78 78
         
79 79
         $tag = Html::tag('img', '', ['class' => $class, 'data-src' => $this->src, 'data-width' => $this->width, 'data-height' => $this->height]);
80
-        $tag.= '<noscript><img class="'.$this->class.'" src="'.$this->src.'" /></noscript>';
80
+        $tag .= '<noscript><img class="'.$this->class.'" src="'.$this->src.'" /></noscript>';
81 81
         return $tag;
82 82
     }
83 83
 }
Please login to merge, or discard this patch.
core/console/commands/SetupController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         }
106 106
         
107 107
         if (empty($this->langShortCode)) {
108
-            $this->langShortCode = $this->prompt('Short-Code of the Standard language:', ['required' => true, 'default' => 'en', 'validator' => function ($input, &$error) {
108
+            $this->langShortCode = $this->prompt('Short-Code of the Standard language:', ['required' => true, 'default' => 'en', 'validator' => function($input, &$error) {
109 109
                 if (strlen($input) !== 2) {
110 110
                     $error = 'The Short-Code must be 2 chars length only. Examples: de, en, fr, ru';
111 111
                     return false;
Please login to merge, or discard this patch.