Skip to content
Snippets Groups Projects
Commit 2abb5d01 authored by Chris Müller's avatar Chris Müller Committed by Nikita Hovratov
Browse files

[TASK] Fix typo in docblock of AfterRecordPublishedEvent

Additionally, add descriptions to the available methods.

Related: #99430
Resolves: #99619
Releases: main
Change-Id: If4f7f8a90258727f1cb0044203fe5a41b3f78a3e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77480


Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent b98a9715
Branches
Tags
No related merge requests found
......@@ -18,7 +18,7 @@ declare(strict_types=1);
namespace TYPO3\CMS\Workspaces\Event;
/**
* Event that is fired after a record has been published ina workspace.
* Event that is fired after a record has been published in a workspace.
*/
final class AfterRecordPublishedEvent
{
......@@ -29,16 +29,25 @@ final class AfterRecordPublishedEvent
) {
}
/**
* The table name of the record.
*/
public function getTable(): string
{
return $this->table;
}
/**
* The uid of the record
*/
public function getRecordId(): int
{
return $this->recordId;
}
/**
* The workspace the record has been published in.
*/
public function getWorkspaceId(): int
{
return $this->workspaceId;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment