Skip to content

Commit

Permalink
typo in error log message
Browse files Browse the repository at this point in the history
  • Loading branch information
akemidx committed Nov 8, 2023
1 parent 2051ac7 commit 4382adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Helpers/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public static function defaultChartColors($index = 0)

if ($index >= $total_colors) {

\Log::error('Status label count is '.$index.' and exceeds the allowed count of 256.');
\Log::error('Status label count is '.$index.' and exceeds the allowed count of 266.');
//patch fix for array key overflow (color count starts at 1, array starts at 0)
$index = $index - $total_colors - 1;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/DefaultColorKeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Tests\Feature;

use Tests\TestCase;
use App\Models\Statuslabel;
use Tests\TestCase;
use App\Models\Asset;

class DefaultColorKeyTest extends TestCase
Expand Down

0 comments on commit 4382adc

Please sign in to comment.