mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Updated omines/datatables-bundle
This commit is contained in:
parent
e1120dbfa7
commit
641b47b189
8 changed files with 46 additions and 56 deletions
|
@ -79,10 +79,7 @@ class LocaleDateTimeColumn extends AbstractColumn
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
protected function configureOptions(OptionsResolver $resolver): self
|
||||
protected function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
||||
|
|
|
@ -57,10 +57,7 @@ class LogEntryTargetColumn extends AbstractColumn
|
|||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
public function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
$resolver->setDefault('show_associated', true);
|
||||
|
|
|
@ -79,10 +79,7 @@ class PartAttachmentsColumn extends AbstractColumn
|
|||
return $tmp;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
public function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
||||
|
|
|
@ -28,11 +28,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
|||
|
||||
class RowClassColumn extends AbstractColumn
|
||||
{
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
public function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
||||
|
@ -56,7 +52,7 @@ class RowClassColumn extends AbstractColumn
|
|||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function normalize($value)
|
||||
public function normalize($value): mixed
|
||||
{
|
||||
return $value;
|
||||
}
|
||||
|
|
|
@ -32,10 +32,7 @@ class SIUnitNumberColumn extends AbstractColumn
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
public function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
||||
|
|
|
@ -30,10 +30,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
|||
*/
|
||||
class SelectColumn extends AbstractColumn
|
||||
{
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
public function configureOptions(OptionsResolver $resolver): static
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue