Fix styling issues
This commit is contained in:
parent
2b4e56fa22
commit
2e349f4dec
3 changed files with 31 additions and 31 deletions
|
|
@ -105,11 +105,11 @@ trait Universe
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function addLast(string $column = '_value'): QueryBuilderInterface
|
||||
{
|
||||
$this->addToQuery(
|
||||
new Last($column)
|
||||
);
|
||||
return $this;
|
||||
}
|
||||
public function addLast(string $column = '_value'): QueryBuilderInterface
|
||||
{
|
||||
$this->addToQuery(
|
||||
new Last($column)
|
||||
);
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,18 +4,18 @@ namespace Arendsen\FluxQueryBuilder\Functions;
|
|||
|
||||
class Last extends Base
|
||||
{
|
||||
/**
|
||||
* @var int $column
|
||||
*/
|
||||
private $column;
|
||||
/**
|
||||
* @var int $column
|
||||
*/
|
||||
private $column;
|
||||
|
||||
public function __construct(string $column = '_value')
|
||||
{
|
||||
$this->column = $column;
|
||||
}
|
||||
public function __construct(string $column = '_value')
|
||||
{
|
||||
$this->column = $column;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return '|> last(column: "' . (string)$this->column . '") ';
|
||||
}
|
||||
public function __toString()
|
||||
{
|
||||
return '|> last(column: "' . (string)$this->column . '") ';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue