@@ -17,7 +17,7 @@ |
||
| 17 | 17 | protected $data; |
| 18 | 18 | |
| 19 | 19 | /** @var array */ |
| 20 | - protected $tags = ["property" => "og", "name" => "twitter"]; |
|
| 20 | + protected $tags = [ "property" => "og", "name" => "twitter" ]; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * MetaTags constructor. |
@@ -26,8 +26,8 @@ discard block |
||
| 26 | 26 | $description = $this->filter($description); |
| 27 | 27 | |
| 28 | 28 | $this->buildTag("title", $title); |
| 29 | - $this->buildMeta("name", ["description" => $description]); |
|
| 30 | - $this->buildMeta("name", ["robots" => ($follow ? "index, follow" : "noindex, nofollow")]); |
|
| 29 | + $this->buildMeta("name", [ "description" => $description ]); |
|
| 30 | + $this->buildMeta("name", [ "robots" => ($follow ? "index, follow" : "noindex, nofollow") ]); |
|
| 31 | 31 | $this->buildLink("canonical", $url); |
| 32 | 32 | |
| 33 | 33 | foreach ($this->tags as $meta => $prefix) { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | return $this; |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | - if($admins) { |
|
| 134 | + if ($admins) { |
|
| 135 | 135 | foreach ($admins as $admin) { |
| 136 | 136 | $fb = $this->meta->addChild("meta"); |
| 137 | 137 | $fb->addAttribute("property", "fb:admins"); |