Passed
Branch master (8a9e4c)
by Stf
10:51
created
Category
src/Kernel/Traits/Registerable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     public function register_hook($hook, $type, $callback) {
10 10
         $reflectedConcern = new \ReflectionClass($callback);
11 11
 
12
-        if($reflectedConcern->implementsInterface(Fluent::class)) {
12
+        if ($reflectedConcern->implementsInterface(Fluent::class)) {
13 13
             $fluentReflection = new ReflectionClass(Fluent::class);
14 14
             ("add_$type")($hook, array($callback, reset($fluentReflection->getMethods())->name));
15 15
         }
Please login to merge, or discard this patch.