Passed
Pull Request — master (#1122)
by Aleksei
24:08
created
src/Interceptors/src/Context/Target.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,8 @@
 block discarded – undo
127 127
     public static function fromPair(string|object $controller, string $action): self
128 128
     {
129 129
         /** @psalm-suppress ArgumentTypeCoercion */
130
-        if (\is_object($controller) || \method_exists($controller, $action)) {
130
+        if (\is_object($controller) || \method_exists($controller, $action))
131
+        {
131 132
             /** @var T|class-string<T> $controller */
132 133
             return self::fromReflectionMethod(new \ReflectionMethod($controller, $action), $controller);
133 134
         }
Please login to merge, or discard this patch.