Skip to content

Commit fdcf13d

Browse files
SocolaDaiCaactions-user
authored andcommitted
Fix styling
1 parent d5036af commit fdcf13d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/HasTablePrefix.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ public function getTable()
3333

3434
if ($this instanceof Pivot && ! isset($this->table)) {
3535
$this->setTable($this->getPrefix() . str_replace(
36-
'\\', '', Str::snake(Str::singular(class_basename($this)))
36+
'\\',
37+
'',
38+
Str::snake(Str::singular(class_basename($this)))
3739
));
40+
3841
return $this->tableWithPrefix;
3942
}
4043

0 commit comments

Comments
 (0)