diff --git a/src/SelectTree.php b/src/SelectTree.php
index 6139df5..746b1ee 100644
--- a/src/SelectTree.php
+++ b/src/SelectTree.php
@@ -134,7 +134,7 @@ private function buildTree(): Collection
             $nullParentQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $nullParentQuery]);
         }
 
-        if($this->withTrashed) {
+        if ($this->withTrashed) {
             $nullParentQuery->withTrashed($this->withTrashed);
             $nonNullParentQuery->withTrashed($this->withTrashed);
         }