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 1 patch
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.
core/TagParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     
43 43
     private $tags = [
44 44
         'mail' => ['class' => 'luya\tag\tags\MailTag'],
45
-    	'tel' => ['class' => 'luya\tag\tags\TelTag'],
45
+        'tel' => ['class' => 'luya\tag\tags\TelTag'],
46 46
     ];
47 47
     
48 48
     private static $_instance = null;
Please login to merge, or discard this patch.
core/tag/tags/TelTag.php 1 patch
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.