@@ -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. |
@@ -25,8 +25,8 @@ |
||
25 | 25 | $this->data($title, $description, $url, $image); |
26 | 26 | |
27 | 27 | $this->buildTag("title", $title); |
28 | - $this->buildMeta("name", ["description" => $description]); |
|
29 | - $this->buildMeta("name", ["robots" => ($follow ? "index, follow" : "noindex, nofollow")]); |
|
28 | + $this->buildMeta("name", [ "description" => $description ]); |
|
29 | + $this->buildMeta("name", [ "robots" => ($follow ? "index, follow" : "noindex, nofollow") ]); |
|
30 | 30 | $this->buildLink("canonical", $url); |
31 | 31 | |
32 | 32 | foreach ($this->tags as $meta => $prefix) { |