Skip to content

Commit

Permalink
Merge branch 'main' of github.com:umituz/laravel-testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
umituz committed Jan 24, 2024
2 parents 0b07b9c + 85e4075 commit 63e7225
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/app/Services/Base/SchedulerService.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace App\Services\Base;

use App\Enums\SchedulerEnum;
Expand All @@ -21,7 +20,7 @@ public function calculateWeeklyPlan($developers, $tasks): array
foreach ($tasks as $task) {
$developer = $developers->where('id', $task->developer_id)->first();

if (!$developer || $task->hour <= 0) {
if (! $developer || $task->hour <= 0) {
continue;
}

Expand Down

0 comments on commit 63e7225

Please sign in to comment.