Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Filament\Tables\Columns\Concerns; use Closure; trait HasWidth { pro..

Decoded Output download

<?php

namespace Filament\Tables\Columns\Concerns;

use Closure;

trait HasWidth
{
    protected int | string | Closure | null $width = null;

    public function width(int | string | Closure | null $width): static
    {
        $this->width = $width;

        return $this;
    }

    public function getWidth(): ?string
    {
        $width = $this->evaluate($this->width);

        if (is_int($width)) {
            $width = "{$width}px";
        }

        return $width;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Filament\Tables\Columns\Concerns;

use Closure;

trait HasWidth
{
    protected int | string | Closure | null $width = null;

    public function width(int | string | Closure | null $width): static
    {
        $this->width = $width;

        return $this;
    }

    public function getWidth(): ?string
    {
        $width = $this->evaluate($this->width);

        if (is_int($width)) {
            $width = "{$width}px";
        }

        return $width;
    }
}

Function Calls

None

Variables

None

Stats

MD5 c91d67823556c52fe04dd04a29cf173f
Eval Count 0
Decode Time 158 ms