Skip to content

Commit

Permalink
clean(ZMSKVR): remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fink authored and Thomas Fink committed Feb 21, 2025
1 parent 2575ed8 commit 16baa64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ private static function processFreeSlots(ProcessList $freeSlots): array
$currentTimestamp = time();
$allTimestamps = [];

// Collect all timestamps
foreach ($freeSlots as $slot) {
if (isset($slot->appointments) && is_iterable($slot->appointments)) {
foreach ($slot->appointments as $appointment) {
Expand All @@ -504,7 +503,6 @@ private static function processFreeSlots(ProcessList $freeSlots): array
}
}

// Final deduplication and sorting
$uniqueTimestamps = array_values(array_unique($allTimestamps));
sort($uniqueTimestamps);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ protected function setUp(): void
$this->service = new AppointmentUpdateService();
$this->reflector = new \ReflectionClass(AppointmentUpdateService::class);

// Store original facade
$facadeReflection = new \ReflectionClass(ZmsApiFacadeService::class);
$staticProperties = $facadeReflection->getStaticProperties();
self::$originalFacade = reset($staticProperties);
Expand All @@ -30,7 +29,6 @@ protected function setUp(): void
protected function tearDown(): void
{
parent::tearDown();
// Restore original facade
$facadeReflection = new \ReflectionClass(ZmsApiFacadeService::class);
$staticProperty = $facadeReflection->getProperties(\ReflectionProperty::IS_STATIC)[0];
$staticProperty->setAccessible(true);
Expand Down

0 comments on commit 16baa64

Please sign in to comment.