From 3b262f44a36c06f38c0e576852403c6eb89a9fae Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 17 Jan 2023 19:15:37 +0100 Subject: [PATCH] Adhere feedback --- composer.json | 2 +- src/Core/Hooks/Capabilities/IAmAStrategy.php | 2 +- src/Core/Hooks/Capabilities/ICanManageInstances.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index aab60ee5c..a86354acd 100644 --- a/composer.json +++ b/composer.json @@ -140,7 +140,7 @@ "extra": { "patches": { "level-2/dice": [ - "mods/patches/level-2-dice-dice-php.patch" + "mods/patches/level-2-dice-dice-php.patch" ] } } diff --git a/src/Core/Hooks/Capabilities/IAmAStrategy.php b/src/Core/Hooks/Capabilities/IAmAStrategy.php index a830d912c..017cb56c4 100644 --- a/src/Core/Hooks/Capabilities/IAmAStrategy.php +++ b/src/Core/Hooks/Capabilities/IAmAStrategy.php @@ -22,7 +22,7 @@ namespace Friendica\Core\Hooks\Capabilities; /** - * All interfaces, marking this interface are valid Strategies for Hook calls + * All classes, implementing this interface are valid Strategies for Hook calls */ interface IAmAStrategy { diff --git a/src/Core/Hooks/Capabilities/ICanManageInstances.php b/src/Core/Hooks/Capabilities/ICanManageInstances.php index d6a7f244c..252f3d03b 100644 --- a/src/Core/Hooks/Capabilities/ICanManageInstances.php +++ b/src/Core/Hooks/Capabilities/ICanManageInstances.php @@ -70,7 +70,7 @@ interface ICanManageInstances * around the instance before returning it * * @param string $class The fully-qualified name of the given class or interface which will get returned - * @param string $name The name of the concrete class, wich + * @param string $name An arbitrary identifier to find a concrete instance strategy. * @param array $arguments Additional arguments, which can be passed to the constructor of "$class" at runtime * * @return object The concrete instance of the type "$class"