@@ -51,7 +51,7 @@ |
||
| 51 | 51 | die(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - if(!$this->categoryModel->isCategorySlugUnique($send["categories_slug"])) |
|
| 54 | + if (!$this->categoryModel->isCategorySlugUnique($send["categories_slug"])) |
|
| 55 | 55 | { |
| 56 | 56 | $result["success"] = false; |
| 57 | 57 | $result["errorMessage"] = "Slug is not unique"; |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $this->query($sql); |
| 91 | 91 | $this->bind(":tag", $tag); |
| 92 | 92 | $this->execute(); |
| 93 | - return (int)$this->dbh->lastInsertId(); |
|
| 93 | + return (int) $this->dbh->lastInsertId(); |
|
| 94 | 94 | |
| 95 | 95 | } |
| 96 | 96 | |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | public function getTags(): array |
| 120 | 120 | { |
| 121 | - if($this->countTags() > 0) |
|
| 121 | + if ($this->countTags() > 0) |
|
| 122 | 122 | { |
| 123 | 123 | return $this->getResultSet($this->tagTbl); |
| 124 | 124 | } |