Răsfoiți Sursa

chore: apply StyleCI recommendation

El RIDO 1 săptămână în urmă
părinte
comite
b7dbf2344f
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      lib/Model/Comment.php

+ 2 - 2
lib/Model/Comment.php

@@ -58,8 +58,8 @@ class Comment extends AbstractModel
 
         // Comment IDs must be unique within the paste, regardless of the
         // parent, and the parent must be either the paste or an existing comment.
-        $commentid    = $this->getId();
-        $parentid     = $this->getParentId();
+        $commentid = $this->getId();
+        $parentid = $this->getParentId();
         $parentExists = $parentid === $pasteid;
         if ($commentid === $pasteid) {
             throw new TranslatedException(self::COLLISION_ERROR, 72);