mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Code cleanup
This commit is contained in:
@@ -62,7 +62,7 @@ class TriggerFactory
|
||||
$obj->stopProcessing = $trigger->stop_processing;
|
||||
|
||||
Log::debug(sprintf('self::getTriggerClass("%s") = "%s"', $triggerType, $class));
|
||||
Log::debug(sprintf('%s::makeFromTriggerValue(%s) = object of class "%s"', $class, $trigger->trigger_value, get_class($obj)));
|
||||
Log::debug(sprintf('%s::makeFromTriggerValue(%s) = object of class "%s"', $class, $trigger->trigger_value, \get_class($obj)));
|
||||
|
||||
return $obj;
|
||||
}
|
||||
@@ -101,7 +101,7 @@ class TriggerFactory
|
||||
*/
|
||||
protected static function getTriggerTypes(): array
|
||||
{
|
||||
if (0 === count(self::$triggerTypes)) {
|
||||
if (0 === \count(self::$triggerTypes)) {
|
||||
self::$triggerTypes = Domain::getRuleTriggers();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user