flagception-bundle icon indicating copy to clipboard operation
flagception-bundle copied to clipboard

fix: TraceableChainActivator type exception without Debugmode

Open AlfoMart opened this issue 3 years ago • 1 comments

With update the default class for flagception.activator.chain_activator was set to Flagception\Activator\ChainActivator but within src/Profiler/FeatureDataCollector.php type was still only accepting TraceableChainActivator

AlfoMart avatar May 24 '22 09:05 AlfoMart

@wopoczynski @carlosjfernandes what happens if the collect method of the FeatureDataCollector ist called? The getTrace method does not exist. So this won't work. The collect method would have to check on !instance of TraceableChainActivator and then just return. Or am i wrong?

floplus avatar Jul 11 '23 07:07 floplus