Skip to content

Commit 529caee

Browse files
committed
#3010 - method impl is same as parent, removing duplicate
1 parent db060d4 commit 529caee

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/EloquentDataTable.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -141,19 +141,6 @@ protected function isMorphRelation($relation)
141141
return $isMorph;
142142
}
143143

144-
protected function getColumnNameByIndex(int $index): string
145-
{
146-
$name = (isset($this->columns[$index]) && $this->columns[$index] != '*')
147-
? $this->columns[$index]
148-
: $this->getPrimaryKeyName();
149-
150-
if ($name instanceof Expression) {
151-
$name = $name->getValue($this->query->getGrammar());
152-
}
153-
154-
return in_array($name, $this->extraColumns, true) ? $this->getPrimaryKeyName() : $name;
155-
}
156-
157144
/**
158145
* Resolve the proper column name be used.
159146
*

0 commit comments

Comments
 (0)