Passed
Branch master (8b93ed)
by Vladimir
03:29
created
Category
src/drivers/Twitter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
         }
40 40
 
41 41
         $this->_metaTags = [
42
-            [ 'name' => 'twitter:card',         'content' => 'summary_large_image' ],
43
-            [ 'name' => 'twitter:title',        'content' => '{title}' ],
44
-            [ 'name' => 'twitter:description',  'content' => '{description}' ],
45
-            [ 'name' => 'twitter:image',        'content' => '{imageUrl}' ]
42
+            ['name' => 'twitter:card', 'content' => 'summary_large_image'],
43
+            ['name' => 'twitter:title', 'content' => '{title}'],
44
+            ['name' => 'twitter:description', 'content' => '{description}'],
45
+            ['name' => 'twitter:image', 'content' => '{imageUrl}']
46 46
         ];
47 47
 
48 48
         return parent::getLink();
Please login to merge, or discard this patch.
src/drivers/Facebook.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
     {
26 26
         $this->_link = 'http://www.facebook.com/sharer.php?u={url}';
27 27
         $this->_metaTags = [
28
-            [ 'property' => 'og:url',         'content' => '{url}' ],
29
-            [ 'property' => 'og:type',        'content' => 'website' ],
30
-            [ 'property' => 'og:title',       'content' => '{title}' ],
31
-            [ 'property' => 'og:description', 'content' => '{description}' ],
32
-            [ 'property' => 'og:image',       'content' => '{imageUrl}' ],
28
+            ['property' => 'og:url', 'content' => '{url}'],
29
+            ['property' => 'og:type', 'content' => 'website'],
30
+            ['property' => 'og:title', 'content' => '{title}'],
31
+            ['property' => 'og:description', 'content' => '{description}'],
32
+            ['property' => 'og:image', 'content' => '{imageUrl}'],
33 33
         ];
34 34
 
35 35
         return parent::getLink();
Please login to merge, or discard this patch.
src/widgets/SocialShare.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
     {
122 122
         $iconSelector = $this->_configurator->getIconSelector($driverName);
123 123
         return $this->enableDefaultIcons()
124
-            ? Html::tag('i', '', ['class' => $iconSelector,])
124
+            ? Html::tag('i', '', ['class' => $iconSelector, ])
125 125
             : $label;
126 126
     }
127 127
 
Please login to merge, or discard this patch.