Laravel AT Protocol Client (alpha & unstable)
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix type hint in registration hint output

+1 -1
+1 -1
src/Console/MakeAtpClientCommand.php
··· 99 99 $this->line("use SocialDept\\AtpClient\\".($isPublic ? 'Client\\Public\\' : '').$clientClass.';'); 100 100 $this->newLine(); 101 101 $this->line("// In boot() method:"); 102 - $this->line("{$clientClass}::extend('{$extensionName}', fn(\${$clientClass} \$atp) => new {$name}(\$atp));"); 102 + $this->line("{$clientClass}::extend('{$extensionName}', fn({$clientClass} \$atp) => new {$name}(\$atp));"); 103 103 } 104 104 105 105 protected function getStub(): string