Passed
Push — Security_and_bug_fixes ( 84d33f...efbd61 )
by Stone
05:01
created
App/Controllers/Ajax/Category.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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";
Please login to merge, or discard this patch.
App/Models/TagModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.