Skip to content

Commit edbe38f

Browse files
committed
Sync tutorial-series
1 parent 3f7a5b4 commit edbe38f

File tree

36 files changed

+86
-86
lines changed

36 files changed

+86
-86
lines changed

snippets/tutorial/tutorial-series/part-2/files/lib/system/event/listener/BirthdayPersonAddFormListener.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
* Handles setting the birthday when adding and editing people.
1212
*
1313
* @author Matthias Schmidt
14-
* @copyright 2001-2021 WoltLab GmbH
14+
* @copyright 2001-2022 WoltLab GmbH
1515
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1616
* @package WoltLabSuite\Core\System\Event\Listener
1717
*/
18-
class BirthdayPersonAddFormListener extends AbstractEventListener
18+
final class BirthdayPersonAddFormListener extends AbstractEventListener
1919
{
2020
/**
2121
* @see AbstractFormBuilderForm::createForm()
2222
*/
2323
protected function onCreateForm(PersonAddForm $form): void
2424
{
25-
/** @var FormContainer $dataContainer */
2625
$dataContainer = $form->form->getNodeById('data');
26+
\assert($dataContainer instanceof FormContainer);
2727
$dataContainer->appendChild(
2828
DateFormField::create('birthday')
2929
->label('wcf.person.birthday')

snippets/tutorial/tutorial-series/part-2/files/lib/system/event/listener/BirthdaySortFieldPersonListPageListener.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* Makes people's birthday a valid sort field in the ACP and the front end.
99
*
1010
* @author Matthias Schmidt
11-
* @copyright 2001-2021 WoltLab GmbH
11+
* @copyright 2001-2022 WoltLab GmbH
1212
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1313
* @package WoltLabSuite\Core\System\Event\Listener
1414
*/
15-
class BirthdaySortFieldPersonListPageListener extends AbstractEventListener
15+
final class BirthdaySortFieldPersonListPageListener extends AbstractEventListener
1616
{
1717
/**
1818
* @see SortablePage::validateSortField()

snippets/tutorial/tutorial-series/part-3/files/lib/system/cache/runtime/PersonRuntimeCache.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
* Runtime cache implementation for people.
1010
*
1111
* @author Matthias Schmidt
12-
* @copyright 2001-2021 WoltLab GmbH
12+
* @copyright 2001-2022 WoltLab GmbH
1313
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1414
* @package WoltLabSuite\Core\System\Cache\Runtime
1515
*
1616
* @method Person[] getCachedObjects()
1717
* @method Person getObject($objectID)
1818
* @method Person[] getObjects(array $objectIDs)
1919
*/
20-
class PersonRuntimeCache extends AbstractRuntimeCache
20+
final class PersonRuntimeCache extends AbstractRuntimeCache
2121
{
2222
/**
2323
* @inheritDoc

snippets/tutorial/tutorial-series/part-3/files/lib/system/comment/manager/PersonCommentManager.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* Comment manager implementation for people.
1212
*
1313
* @author Matthias Schmidt
14-
* @copyright 2001-2021 WoltLab GmbH
14+
* @copyright 2001-2022 WoltLab GmbH
1515
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1616
* @package WoltLabSuite\Core\System\Comment\Manager
1717
*/
18-
class PersonCommentManager extends AbstractCommentManager
18+
final class PersonCommentManager extends AbstractCommentManager
1919
{
2020
/**
2121
* @inheritDoc

snippets/tutorial/tutorial-series/part-3/files/lib/system/page/handler/PersonPageHandler.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* Page handler implementation for person page.
1414
*
1515
* @author Matthias Schmidt
16-
* @copyright 2001-2019 WoltLab GmbH
16+
* @copyright 2001-2022 WoltLab GmbH
1717
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1818
* @package WoltLabSuite\Core\System\Page\Handler
1919
*/
20-
class PersonPageHandler extends AbstractLookupPageHandler implements IOnlineLocationPageHandler
20+
final class PersonPageHandler extends AbstractLookupPageHandler implements IOnlineLocationPageHandler
2121
{
2222
use TOnlineLocationPageHandler;
2323

snippets/tutorial/tutorial-series/part-4/files/lib/system/box/PersonListBoxController.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* Dynamic box controller implementation for a list of persons.
1010
*
1111
* @author Matthias Schmidt
12-
* @copyright 2001-2021 WoltLab GmbH
12+
* @copyright 2001-2022 WoltLab GmbH
1313
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1414
* @package WoltLabSuite\Core\System\Box
1515
*/
16-
class PersonListBoxController extends AbstractDatabaseObjectListBoxController
16+
final class PersonListBoxController extends AbstractDatabaseObjectListBoxController
1717
{
1818
/**
1919
* @inheritDoc

snippets/tutorial/tutorial-series/part-4/files/lib/system/cache/runtime/PersonRuntimeCache.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
* Runtime cache implementation for people.
1010
*
1111
* @author Matthias Schmidt
12-
* @copyright 2001-2021 WoltLab GmbH
12+
* @copyright 2001-2022 WoltLab GmbH
1313
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1414
* @package WoltLabSuite\Core\System\Cache\Runtime
1515
*
1616
* @method Person[] getCachedObjects()
1717
* @method Person getObject($objectID)
1818
* @method Person[] getObjects(array $objectIDs)
1919
*/
20-
class PersonRuntimeCache extends AbstractRuntimeCache
20+
final class PersonRuntimeCache extends AbstractRuntimeCache
2121
{
2222
/**
2323
* @inheritDoc

snippets/tutorial/tutorial-series/part-4/files/lib/system/comment/manager/PersonCommentManager.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* Comment manager implementation for people.
1212
*
1313
* @author Matthias Schmidt
14-
* @copyright 2001-2021 WoltLab GmbH
14+
* @copyright 2001-2022 WoltLab GmbH
1515
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1616
* @package WoltLabSuite\Core\System\Comment\Manager
1717
*/
18-
class PersonCommentManager extends AbstractCommentManager
18+
final class PersonCommentManager extends AbstractCommentManager
1919
{
2020
/**
2121
* @inheritDoc

snippets/tutorial/tutorial-series/part-4/files/lib/system/condition/person/PersonFirstNameTextPropertyCondition.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* Condition implementation for the first name of a person.
1010
*
1111
* @author Matthias Schmidt
12-
* @copyright 2001-2021 WoltLab GmbH
12+
* @copyright 2001-2022 WoltLab GmbH
1313
* @license WoltLab License <http://www.woltlab.com/license-agreement.html>
1414
* @package WoltLabSuite\Core\System\Condition
1515
*/
16-
class PersonFirstNameTextPropertyCondition extends AbstractObjectTextPropertyCondition
16+
final class PersonFirstNameTextPropertyCondition extends AbstractObjectTextPropertyCondition
1717
{
1818
/**
1919
* @inheritDoc

snippets/tutorial/tutorial-series/part-4/files/lib/system/condition/person/PersonLastNameTextPropertyCondition.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* Condition implementation for the last name of a person.
1010
*
1111
* @author Matthias Schmidt
12-
* @copyright 2001-2021 WoltLab GmbH
12+
* @copyright 2001-2022 WoltLab GmbH
1313
* @license WoltLab License <http://www.woltlab.com/license-agreement.html>
1414
* @package WoltLabSuite\Core\System\Condition
1515
*/
16-
class PersonLastNameTextPropertyCondition extends AbstractObjectTextPropertyCondition
16+
final class PersonLastNameTextPropertyCondition extends AbstractObjectTextPropertyCondition
1717
{
1818
/**
1919
* @inheritDoc

0 commit comments

Comments
 (0)