Fix code style

This commit is contained in:
Art4 2025-01-02 08:18:47 +00:00
parent a01217ef79
commit a6a0af0670
7 changed files with 30 additions and 32 deletions

View file

@ -14,5 +14,4 @@ namespace Friendica\Addon\Event;
*/ */
final class AddonInstallEvent final class AddonInstallEvent
{ {
} }

View file

@ -14,5 +14,4 @@ namespace Friendica\Addon\Event;
*/ */
final class AddonUninstallEvent final class AddonUninstallEvent
{ {
} }

View file

@ -102,7 +102,7 @@ class HookEventBridgeTest extends TestCase
$reflectionProperty = new \ReflectionProperty(HookEventBridge::class, 'mockedCallHook'); $reflectionProperty = new \ReflectionProperty(HookEventBridge::class, 'mockedCallHook');
$reflectionProperty->setAccessible(true); $reflectionProperty->setAccessible(true);
$reflectionProperty->setValue(null, function (string $name, $data) use($expected) { $reflectionProperty->setValue(null, function (string $name, $data) use ($expected) {
$this->assertSame($expected, $name); $this->assertSame($expected, $name);
$this->assertSame('original', $data); $this->assertSame('original', $data);