Completed
Push — master ( 9ef083...af60f7 )
by Marc
03:21
created
core/tag/BaseTag.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
             $this->_view = Yii::$app->getView();
28 28
         }
29 29
     	
30
-    	return $this->_view;
30
+        return $this->_view;
31 31
     }
32 32
 }
33 33
\ No newline at end of file
Please login to merge, or discard this patch.
core/lazyload/LazyLoad.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
  */
20 20
 class LazyLoad extends Widget
21 21
 {
22
-	/**
23
-	 * @var string The path to the image you want to lazy load.
24
-	 */
22
+    /**
23
+     * @var string The path to the image you want to lazy load.
24
+     */
25 25
     public $src = null;
26 26
     
27 27
     /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function run()
68 68
     {
69
-        $this->class .= " " . $this->additionalClass;
69
+        $this->class .= " ".$this->additionalClass;
70 70
 
71
-        if($this->onlyTags) {
71
+        if ($this->onlyTags) {
72 72
             return "class = \"$this->class\"
73 73
                     data-src = \"$this->src\"
74 74
                     data-width = \"$this->width\"
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         }
79 79
         
80 80
         $tag = Html::tag('img', '', ['class' => $this->class, 'data-src' => $this->src, 'data-width' => $this->width, 'data-height' => $this->height]);
81
-        $tag.= '<noscript><img class="'.$this->class.'" src="'.$this->src.'" /></noscript>';
81
+        $tag .= '<noscript><img class="'.$this->class.'" src="'.$this->src.'" /></noscript>';
82 82
         return $tag;
83 83
     }
84 84
 }
85 85
\ No newline at end of file
Please login to merge, or discard this patch.
core/tag/tags/TelTag.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -8,22 +8,22 @@
 block discarded – undo
8 8
 
9 9
 class TelTag extends BaseTag
10 10
 {
11
-	public function readme()
12
-	{
13
-		return 'Generate a tel link which is commonly used on mobile websites in order create a click to call link. tel[+41 061 123 123] or with with a name instead of the phone number tel[+41 061 123 123](call us now!).';
14
-	}
11
+    public function readme()
12
+    {
13
+        return 'Generate a tel link which is commonly used on mobile websites in order create a click to call link. tel[+41 061 123 123] or with with a name instead of the phone number tel[+41 061 123 123](call us now!).';
14
+    }
15 15
 	
16
-	public function parse($value, $sub)
17
-	{
18
-		return Html::a(empty($sub) ? $value : $sub, 'tel:' . $this->ensureNumber($value));
19
-	}
16
+    public function parse($value, $sub)
17
+    {
18
+        return Html::a(empty($sub) ? $value : $sub, 'tel:' . $this->ensureNumber($value));
19
+    }
20 20
 		
21
-	private function ensureNumber($number)
22
-	{
23
-		if (!StringHelper::startsWith($number, '+')) {
24
-			$number = '+'.$number;
25
-		}
21
+    private function ensureNumber($number)
22
+    {
23
+        if (!StringHelper::startsWith($number, '+')) {
24
+            $number = '+'.$number;
25
+        }
26 26
 		
27
-		return str_replace(" ", "", $number);
28
-	}
27
+        return str_replace(" ", "", $number);
28
+    }
29 29
 }
30 30
\ No newline at end of file
Please login to merge, or discard this 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.