Skip to content

Commit c892092

Browse files
sfadschmMGatner
andauthored
Apply CS fixes from suggestions.
Co-authored-by: MGatner <[email protected]>
1 parent 09ffd7f commit c892092

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Traits/ModelTrait.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@ public function without($tables)
8383
protected function getWith(): array
8484
{
8585
// Ensure $this->with is set at all
86-
if(empty($this->with)){
86+
if (empty($this->with))
87+
{
8788
$this->with = [];
8889
}
8990

9091
// Force a single table name into an array
91-
if (!is_array($this->with))
92+
if (! is_array($this->with))
9293
{
9394
$this->with = [$this->with];
9495
}

0 commit comments

Comments
 (0)