Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed May 8, 2024
1 parent 8bf2d48 commit 1596a32
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,7 @@ public function fetchOne(array $query = null): ?object
}

/** @var TEntity $result */
$result = $this->entityFactory->make($this->loader->getTarget(), $data[0], Node::MANAGED, typecast: true);

return $result;
return $this->entityFactory->make($this->loader->getTarget(), $data[0], Node::MANAGED, typecast: true);
}

/**
Expand Down

0 comments on commit 1596a32

Please sign in to comment.