Skip to content

Commit 49eee7e

Browse files
committed
Use static instead of self
1 parent adf92fc commit 49eee7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/src/Console/Helpers/ViewPublishGroup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ protected function __construct(string $group, string $source, string $target, ar
4242
$this->description = $description ?? "Publish the '$group' files for customization.";
4343
}
4444

45-
public static function fromGroup(string $group, ?string $name = null, ?string $description = null): self
45+
public static function fromGroup(string $group, ?string $name = null, ?string $description = null): static
4646
{
4747
[$source, $target] = static::keyedArrayToTuple(static::$provider::pathsToPublish(static::$provider, $group));
4848
[$source, $target] = [static::normalizePath($source), static::normalizePath($target)];
4949

50-
$files = self::findFiles($source);
50+
$files = static::findFiles($source);
5151

5252
return new static($group, $source, $target, $files, $name, $description);
5353
}

0 commit comments

Comments
 (0)