]> git.mxchange.org Git - friendica.git/commitdiff
Adhere feedback
authorPhilipp <admin@philipp.info>
Tue, 17 Jan 2023 18:15:37 +0000 (19:15 +0100)
committerPhilipp <admin@philipp.info>
Tue, 17 Jan 2023 18:15:37 +0000 (19:15 +0100)
composer.json
src/Core/Hooks/Capabilities/IAmAStrategy.php
src/Core/Hooks/Capabilities/ICanManageInstances.php

index aab60ee5c608d6e0cc79662863c752b816bd5543..a86354acd9b2371f87486c83dd9774332feadec1 100644 (file)
        "extra": {
                "patches": {
                        "level-2/dice": [
-                         "mods/patches/level-2-dice-dice-php.patch"
+                               "mods/patches/level-2-dice-dice-php.patch"
                        ]
                }
        }
index a830d912c0fd0beb9cb8938ed4450304d09cf8bb..017cb56c4e62a078daf7ab96a4b71d5f15f73950 100644 (file)
@@ -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
 {
index d6a7f244c76d74e5ad76b8af4fe3fdcda14336cb..252f3d03bd64411f21afa3ba6b7a47675cf26b16 100644 (file)
@@ -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"