forked from GNUsocial/gnu-social
[TOOLS][DOCS] Add missing doc blocks, as signaled by doc-checker
This commit is contained in:
@@ -42,6 +42,10 @@ use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
|
||||
class EditFeeds extends Controller
|
||||
{
|
||||
/**
|
||||
* Controller for editing the list of feeds in the user's left
|
||||
* panel. Adds and removes `\App\Entity\Feed`s as appropriate
|
||||
*/
|
||||
public function __invoke(Request $request)
|
||||
{
|
||||
$user = Common::ensureLoggedIn();
|
||||
|
@@ -99,6 +99,11 @@ class Tag extends Component
|
||||
return mb_substr($tag, 0, self::MAX_TAG_LENGTH);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a tag to it's canonical representation, by splitting it
|
||||
* into words, stemming it in the given language (if enabled) and
|
||||
* sluggifying it (turning it into an ASCII representation)
|
||||
*/
|
||||
public static function canonicalTag(string $tag, ?string $language): string
|
||||
{
|
||||
$result = '';
|
||||
|
Reference in New Issue
Block a user