Skip to content

Commit 5b811d5

Browse files
committed
fix attribute
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent e2bf46f commit 5b811d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Glue/glue.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ private function getPermissions(): void
330330
$permissions['ttl'] = $attribute->timeToLive()->as(Unit::Nanoseconds);
331331
break;
332332
case $attribute->getName() === AllowCreateFrom::class:
333+
/** @var AllowCreateFrom $attribute */ $attribute = $attribute->newInstance();
333334
if ($attribute->type) {
334335
$permissions['from-type'][] = $attribute->type;
335336
} else {

0 commit comments

Comments
 (0)