Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Dec 23, 2022
1 parent 7a1f56b commit 7417212
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Cmixin/BusinessDay/Calculator/MixinConfigPropagator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Cmixin\BusinessDay\Calculator;

use BadMethodCallException;
use Carbon\CarbonInterface;
use Cmixin\BusinessDay\BusinessCalendar;
use DateTime;
Expand Down Expand Up @@ -85,7 +84,7 @@ private static function setStrategy(string $strategy, BusinessCalendar $mixin, $

private static function getStrategy(string $strategy, BusinessCalendar $mixin, $date): ?callable
{
if ($date instanceof CarbonInterface && ($callback = $date->getLocalMacro('__bd_strategy_' . $strategy))) {
if ($date instanceof CarbonInterface && ($callback = $date->getLocalMacro('__bd_strategy_'.$strategy))) {
return $callback;
}

Expand Down

0 comments on commit 7417212

Please sign in to comment.