diff options
Diffstat (limited to 'src/decorators/CallbackDecorator.php')
-rw-r--r-- | src/decorators/CallbackDecorator.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decorators/CallbackDecorator.php b/src/decorators/CallbackDecorator.php index 844c0f94..1f1e93b1 100644 --- a/src/decorators/CallbackDecorator.php +++ b/src/decorators/CallbackDecorator.php @@ -1,7 +1,7 @@ <?php /** - * PHPPgAdmin 6.1.3 + * PHPPgAdmin6 */ namespace PHPPgAdmin\Decorators; @@ -14,7 +14,9 @@ class CallbackDecorator extends Decorator * @var \Closure|mixed */ public $fn; + public $p; + public function __construct(Closure $callback, $param = null) { $this->fn = $callback; |